.geometry-controls label{margin:18px 0 8px;font-weight:600;display:block}.geometry-controls>label:first-child{margin-top:0}.geometry-controls input,.geometry-controls select{border:1px solid var(--border);background:var(--surface-soft);width:100%;min-width:0;min-height:48px;color:var(--text);font:inherit;border-radius:10px;padding:12px}.geometry-controls input:focus-visible,.geometry-controls select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.geometry-controls .geometry-unit-label{color:var(--muted);font-weight:400}.geometry-workspace summary{cursor:pointer;padding:10px 0;font-weight:600;line-height:1.7}.geometry-help,.geometry-details p{color:var(--text);font-size:16px;line-height:1.75}.geometry-results h2{font-size:1.15rem}.geometry-primary{background:var(--surface-soft);border-radius:16px;gap:8px;margin-top:12px;padding:16px 18px;display:grid}.geometry-primary output{color:var(--blue);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:clamp(1.7rem,3vw,2.3rem);font-weight:700;line-height:1.3}.geometry-result-topline{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.geometry-result-topline>span{color:var(--text);font-size:16px;font-weight:600}.geometry-copy{align-items:center;gap:8px;min-height:44px;padding:10px 12px;font-size:15px;display:inline-flex}.geometry-copy .icon{width:18px;height:18px}.geometry-metrics{flex-wrap:wrap;gap:18px 28px;margin-top:16px;display:flex}.geometry-metrics dt{color:var(--text);font-size:16px}.geometry-metrics dd{overflow-wrap:anywhere;margin:5px 0 0;font-size:17px;font-weight:650}.geometry-formulas{gap:12px;margin:16px 0;font-size:21px;line-height:1.65;display:grid;overflow-x:auto}.geometry-formulas math{white-space:nowrap;padding-block:6px}.geometry-details{border:1px solid var(--border);border-radius:14px;margin-top:14px;padding:4px 24px}.geometry-details p{max-width:85ch;margin:12px 0}.geometry-learning{background:var(--surface-soft);border:1px solid var(--border);border-radius:16px;grid-column:1;align-self:start;margin:0 24px 24px;padding:18px}.geometry-learning h2{margin:0 0 10px;font-size:18px;line-height:1.5}.geometry-learning p{margin:8px 0;font-size:16px;line-height:1.75}.geometry-education .editorial-content{border-top:1px solid var(--border);margin-top:36px;padding-top:30px}.geometry-education .editorial-content,.geometry-education .editorial-article{width:100%;max-width:none}.geometry-education .editorial-section>p{max-width:86ch}.geometry-education .editorial-section{margin-bottom:30px}.geometry-education .editorial-section:last-child{margin-bottom:0}.geometry-education .editorial-example{padding:20px}.geometry-education .editorial-example-emphasis dl{grid-template-columns:1fr 1fr;align-items:start;gap:8px 24px}.geometry-education .editorial-example-emphasis dt:first-of-type{grid-area:1/1}.geometry-education .editorial-example-emphasis dd:first-of-type{grid-area:2/1}.geometry-education .editorial-example-emphasis dt:last-of-type{color:var(--text);grid-area:1/2;font-size:16px;font-weight:650}.geometry-education .editorial-example-emphasis dd:last-of-type{border:1px solid var(--blue);background:var(--surface-soft);border-radius:14px;grid-area:2/2;padding:12px}.geometry-education .editorial-example-emphasis dd:last-of-type math{color:var(--blue);font-size:34px;font-weight:700}.geometry-education .editorial-example-actions{flex-wrap:wrap;gap:12px;margin-top:20px;display:flex}.geometry-education .editorial-example-actions button{white-space:normal;justify-content:center;align-items:center;gap:10px;min-height:48px;font-size:16px;display:inline-flex}.geometry-education .editorial-example-actions .icon{flex-shrink:0;width:18px;height:18px}.geometry-education .editorial-worked-steps math{max-width:100%;overflow-x:auto}.geometry-education .editorial-formula-grid{margin-block:18px}.geometry-education .editorial-diagram{margin-bottom:18px}.tool-page[data-geometry-page] .tool-card p{color:var(--text);font-size:16px;line-height:1.75}.tool-page[data-geometry-page] .tool-card-title{font-size:18px}.tool-page[data-geometry-page] .tool-page-heading p{font-size:16px}@media (width>=1024px){.geometry-education .editorial-with-navigation{grid-template-columns:minmax(0,1fr) 230px;column-gap:clamp(24px,3vw,48px)}}@media (width<=640px){.geometry-education .editorial-example-emphasis dl{grid-template-columns:minmax(0,1fr)}.geometry-education .editorial-example-emphasis dt:first-of-type,.geometry-education .editorial-example-emphasis dd:first-of-type,.geometry-education .editorial-example-emphasis dt:last-of-type,.geometry-education .editorial-example-emphasis dd:last-of-type{grid-area:auto/1}.geometry-education .editorial-example-actions button{width:100%}}@media (width<=760px){.geometry-learning{margin:0 20px 20px;padding:16px}.geometry-details{padding:4px 20px}.geometry-education .editorial-content{margin-top:28px;padding-top:24px}}.geometry-batch{min-width:0;margin-block:24px 48px}.geometry-batch [hidden]{display:none!important}.geometry-layout{border:1px solid var(--border);background:var(--surface);border-radius:20px;grid-template-rows:min-content 1fr;grid-template-columns:minmax(300px,380px) minmax(0,1fr);display:grid;overflow:hidden}.geometry-input-panel,.geometry-result-panel{min-width:0;padding:24px}.geometry-result-panel{border-inline-start:1px solid var(--border);grid-area:1/2/span 2}.geometry-controls>select{margin-bottom:18px}.geometry-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.geometry-fields>div{flex-direction:column;display:flex}.geometry-fields>div>label{margin-top:0}.geometry-fields>div>input{margin-top:auto}.geometry-fields[data-geometry-count="1"]>div:not([hidden]),.geometry-fields>div:first-child:last-child{grid-column:1/-1}.geometry-units{margin-top:22px}.geometry-actions{flex-wrap:wrap;gap:12px;margin-block:20px 16px;display:flex}.geometry-error{border-inline-start:3px solid var(--text);margin-top:16px;padding-inline-start:12px}.geometry-figure{margin:12px 0 0}.geometry-figure svg{width:100%;height:auto;max-height:460px;display:block;overflow:hidden}.geometry-figure text{fill:var(--text);font-size:14px}.geometry-figure figcaption{text-align:start;margin-top:8px}#geometry-drag-help span{display:block}#geometry-drag-help span+span{margin-top:4px}.geometry-shape{fill:var(--surface-soft);stroke:var(--blue);stroke-width:2px}.geometry-line{fill:none;stroke:var(--blue);stroke-width:2px}.geometry-dashed{stroke-dasharray:6 5}.geometry-highlight{fill:var(--blue);fill-opacity:.13;stroke:var(--blue);stroke-width:1.5px}.geometry-handle{touch-action:none;cursor:ew-resize;outline:none}.geometry-handle[data-geometry-handle=height],.geometry-handle[data-geometry-handle=diagonal2]{cursor:ns-resize}.geometry-hit{fill:#0000;pointer-events:all}.geometry-knob{fill:var(--blue);stroke:var(--surface);stroke-width:2px;pointer-events:none}.geometry-handle:focus-visible .geometry-knob,.geometry-handle:hover .geometry-knob{stroke:var(--text);stroke-width:3px}.geometry-view{cursor:pointer;align-items:start;gap:12px;margin-top:12px;font-size:16px;line-height:1.65;display:flex}.geometry-view input{width:20px;height:20px;accent-color:var(--blue);flex-shrink:0;margin-top:3px}.geometry-live-formula{border-top:1px solid var(--border);text-align:center;margin:16px 0 0;padding-top:12px;overflow-y:hidden}.geometry-live-formula math+math{margin-top:14px}.geometry-live-formula math{max-width:100%;margin-inline:auto}.geometry-batch button:focus-visible,.geometry-live-formula:focus-visible,.geometry-view input:focus-visible{outline:2px solid var(--blue);outline-offset:2px}@media (width<=760px){.geometry-layout{grid-template-rows:none;grid-template-columns:minmax(0,1fr)}.geometry-input-panel,.geometry-result-panel{padding:20px}.geometry-input-panel{border-bottom:1px solid var(--border)}.geometry-result-panel{border-inline-start:0;grid-area:auto}.geometry-actions>*{flex:140px;font-size:16px}.geometry-figure text{font-size:21px}.geometry-hit{r:32px}.geometry-figure svg{max-height:340px}.geometry-fields{gap:12px}}.geometry-presets{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.geometry-presets .secondary-button{min-width:44px;min-height:44px;padding-inline:12px}.geometry-presets [aria-pressed=true]{border-color:var(--blue);color:var(--blue);background:var(--surface-soft)}.geometry-axis{stroke:var(--border);stroke-width:2px}.geometry-handle[data-slope-handle]{cursor:ns-resize}.geometry-section-slider{margin-block:16px 8px}.geometry-section-slider input[type=range]{accent-color:var(--blue);padding:0}.geometry-section-slider label span{color:var(--muted);font-weight:400}
