.dt-tool{min-width:0}.dt-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:14px 0}.dt-controls label{display:grid;gap:5px;max-width:100%;font-weight:600}.dt-tool select,.dt-tool input,.dt-tool textarea{font:inherit;padding:9px;border:1px solid #b8c9dc;border-radius:8px;max-width:100%;color:inherit;background:white}.dt-tool textarea{width:100%;resize:vertical;margin-top:6px}.dt-tool button:disabled{opacity:.5;cursor:not-allowed}.dt-tool .stat{min-width:min(150px,100%);overflow-wrap:anywhere}.dt-tool .stat b{font-size:clamp(17px,2.8vw,25px)}.dt-video{display:block;width:100%;max-height:480px;min-height:120px;background:#0f172a;border-radius:10px}.dt-tool meter,.dt-tool canvas{display:block;width:100%;max-width:100%;margin:12px 0}.dt-tool canvas{height:130px;background:#f1f5f9;border-radius:8px}.dt-stick{max-width:240px;margin:auto}.dt-stick svg{display:block;width:100%}.dt-pattern{position:relative;border:1px solid #94a3b8;border-radius:8px;overflow:hidden}.dt-pattern #swatches{height:clamp(180px,35vw,360px);display:flex}.dt-pattern #swatches>div{flex:1;min-width:0}.dt-pattern.dt-expanded{position:fixed;inset:0;z-index:9999;border:0;border-radius:0;background:black}.dt-expanded #swatches{height:100%}.dt-pattern #exit{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);white-space:nowrap}.dt-reaction{width:100%;min-height:180px;color:#142439;font-weight:700}.dt-reaction.wait{background:#b91c1c;color:white}.dt-reaction.go{background:#15803d;color:white}.dt-passage{background:#f1f5f9;border:1px solid #cbd5e1;padding:14px;border-radius:8px;line-height:1.8;margin:12px 0;overflow-wrap:anywhere}.dt-info{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:8px 16px}.dt-info dt{font-weight:650}.dt-info dd{margin:0;overflow-wrap:anywhere}@media(max-width:480px){.dt-info{grid-template-columns:1fr;gap:5px}.dt-info dd{margin-bottom:10px}.dt-controls button{flex:1}.dt-controls label{width:100%}}