@import url('./math_to_atoms_model_v044.css');

/* Node descriptions belong to the graph, never over another section. */
#graph-details>#quick-editor{
  position:static;inset:auto;z-index:auto;width:100%;max-width:none;
  max-height:none;margin:8px 0 24px;box-shadow:none;scroll-margin-top:18px;
  display:block;border-color:#47627c;background:#111b29;
}
#graph-details>#quick-editor[hidden]{display:none}
#quick-editor .quick-editor-heading{padding:16px 20px;gap:20px}
#quick-editor .quick-editor-heading h2{font-size:28px;line-height:1.15;margin-top:4px}
#quick-editor .quick-editor-heading>div{min-width:0}
#quick-editor .quick-editor-heading>button{flex-shrink:0}
#quick-editor .quick-editor-body{
  overflow:visible;padding:20px;display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.1fr);
  align-items:start;gap:18px 28px;
}
#quick-editor .quick-editor-body>*{min-width:0;margin-top:0}
#quick-editor .node-intro{max-width:none}
#quick-editor .node-meaning{font-size:15px;margin-bottom:12px}
#quick-editor .node-example{margin:12px 0;padding:10px 12px}
#quick-editor .node-applications{margin:0}
#quick-editor .node-applications>h3{margin-top:0}
#quick-editor .node-current-result,#quick-editor .payoff-readout{margin:0}
#quick-editor .payoff-readout{border-top:0;padding-top:0}
#quick-editor .node-application{padding:9px 0}
#quick-editor .node-technical,#quick-editor .node-editing{grid-column:1/-1;margin:0}
#quick-editor .node-editing .quick-score-inputs{max-width:650px}
#quick-editor .quick-editor-footer{padding:12px 20px;align-items:center}
#quick-editor .quick-editor-footer>span{width:auto;margin-left:auto}
@media(max-width:1000px){
  #quick-editor .quick-editor-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
  #quick-editor .node-applications{grid-column:1/-1}
}
@media(max-width:600px){
  #quick-editor .quick-editor-body{display:block;padding:14px}
  #quick-editor .quick-editor-body>*+*{margin-top:18px}
  #quick-editor .quick-editor-heading{padding:14px}
  #quick-editor .quick-editor-heading h2{font-size:24px}
  #quick-editor .quick-editor-footer{padding:12px 14px}
  #quick-editor .quick-editor-footer>span{width:100%;margin-left:0}
}
