#cones-app .dv-viewer{min-width:0}
#cones-app .dv-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 0}
#cones-app .dv-toolbar button{font:inherit;font-size:13px;line-height:1.2;min-height:34px;padding:6px 10px;border:1px solid #9cb2bd;border-radius:4px;background:#edf4f7;color:#17384b;cursor:pointer}
#cones-app .dv-toolbar button:hover{background:#d6e8ef;border-color:#3a6e87}
#cones-app .dv-toolbar button:focus-visible,#cones-app .dv-stage:focus-visible{outline:3px solid #1687bd;outline-offset:2px}
#cones-app .dv-toolbar button:disabled{opacity:.4;cursor:default}
#cones-app .dv-toolbar button[hidden]{display:none}
#cones-app .dv-toolbar output{min-width:44px;text-align:center;font-size:12px;color:#365362;font-variant-numeric:tabular-nums}
#cones-app .dv-stage{position:relative;min-width:0;height:340px;overflow:hidden;background:#fff;cursor:grab;touch-action:none;user-select:none;border:1px solid #e2e9ed}
#cones-app .eg-main .dv-stage{height:430px}
#cones-app .dv-stage.is-dragging{cursor:grabbing}
#cones-app .eg-drawings .dv-stage svg{display:block;width:100%;height:100%;min-width:0;max-height:none;overflow:hidden}
#cones-app .dv-hint{font-size:11px;line-height:1.5;color:#516e7d;margin:6px 0}
#cones-app .eg-drawings .dv-expanded{grid-column:1/-1}
#cones-app .eg-drawings .dv-expanded .dv-stage{height:min(70vh,760px);min-height:350px}
@media(max-width:560px){#cones-app .eg-drawings figure{overflow-x:visible}#cones-app .dv-stage{height:320px}#cones-app .eg-main .dv-stage{height:360px}#cones-app .dv-toolbar button{min-height:40px;padding:8px}#cones-app .dv-hint{font-size:11px}}

/* R22: size the canvas with its panel instead of a fixed miniature viewport. */
#cones-app .dv-stage,#cones-app .eg-main .dv-stage{width:100%;height:auto;aspect-ratio:8/5;min-height:360px;max-height:720px}
#cones-app .dv-toolbar button{font-size:14px;min-height:38px}
#cones-app .dv-toolbar output{font-size:14px}
#cones-app .dv-hint{font-size:13px}
#cones-app .eg-drawings .dv-expanded .dv-stage{height:min(80vh,1000px);max-height:none;min-height:360px;aspect-ratio:auto}
/* Keep the native select for keyboard, assistive technology and platform menus.
   Its visible face wraps the complete selected option, including before calculation. */
#cones-app .ca-task-picker{position:relative;display:block;margin-top:6px;min-width:0}
#cones-app .ca-task-picker select{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
#cones-app .ca-task-face{display:block;min-height:46px;padding:11px 36px 11px 12px;border:1px solid #829b9a;border-radius:3px;background:white;color:#163344;font:16px/1.45 Arial,sans-serif;white-space:normal;overflow-wrap:anywhere}
#cones-app .ca-task-picker::after{content:'▾';position:absolute;right:12px;top:12px;pointer-events:none}
#cones-app .ca-task-picker:focus-within .ca-task-face{outline:3px solid #198dbe;outline-offset:2px}
#cones-app .ca-task-picker.is-disabled{opacity:.6}
@media(max-width:560px){#cones-app .dv-stage,#cones-app .eg-main .dv-stage{min-height:320px}#cones-app .dv-toolbar button{min-height:40px}#cones-app .dv-hint{font-size:12px}}
