/* Single-point ED panel; reuse the note's theme and typography. */
#single-point-energy { scroll-margin-top: 20px; }
.ed-panel { border: 1px solid var(--rule); background: var(--panel); padding: 24px; border-radius: 4px; }
.ed-inputs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.ed-inputs label { display: grid; gap: 5px; color: var(--ink-2); font-size: 13px; }
.ed-inputs input { width: 100%; min-width: 0; padding: 9px; border: 1px solid var(--rule); border-radius: 3px; background: var(--ground); color: var(--ink); font: 14px var(--mono); }
.ed-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ed-actions button { padding: 10px 16px; border: 1px solid var(--rule); border-radius: 3px; background: var(--ground); color: var(--ink); font: inherit; cursor: pointer; }
.ed-actions #ed-evaluate { background: var(--up); color: white; border-color: var(--up); }
.ed-actions button:disabled { opacity: .5; cursor: default; }
.ed-status { color: var(--ink-2); font-size: 13px; max-width: none; }
.ed-status[data-state="error"], .ed-small.ed-stale { color: var(--warn); }
.ed-small { font-size: 12px; color: var(--ink-2); max-width: none; }
.ed-code { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.6 var(--mono); background: var(--ground); padding: 14px; max-height: 360px; overflow: auto; }
.ed-tables { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin: 22px 0; }
.ed-tables > div { min-width: 0; }
.ed-table-wrap { overflow-x: auto; }
.ed-table { border-collapse: collapse; width: 100%; min-width: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.ed-table th, .ed-table td { text-align: right; padding: 8px; border-bottom: 1px solid var(--rule-2); white-space: nowrap; }
.ed-table th:first-child, .ed-table td:first-child { text-align: left; }
.ed-table th { color: var(--ink-2); font-weight: 500; }
.ed-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 15px; }
.ed-gallery figure { margin: 0; min-width: 0; }
.ed-gallery img { display: block; width: 100%; border-radius: 3px; background: white; }
.ed-gallery figcaption { font-size: 12px; color: var(--ink-2); padding-top: 7px; }
#ed-result details { margin: 18px 0; border-top: 1px solid var(--rule); padding-top: 15px; }
#ed-result summary { cursor: pointer; color: var(--ink-2); }
#ed-result .readouts { margin-top: 20px; }
#ed-result .ro dd { font-size: 16px; }
#ed-result .ro dt { font-size: 11px; }
#ed-result .ro { margin: 0; }
#ed-result .ro dt, #ed-result .ed-table th { text-transform: none; }
@media (max-width: 700px) { .ed-tables, .ed-gallery { grid-template-columns: 1fr; } .ed-inputs { grid-template-columns: 1fr 1fr; } .ed-panel { padding: 16px; } }
