#selector-photometry-graph {
  margin: 1.5rem 0 2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #dce5eb;
  border-radius: 14px;
  background: #fff;
  color: #20313c;
}
#selector-photometry-graph h2 { font-size: clamp(18px, 2vw, 22px); }
#selector-graph-status { margin: .5rem 0 0; }
#selector-photometry-graph figure { margin: 1rem 0 0; }
#selector-photometry-graph svg { display: block; width: 100%; height: 266px; fill: currentColor; font-size: 12px; }
#selector-photometry-graph figcaption { margin-top: .5rem; font-size: 14px; line-height: 1.5; }
.selector-graph-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .75rem;
  margin: 1rem 0 0;
  padding-left: 0;
  list-style: none;
}
.selector-graph-values li { border-left: 3px solid var(--series); background: #f3f7fa; padding: 10px 12px; min-width: 0; overflow-wrap: anywhere; font-size: 16px; line-height: 1.5; }
.selector-graph-values strong, .selector-graph-values span { display: block; }
.selector-graph-series-0 { --series: #00698b; }
.selector-graph-series-1 { --series: #9b376d; }
.selector-graph-series-2 { --series: #526620; }
#selector-photometry-graph .graph-grid { stroke: #d5e0e7; }
#selector-photometry-graph .graph-axis { stroke: #71838e; }
#selector-photometry-graph polyline { fill: none; stroke: var(--series); stroke-width: 2.5; stroke-dasharray: 5 4; }
#selector-photometry-graph .graph-point { fill: var(--series); stroke: white; stroke-width: 1; }
#selector-photometry-graph .graph-marker { fill: white; font-size: 10px; font-weight: 700; }

#selector-photometry-graph [hidden] { display: none; }

#selector-show-results { margin-top: 16px; padding: 8px 14px; min-height: 44px; }
#selector-results-title, #selector-graph-title { scroll-margin-top: 20px; }
.selector-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.selector-results-head .selector-note { margin-bottom: 0; }
.selector-shell .selector-graph-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--selector-blue);
  border-radius: 4px;
  color: var(--selector-ink);
  font: 650 14px/1.3 "Montserrat", sans-serif;
  text-decoration: none;
}
.selector-shell .selector-graph-link:is(:hover, :focus-visible) { background: #e3f5fb; }
#selector-dialog-graph-link {
  align-self: flex-start;
  flex-shrink: 0;
  margin-top: 6px;
}

#selector-photometry-graph .graph-target-line {
  stroke: #343435;
  stroke-width: 2;
  stroke-dasharray: 0.1 4;
  stroke-linecap: round;
}
.selector-graph-target {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .5rem;
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.selector-graph-target::before {
  content: "";
  flex: 0 0 1.5rem;
  border-top: 2px dotted #343435;
}
