.norm-geometry { margin: 18px 0; padding: 16px; border: 1px solid #d5dce5; border-radius: 7px; color: #18212f; background: #fff; }
#normGeometryLab, #normGeometryDetails { scroll-margin-top: 120px; }
.norm-geometry *, .norm-geometry *::before, .norm-geometry *::after { box-sizing: border-box; }
.norm-geometry h4 { font-size: .95rem; margin: 0 0 8px; line-height: 1.4; }
#normGeometryLab p { font-size: .85rem; line-height: 1.5; margin: 8px 0; }
.norm-geometry .ng-modes, .norm-geometry .ng-actions { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.norm-geometry button { font: inherit; font-size: .85rem; min-height: 40px; padding: 8px 10px; color: #18212f; background: #fff; border: 1px solid #b4becd; border-radius: 5px; cursor: pointer; }
.norm-geometry button[aria-pressed="true"] { border-color: #7862b2; background: #f1edf8; box-shadow: inset 0 -2px #7862b2; }
.norm-geometry :focus-visible { outline: 3px solid #28699c; outline-offset: 3px; }
.norm-geometry figure { margin: 12px 0; }
.norm-geometry svg { display: block; width: 100%; overflow: visible; }
.norm-geometry svg text { font-family: inherit; font-size: 13px; fill: #18212f; }
.norm-geometry figcaption, #normGeometryLab .ng-scope { font-size: .76rem; line-height: 1.5; color: #5d6877; }
.norm-geometry .ng-slider-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; font-size: .85rem; font-weight: 650; }
.norm-geometry .ng-zoom { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: .85rem; cursor: pointer; }
.norm-geometry .ng-zoom input { width: 17px; height: 17px; accent-color: #7862b2; }
.norm-geometry [hidden] { display: none !important; }
.norm-geometry output { font: inherit; font-weight: 400; }
.norm-geometry input[type="range"] { display: block; width: 100%; height: 35px; margin: 3px 0; accent-color: #7862b2; cursor: pointer; }
.norm-geometry .ng-metrics { display: grid; grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, .7fr)); gap: 5px 9px; font-size: .85rem; font-variant-numeric: tabular-nums; margin: 12px 0; }
.norm-geometry .ng-metrics span:nth-child(3n + 2), .norm-geometry .ng-metrics span:nth-child(3n + 3) { text-align: right; }
.norm-geometry .ng-metrics .ng-column { font-size: .76rem; font-weight: 650; }
.norm-geometry .ng-result { border-left: 3px solid #7862b2; padding: 7px 10px; background: #f7f5fa; min-height: 4.5em; }
.norm-geometry .ng-math { margin-top: 12px; font-size: .76rem; }
.norm-geometry .ng-math summary { font-size: .76rem; cursor: pointer; }
#normGeometryLab .ng-math p { font-size: .76rem; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .norm-geometry { padding: 12px 9px; }
  .norm-geometry .ng-modes button { flex: 1; }
}
