body.kv3d-open{overflow:hidden}
.kv3d-dialog{width:min(1280px,calc(100% - 40px));height:min(890px,94dvh);max-width:100%;max-height:94dvh;padding:0;border:0;border-radius:18px;background:#fbfcf8;color:#263c2e;box-shadow:0 30px 120px #08221866;font-family:var(--body,Arial,sans-serif);overflow:hidden}
.kv3d-dialog[open]{display:flex;flex-direction:column}
.kv3d-dialog::backdrop{background:#10271fe0;backdrop-filter:blur(8px)}
.kv3d-dialog *{box-sizing:border-box}
.kv3d-dialog [hidden]{display:none!important}
.kv3d-dialog button,.kv3d-dialog select,.kv3d-dialog input{font:inherit}
.kv3d-dialog button{cursor:pointer;border:0}
.kv3d-dialog button:disabled{cursor:not-allowed;opacity:.5}
.kv3d-dialog button:focus-visible,.kv3d-dialog select:focus-visible,.kv3d-dialog canvas:focus-visible,.kv3d-dialog input:focus-visible{outline:3px solid #a9c79b;outline-offset:3px}
.kv3d-dialog svg{width:21px;height:21px;stroke:none;fill:none;flex-shrink:0}
.kv3d-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 30px;border-bottom:1px solid #e1e7d9;background:white;flex-shrink:0}
.kv3d-eyebrow{display:block;font-size:10px;letter-spacing:.13em;text-transform:uppercase;font-weight:650;color:#8a9a7d;margin-bottom:7px}
.kv3d-header h2{font-family:var(--heading,Arial,sans-serif);font-size:25px;letter-spacing:-.8px;font-weight:650;line-height:1.2;margin:0;color:#284c35}
.kv3d-close{height:36px;width:36px;display:grid;place-items:center;border:1px solid #e0e7d7!important;border-radius:50%;background:#f6f8f1;color:#69815e;padding:7px;flex-shrink:0}
.kv3d-close:hover{background:#eaf1e2;color:#315a39}
.kv3d-body{display:grid;grid-template-columns:minmax(0,1fr) 290px;flex:1;min-height:0;overflow:hidden}
.kv3d-main{min-width:0;min-height:0;display:flex;flex-direction:column;background:#f0f3ed}
.kv3d-elementbar{display:flex;align-items:center;gap:15px;padding:17px 24px;border-bottom:1px solid #e0e7d8;flex-shrink:0;background:#f7f9f2;min-height:70px}
.kv3d-elementbar label{font-size:12px;font-weight:550;color:#8a9b7b;white-space:nowrap}
.kv3d-elementbar select{flex:1;min-width:0;max-width:420px;appearance:none;border:1px solid #d9e2d0;border-radius:7px;padding:10px 35px 10px 12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cpath d='m4 6 3.5 3.5L11 6' fill='none' stroke='%236d8461' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;font-size:13px;color:#45673c;line-height:1.4}
.kv3d-elementbar select:disabled{opacity:1;color:#66805b;background-color:#f5f8ef;border-color:#e4eadb}
.kv3d-count{font-size:11px;color:#94a285;margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}
.kv3d-stage{position:relative;flex:1;min-height:300px;isolation:isolate;background:#f0f3ed;overflow:hidden}
.kv3d-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab;outline-offset:-4px!important}
.kv3d-canvas:active{cursor:grabbing}
.kv3d-view-label{position:absolute;left:24px;top:20px;z-index:2;font-size:12px;font-weight:500;color:#809675;pointer-events:none}
.kv3d-impression{position:absolute;right:24px;top:19px;z-index:2;padding:5px 9px;border:1px solid #ceddc3;border-radius:20px;font-size:10px;line-height:1.4;color:#8c9f7c;pointer-events:none;background:#f8faf3a8}
.kv3d-loading{position:absolute;inset:0;display:grid;place-content:center;font-size:14px;color:#7a916c;z-index:3;background:#f0f3ed;margin:0}
.kv3d-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 24px 8px;flex-shrink:0}
.kv3d-presets{display:flex;gap:3px;padding:4px;background:#e6ecde;border:1px solid #dce5d2;border-radius:9px}
.kv3d-presets button{background:transparent;border-radius:6px;padding:9px 15px;color:#8c9d7d;font-size:12px;line-height:1.4;font-weight:500;white-space:nowrap}
.kv3d-presets button.active{background:#fff;color:#426f3e;box-shadow:0 1px 5px #243b2410;font-weight:650}
.kv3d-presets button:hover{color:#3a6636;background:#f7faf1}
.kv3d-zoom{display:flex;gap:7px}
.kv3d-zoom button{display:grid;place-items:center;width:35px;height:35px;border:1px solid #d7e1cd;border-radius:7px;background:#f9fbf5;color:#7f9872;padding:7px}
.kv3d-zoom button:hover{color:#3f6e39;background:white;border-color:#b9cfab}
.kv3d-zoom svg{width:18px;height:18px}
.kv3d-instructions{font-size:10px;color:#9daa90;line-height:1.7;text-align:center;padding:0 24px 15px;margin:0;flex-shrink:0}
.kv3d-sidebar{min-height:0;overflow:auto;padding:25px 23px 23px;border-left:1px solid #dfe7d5;background:#fff}
.kv3d-product-head{padding-bottom:18px;border-bottom:1px solid #e9eee0}
.kv3d-product-head .kv3d-eyebrow{font-size:10px;margin-bottom:9px}
.kv3d-product-title{font-family:var(--heading,Arial,sans-serif);font-size:21px;letter-spacing:-.5px;line-height:1.25;font-weight:650;margin:0;color:#355b36}
.kv3d-position{font-size:12px;line-height:1.7;margin:8px 0 0;color:#8f9e80;overflow-wrap:anywhere}
.kv3d-specs{margin:12px 0 21px;font-size:12px}
.kv3d-specs>div{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.1fr);gap:12px;padding:9px 0;border-bottom:1px solid #edf1e5;align-items:start;line-height:1.6}
.kv3d-specs>div:last-child{border:0}
.kv3d-specs dt{color:#a0ac91;font-weight:400;min-width:0}
.kv3d-specs dd{margin:0;color:#667f55;min-width:0;text-align:right;overflow-wrap:anywhere;font-weight:450}
.kv3d-opening{border:1px solid #dce7d0;border-radius:10px;background:#f5f9ef;padding:15px;margin-bottom:19px}
.kv3d-opening-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:13px;font-size:12px;line-height:1.5}
.kv3d-opening-head label{font-weight:550;color:#678353}
.kv3d-opening-head output{font-size:11px;font-variant-numeric:tabular-nums;color:#90a17d;white-space:nowrap}
.kv3d-opening input{accent-color:#658552;width:100%;display:block;cursor:pointer;margin:0;min-height:24px}
.kv3d-opening-help{font-size:11px;line-height:1.75;color:#9ba88c;margin:10px 0 14px}
.kv3d-button{display:inline-flex;align-items:center;justify-content:center;background:#426a3b;color:#fff;min-height:43px;padding:12px 18px;border:1px solid #426a3b!important;border-radius:7px;font-size:13px;line-height:1.3;font-weight:550}
.kv3d-button:hover{background:#345d30}
.kv3d-button-outline{background:white;color:#6f8c5e;border-color:#ccdbbf!important;font-size:12px;min-height:37px;padding:9px 14px}
.kv3d-button-outline:hover{background:#edf5e4;color:#456a39}
.kv3d-opening .kv3d-button{width:100%}
.kv3d-static-note,.kv3d-source-note{font-size:11px;line-height:1.8;color:#8a9e79;background:#f6f9f1;border:1px solid #e1ead8;border-radius:8px;padding:12px 13px;margin:0 0 16px}
.kv3d-source-note{background:none;border-style:dashed;color:#9eab8f}
.kv3d-study-note{border-top:1px solid #e8eedf;padding-top:16px;color:#a2ad95}
.kv3d-study-note strong{display:block;color:#819772;font-size:12px;font-weight:550;margin-bottom:6px}
.kv3d-study-note p{font-size:11px;line-height:1.8;margin:0}
.kv3d-skipped{font-size:11px;color:#a08962;line-height:1.7;padding-top:12px;margin:0}
.kv3d-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 27px;border-top:1px solid #dfe7d6;background:#fff;flex-shrink:0}
.kv3d-status{font-size:11px;line-height:1.6;color:#91a280}
.kv3d-fallback{position:absolute;inset:0;overflow:auto;padding:35px 40px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f0f3ed;z-index:4}
.kv3d-fallback-icon{width:43px;height:43px;border:1px solid #d1dfc5;border-radius:50%;display:grid;place-items:center;background:#f6f9f0;color:#8fa17c;margin-bottom:16px;flex-shrink:0}
.kv3d-fallback h3{font-size:21px;font-family:var(--heading,Arial,sans-serif);font-weight:600;letter-spacing:-.5px;color:#5a7950;line-height:1.3;margin:0 0 10px}
.kv3d-fallback-message{font-size:13px;line-height:1.8;color:#8c9e7d;max-width:420px;margin:0 0 16px}
.kv3d-fallback-image{width:100%;max-width:260px;min-height:0;margin:0 0 14px}
.kv3d-fallback-image:empty{display:none}
.kv3d-fallback-image img{max-width:100%;width:auto;max-height:240px;display:block;margin:auto}
.kv3d-dialog[data-mode="fallback"] .kv3d-stage{min-height:430px}
@media(max-width:1000px){
 .kv3d-dialog{width:calc(100% - 24px);height:95dvh;max-height:95dvh}
 .kv3d-body{grid-template-columns:minmax(0,1fr) 255px}
 .kv3d-header{padding:21px 24px}.kv3d-header h2{font-size:23px}
 .kv3d-elementbar{padding:15px 20px;gap:10px;flex-wrap:wrap}.kv3d-elementbar label{font-size:11px}
 .kv3d-elementbar select{font-size:12px}.kv3d-count{font-size:10px}
 .kv3d-toolbar{padding-inline:18px;gap:10px}.kv3d-presets button{padding-inline:11px;font-size:11px}
 .kv3d-zoom{gap:5px}.kv3d-zoom button{width:31px;height:33px}
 .kv3d-sidebar{padding:23px 18px}.kv3d-product-title{font-size:20px}.kv3d-specs{font-size:11px}
 .kv3d-fallback{padding:30px 25px}.kv3d-fallback h3{font-size:20px}
}
@media(max-width:740px){
 .kv3d-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0;overflow:auto}
 .kv3d-dialog[open]{display:block}
 .kv3d-header{padding:18px 20px;position:sticky;top:0;z-index:8}
 .kv3d-eyebrow{font-size:9px;margin-bottom:6px}.kv3d-header h2{font-size:21px;letter-spacing:-.65px;max-width:285px;line-height:1.25}
 .kv3d-close{width:34px;height:34px;padding:7px}
 .kv3d-body{grid-template-columns:1fr;overflow:visible;display:block}
 .kv3d-main{display:flex;min-height:0}
 .kv3d-elementbar{padding:14px 20px;gap:8px 12px;display:grid;grid-template-columns:1fr auto}
 .kv3d-elementbar label{font-size:11px;grid-column:1}.kv3d-elementbar select{grid-column:1/-1;grid-row:2;width:100%;max-width:none;font-size:14px;padding-block:11px}
 .kv3d-count{grid-column:2;grid-row:1;font-size:11px}
 .kv3d-stage{height:420px;min-height:340px;max-height:58dvh;flex:none}
 .kv3d-view-label{left:20px;top:17px;font-size:11px}.kv3d-impression{right:20px;top:15px;font-size:9px}
 .kv3d-toolbar{padding:14px 17px 8px;gap:10px;flex-wrap:wrap}
 .kv3d-presets{gap:2px;padding:4px;flex:1;justify-content:space-between}
 .kv3d-presets button{font-size:12px;padding:10px 12px;flex:1}
 .kv3d-zoom{gap:5px}.kv3d-zoom button{height:36px;width:32px;padding:7px}
 .kv3d-instructions{font-size:10px;padding:0 24px 18px;line-height:1.8}
 .kv3d-sidebar{overflow:visible;border-left:0;border-top:1px solid #dfe7d6;padding:25px 22px 29px;display:grid;grid-template-columns:1fr;gap:0}
 .kv3d-product-title{font-size:23px}.kv3d-position{font-size:13px}.kv3d-specs{font-size:13px;margin:12px 0 22px}
 .kv3d-specs>div{padding:10px 0;grid-template-columns:1fr 1.1fr}
 .kv3d-opening{padding:17px}.kv3d-opening-head{font-size:14px}.kv3d-opening-head output{font-size:12px}.kv3d-opening-help{font-size:12px}
 .kv3d-opening .kv3d-button{font-size:13px;min-height:42px}
 .kv3d-study-note strong{font-size:13px}.kv3d-study-note p,.kv3d-static-note,.kv3d-source-note{font-size:12px}
 .kv3d-footer{position:sticky;bottom:0;z-index:7;padding:13px 20px;gap:15px;box-shadow:0 -5px 18px #32452a06}
 .kv3d-status{font-size:10px;max-width:150px}.kv3d-footer .kv3d-button{font-size:12px;min-height:44px;padding:12px 15px}
 .kv3d-fallback{padding:25px 23px;justify-content:flex-start}.kv3d-fallback-icon{width:36px;height:36px;margin-bottom:13px}
 .kv3d-fallback h3{font-size:20px}.kv3d-fallback-message{font-size:12px;margin-bottom:10px}
 .kv3d-fallback-image{max-width:190px;margin-bottom:10px}.kv3d-fallback-image img{max-height:170px}
 .kv3d-dialog[data-mode="fallback"] .kv3d-stage{height:490px;max-height:none;min-height:490px}
}
@media(max-width:370px){.kv3d-header h2{font-size:19px}.kv3d-toolbar{padding-inline:13px;gap:7px}.kv3d-presets button{padding-inline:8px;font-size:11px}.kv3d-zoom button{width:29px}.kv3d-status{max-width:120px}}
@media(prefers-reduced-motion:reduce){.kv3d-dialog *{scroll-behavior:auto!important}}

/* The operating controls stay with the model, ahead of the specification sidebar. */
.kv3d-main>.kv3d-operation-dock{margin:0 24px 0;padding:12px 15px;border-color:#d6e2c9;background:#fafcf6;border-radius:10px;flex-shrink:0}
.kv3d-main .kv3d-stage{min-height:180px}
.kv3d-operation-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}
.kv3d-modes{display:flex;gap:3px;border:1px solid #dce7d1;background:#eaf1e1;border-radius:7px;padding:3px}
.kv3d-modes button{font-size:12px;line-height:1.3;padding:7px 14px;border-radius:5px;color:#859b72;background:transparent;min-height:30px;font-weight:500}
.kv3d-modes button.active{background:white;color:#416e38;box-shadow:0 1px 4px #31492912;font-weight:650}
.kv3d-modes button.pending{background:#f5f8ef;color:#80916d;outline:1px dashed #b3c49f;outline-offset:-2px}
.kv3d-modes button:hover{color:#3d6c33;background:#f8fbf2}
.kv3d-motion-title{font-size:13px;font-weight:600;color:#65844f}
.kv3d-demo-controls{display:flex;gap:7px;align-items:center}
.kv3d-demo{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#73945b;background:transparent;padding:7px 0;white-space:nowrap;min-height:30px}
.kv3d-demo:hover{color:#335f2e}.kv3d-demo-icon{height:16px;display:flex}.kv3d-demo-icon svg{width:15px;height:15px}
.kv3d-stop{font-size:10px;color:#829871;border:1px solid #d4e0c8!important;border-radius:5px;background:#fff;padding:6px 8px;min-height:29px}
.kv3d-opening-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;align-items:center;margin-top:10px}
.kv3d-operation-dock .kv3d-opening-row>.kv3d-button{min-height:41px;font-size:12px;padding:10px 12px;background:#5b8048;border-color:#5b8048!important;width:100%}
.kv3d-slider-control{min-width:0}.kv3d-slider-control .kv3d-opening-head{font-size:10px;line-height:1.3;margin-bottom:2px;gap:10px}
.kv3d-slider-control .kv3d-opening-head output{font-size:10px}.kv3d-slider-control input{min-height:22px}
.kv3d-motion-phase{font-size:10px;line-height:1.5;color:#759463;font-weight:500;margin:7px 0 0;min-height:15px}
.kv3d-operation-dock .kv3d-opening-help{font-size:10px;line-height:1.5;margin:2px 0 0;color:#9aaa8c}
.kv3d-motion-preference{font-size:10px;line-height:1.6;color:#96a685;margin:5px 0 0}
.kv3d-main>.kv3d-toolbar{padding-top:10px;padding-bottom:6px}
.kv3d-main>.kv3d-instructions{padding-bottom:10px;font-size:9px}
@media(max-width:1000px){.kv3d-main>.kv3d-operation-dock{margin-inline:18px;padding:11px 12px}.kv3d-modes button{padding-inline:11px;font-size:11px}.kv3d-demo{font-size:10px}.kv3d-opening-row{grid-template-columns:100px minmax(0,1fr);gap:15px}.kv3d-operation-heading{gap:10px}}
@media(max-width:740px){
 .kv3d-main>.kv3d-stage{height:355px;min-height:280px;max-height:48dvh}
 .kv3d-main>.kv3d-operation-dock{margin:0 17px;padding:14px;border-radius:11px}
 .kv3d-modes button{padding:8px 14px;font-size:13px;min-height:34px}
 .kv3d-motion-title{font-size:14px}.kv3d-demo{font-size:11px;min-height:35px}
 .kv3d-demo-controls{gap:6px}.kv3d-stop{font-size:10px;padding:7px}
 .kv3d-opening-row{margin-top:12px;gap:17px;grid-template-columns:106px minmax(0,1fr)}
 .kv3d-operation-dock .kv3d-opening-row>.kv3d-button{font-size:13px;min-height:45px;padding:11px}
 .kv3d-slider-control .kv3d-opening-head{font-size:10px}.kv3d-slider-control .kv3d-opening-head output{font-size:10px;white-space:nowrap}
 .kv3d-motion-phase{font-size:11px;margin-top:10px}.kv3d-operation-dock .kv3d-opening-help{font-size:11px;margin-top:3px;line-height:1.65}
 .kv3d-motion-preference{font-size:11px}.kv3d-main>.kv3d-toolbar{padding-top:12px}.kv3d-main>.kv3d-instructions{font-size:10px;padding-bottom:17px}
 .kv3d-dialog[data-mode="fallback"] .kv3d-stage{height:490px;max-height:none;min-height:490px}
}
@media(max-width:370px){.kv3d-operation-heading{flex-wrap:wrap;gap:5px}.kv3d-demo-controls{margin-left:auto}.kv3d-opening-row{gap:12px;grid-template-columns:95px minmax(0,1fr)}}

/* Keep the canvas useful at laptop heights; operating controls share a compact row. */
.kv3d-dialog button{min-height:44px}.kv3d-close{width:44px;height:44px}.kv3d-stop{min-width:44px}
@media(min-width:741px){
 .kv3d-header{padding:13px 24px;min-height:70px}
 .kv3d-header .kv3d-eyebrow{font-size:9px;line-height:1.15;margin-bottom:4px}
 .kv3d-header h2{font-size:22px;line-height:1.2}
 .kv3d-elementbar{min-height:56px;padding:6px 20px;flex-wrap:nowrap}
 .kv3d-elementbar select{min-height:44px;padding-block:8px}
 .kv3d-main .kv3d-stage{min-height:240px}
 .kv3d-main>.kv3d-operation-dock{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr);gap:6px 20px;padding:12px 14px}
 .kv3d-operation-heading{grid-column:1;grid-row:1;gap:12px;min-width:0}
 .kv3d-opening-row{grid-column:2;grid-row:1;grid-template-columns:96px minmax(0,1fr);gap:14px;margin:0}
 .kv3d-modes{padding:0;gap:2px;border-radius:7px}
 .kv3d-modes button{min-height:44px;padding:8px 12px;font-size:12px}
 .kv3d-demo{min-height:44px;padding-block:7px}
 .kv3d-stop{min-height:44px;padding:7px}
 .kv3d-operation-dock .kv3d-opening-row>.kv3d-button{min-height:44px}
 .kv3d-motion-phase{grid-column:1;grid-row:2;margin:0;min-height:15px;align-self:start}
 .kv3d-operation-dock .kv3d-opening-help{grid-column:2;grid-row:2;margin:0;line-height:1.5}
 .kv3d-motion-preference{grid-column:1/-1;margin:0}
 .kv3d-main>.kv3d-toolbar{padding:4px 24px 2px}
 .kv3d-presets{padding:0;border-radius:7px}
 .kv3d-presets button{min-height:44px;padding:8px 14px}
 .kv3d-zoom button{width:44px;height:44px}
 .kv3d-main>.kv3d-instructions{padding:0 24px 5px;font-size:9px;line-height:1.4}
 .kv3d-footer{padding:8px 24px;min-height:60px}
 .kv3d-footer .kv3d-button{min-height:44px}
}
@media(min-width:741px) and (max-width:1050px){
 .kv3d-operation-heading{flex-wrap:wrap;gap:0 9px;align-content:center}
 .kv3d-main>.kv3d-operation-dock{column-gap:14px;padding-inline:12px}
 .kv3d-modes button{font-size:11px;padding-inline:10px}
 .kv3d-demo-controls{gap:5px}.kv3d-demo{font-size:10px}
 .kv3d-opening-row{grid-template-columns:86px minmax(0,1fr);gap:10px}
 .kv3d-slider-control .kv3d-opening-head label{max-width:70px}
}
@media(max-width:740px){.kv3d-close{width:44px;height:44px}.kv3d-zoom button{min-width:44px}.kv3d-modes button,.kv3d-demo,.kv3d-stop{min-height:44px}.kv3d-presets{padding:0}.kv3d-presets button{font-size:11px;padding-inline:8px}}
