/* Drawing to Model Studio (v56) */
#dm-app .dm-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 8px; }
#dm-app .dm-stage { position: relative; border: 1px solid var(--line, #d8cfbf); border-radius: 8px; overflow: hidden; background: #fffdf8; height: 460px; }
#dm-app .dm-stage.tall { height: min(72vh, 680px); }
#dm-app .dm-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
#dm-app .dm-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: min(92vw, 640px); background: #3b1834; color: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 60; font-size: 14px; }
#dm-app .cp-kpi .good b { color: #2e7d32; } #dm-app .cp-kpi .bad b { color: #c62828; }
#dm-app .cp-tw { overflow-x: auto; }
@media (max-width: 640px) { #dm-app .dm-stage { height: 340px; } #dm-app .dm-stage.tall { height: 60vh; } }
@media print { #dm-app .dm-tools, #dm-app .cp-tabs, #dm-app .dm-toast { display: none !important; } }
