/* Coordinate tools are contextual overlays; the plot and shared records keep their space. */
.graph-point-tools { display:none; }
#point-options-toggle { flex-direction:column; gap:0; }
.coordinate-button-label { display:block; font-size:9px; line-height:10px; font-weight:400; }
#reading-card-v { order:-1; }
.graph-footer { height:28px; min-height:28px; max-height:28px; flex-shrink:0; align-items:center; }
#graph-note { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#graph-coordinate { flex-shrink:0; min-width:14ch; text-align:right; font:11px Consolas,monospace; }
.circuit-focus .view-controls { left:auto; right:6px; top:50%; bottom:auto; transform:translateY(-50%); flex-direction:column; z-index:5; }
.circuit-focus #zoom-fit { width:44px; max-width:44px; padding:3px; white-space:normal; line-height:14px; }
body[data-workspace=graph] .graph-point-tools { display:flex; }
.plot-container[data-tool=point], #graph-svg[data-graph-tool=point] { cursor:crosshair; }
.graph-stage,.graph-view { position:relative; }
.point-editor { position:absolute; z-index:45; top:56px; right:10px; width:min(330px,calc(100% - 20px)); margin:0; padding:10px 12px; border:1px solid #dce3ef; border-radius:8px; background:#fff; box-shadow:0 7px 24px #192b4824; color:#192b48; }
.point-editor-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; font-size:14px; }
.point-editor-heading .icon-button { min-width:44px; min-height:44px; }
.point-coordinate-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.point-coordinate-fields label { display:flex; flex-direction:column; gap:4px; min-width:0; font-size:12px; color:#68778f; }
.point-coordinate-fields input { width:100%; min-width:0; min-height:44px; padding:7px 9px; font:14px Consolas,monospace; }
.point-editor-actions { display:flex; align-items:center; gap:5px; margin-top:9px; }
.point-editor-actions button { min-height:44px; flex:1; padding:7px 8px; font-size:12px; white-space:nowrap; }
.point-editor-actions .danger-text { color:#b33f3f; }
.point-editor p { margin:6px 0 0; color:#68778f; font-size:11px; line-height:1.5; }
[data-manual-point] { cursor:move; }
@media(max-width:1050px) { .graph-point-tools .tool-button { min-width:44px; } .graph-point-tools .tool-button span { display:none; } }
@media(max-width:700px) {
  body[data-workspace=graph] .workbench-toolbar { gap:0; padding-left:4px; padding-right:4px; }
  body[data-workspace=graph] .tool-cluster { gap:0; padding-right:2px; border-right:0; }
  body[data-workspace=graph] .tool-button { min-width:44px; width:44px; padding:6px; }
  body[data-workspace=graph] .toolbar-view { margin-left:auto; }
  body[data-view=graph] .view-toolbar { display:grid; grid-template-columns:1fr auto auto; grid-template-rows:44px 44px; height:88px; min-height:88px; max-height:88px; gap:0; padding:0 4px; }
  body[data-view=graph] .view-tabs { grid-column:1; grid-row:1; justify-self:start; }
  body[data-view=graph] .history-tools { display:flex; grid-column:2; grid-row:1; }
  body[data-view=graph] .more-tools { grid-column:3; grid-row:1; }
  body[data-view=graph] #graph-tools { display:flex; grid-column:1 / -1; grid-row:2; gap:2px; justify-content:flex-start; }
  body[data-view=graph] #graph-tools .icon-button { width:44px; min-width:44px; min-height:44px; padding:6px; }
  .point-editor { top:48px; right:4px; width:calc(100% - 8px); max-width:340px; padding:4px 10px 8px; }
}
