#cones-app .eg-drawings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}
#cones-app .eg-drawings figure{margin:0;border:1px solid #bdcbd0;background:#fff;min-width:0;padding:8px 12px}
#cones-app .eg-drawings .eg-main{grid-column:1/-1}
#cones-app .eg-drawings figcaption{font-size:15px;font-weight:700;padding:8px 0;color:#203a4b}
#cones-app .eg-drawings svg{width:100%;height:auto;max-height:none;background:#fff}
#cones-app .eg-drawings .eg-main svg{max-height:500px}
#cones-app .eg-drawings svg text{font-family:Arial,sans-serif;fill:#152b38;stroke:none}
#cones-app .eg-label{font-size:21px}#cones-app .eg-small{font-size:17px}
#cones-app .eg-outline,#cones-app .eg-edge{fill:none;stroke:#203948;stroke-width:2.2}
#cones-app .eg-section{fill:#edf3f0;stroke:#203948;stroke-width:2.2}
#cones-app .eg-dimension,#cones-app .eg-extension{fill:none;stroke:#526b79;stroke-width:1}
#cones-app .eg-angle{fill:none;stroke:#294d67;stroke-width:1.3}
#cones-app .eg-centre{fill:none;stroke:#577c90;stroke-width:1;stroke-dasharray:18 4 3 4}
#cones-app .eg-hidden{fill:none;stroke:#6c7d85;stroke-width:1.1;stroke-dasharray:8 5}
#cones-app .eg-construction{fill:none;stroke:#77848a;stroke-width:1;stroke-dasharray:5 4}
#cones-app .eg-solid-top{fill:#f4f7f5;stroke:#203948;stroke-width:1.7}
#cones-app .eg-solid-side{fill:#e1e8e7;stroke:#203948;stroke-width:1.7}
#cones-app .eg-front{fill:#edf3f0;stroke:#203948;stroke-width:2}
#cones-app .eg-base{fill:#f1f4f3;stroke:#71828a;stroke-width:1.3}
#cones-app .eg-plane{fill:#eaf2f7;fill-opacity:.55;stroke:#577c90;stroke-dasharray:18 4 3 4;stroke-width:1}
#cones-app .eg-plane-upper{fill:#e4efea;fill-opacity:.65;stroke:#35596a;stroke-width:1.7}
#cones-app .eg-plane-lower{fill:#edf3f7;fill-opacity:.65;stroke:#35596a;stroke-width:1.7}
@media(max-width:1100px){#cones-app .eg-drawings{grid-template-columns:1fr}}
@media(max-width:560px){#cones-app .eg-drawings figure{padding:6px}#cones-app .eg-label{font-size:23px}#cones-app .eg-small{font-size:19px}}

@media(max-width:560px){#cones-app .eg-drawings figure{overflow-x:auto}#cones-app .eg-drawings svg{min-width:480px}}

/* One drawing uses the entire result panel; paired diagrams retain their grid. */
#cones-app .eg-drawings>figure:only-child{grid-column:1/-1}

/* R28: full orthographic sheet keeps readable dimension labels. */
#cones-app figure.wedge-drawing .dv-stage{aspect-ratio:1040/760;min-height:480px;max-height:850px}
