[data-triangle-height-draw] {color:#172d48;}
[data-triangle-height-draw] .th-tools {display:flex;align-items:center;flex-wrap:wrap;gap:.35rem;margin:.25rem 0 .42rem;}
[data-triangle-height-draw] .th-tools button,#mis-studio [data-triangle-height-draw] .th-tools button {padding:.36rem .62rem;line-height:1.12;margin:0;}
#mis-studio [data-triangle-height-draw] .th-tools button[aria-pressed=true],[data-triangle-height-draw] .th-tools button[aria-pressed=true] {outline:2px solid #2a589d;outline-offset:-2px;background:#e3eeff;color:#174783;border-color:#779fd8;}
[data-triangle-height-draw] [data-tri-scroll] {width:100%;max-width:615px;border:1px solid #b8cce6;border-radius:13px;overflow:hidden;background:#f6faff;}
[data-triangle-height-draw] [data-tri-canvas],#mis-studio [data-triangle-height-draw] [data-tri-canvas] {width:100%;min-width:0;max-width:100%;height:auto;display:block;touch-action:none;user-select:none;}
[data-triangle-height-draw] [data-tri-canvas] [role=button] {touch-action:none;cursor:pointer;}
[data-triangle-height-draw] .th-grid-dot {fill:#acbed5;}
[data-triangle-height-draw] .th-triangle {fill:#dfedff;fill-opacity:.66;pointer-events:none;}
[data-triangle-height-draw] .th-edge {stroke:#305f99;stroke-width:5;pointer-events:none;}
[data-triangle-height-draw] .th-edge-active {stroke:#ad561b;stroke-width:7;}
[data-triangle-height-draw] .th-edge-target {stroke:transparent;stroke-width:25;pointer-events:none;}
[data-triangle-height-draw] [data-tri-base-line] {pointer-events:stroke;}
[data-triangle-height-draw] .th-edge-target:focus-visible {stroke:#e3b770;stroke-opacity:.55;outline:none;}
[data-triangle-height-draw] .th-extension {stroke:#728bad;stroke-width:3;stroke-dasharray:7 7;pointer-events:none;}
[data-triangle-height-draw] :is(.th-student-line,.th-preview) {stroke:#a3224d;stroke-width:6;pointer-events:none;}
[data-triangle-height-draw] .th-preview {stroke-dasharray:8 6;}
[data-triangle-height-draw] :is(.th-exact-line,.th-right) {fill:none;stroke:#146c58;stroke-width:5;pointer-events:none;}
[data-triangle-height-draw] .th-exact-line {stroke-dasharray:6 8;}
[data-triangle-height-draw] :is(.th-hit,.th-foot-target,.th-rotor-target) {fill:transparent;pointer-events:none;}
[data-triangle-height-draw] :is([data-tri-vertex] .th-hit:not([pointer-events="none"]),[data-tri-foot],[data-tri-rotate]) {pointer-events:all;cursor:grab;}
[data-triangle-height-draw] [data-tri-vertex] .th-hit {r:29px;}
[data-triangle-height-draw][data-tri-tool="height"] [data-tri-vertex]:not([data-tri-altitude-origin]) .th-hit {pointer-events:none!important;}
[data-triangle-height-draw] .th-foot-dot {fill:#a3224d;stroke:#fff;stroke-width:2;pointer-events:none;}
[data-triangle-height-draw] .th-vertex-dot {fill:#2a5b9a;stroke:#fff;stroke-width:2;pointer-events:none;}
[data-triangle-height-draw] .th-rotor-dot {fill:#b06520;stroke:#fff;stroke-width:2;pointer-events:none;}
[data-triangle-height-draw] .th-letter {font:bold 22px system-ui,sans-serif;fill:#fff;pointer-events:none;}
[data-triangle-height-draw] :is([data-tri-vertex]:focus-visible,[data-tri-vertex][aria-pressed=true]) .th-vertex-dot {stroke:#f4b74f;stroke-width:5;}
[data-triangle-height-draw] :is([data-tri-grid],[data-tri-foot],[data-tri-rotate]):focus-visible {outline:4px solid #b76b1e;outline-offset:-2px;}
[data-triangle-height-draw] .th-instruction {font-size:.87rem;color:#3e5471;margin:.35rem 0;}
[data-triangle-height-draw] .th-bases span {font-size:.84rem;font-weight:750;padding-inline-end:.15rem;}
[data-triangle-height-draw] [data-tri-status] {padding:.55rem .63rem;border-radius:9px;background:#edf4ff;border-inline-start:4px solid #456fab;margin:.42rem 0;}
[data-triangle-height-draw] [data-tri-status] p {margin:.1rem 0;}
[data-triangle-height-draw] [data-tri-area-relation] {font-weight:800;font-variant-numeric:tabular-nums;}
[data-triangle-height-draw] .th-help {margin-block-start:.35rem;}
@media(max-width:530px){
 #mis-studio [data-triangle-height-draw] .th-tools button {min-height:42px!important;padding-inline:.5rem;font-size:.85rem;}
 [data-triangle-height-draw] .th-instruction {font-size:.82rem;}
}
