/* ==========================================================================
   w40iq-dp-fix.css – Responsive-Fix Deployment Planner (Styleguide v2.0, Fix-Datei §0.3)
   Lädt NACH deployment-planner-layout.css. Haupt-CSS unverändert → Rollback = Datei entfernen.
   !important nur, weil das Haupt-CSS dieselben Eigenschaften mit !important setzt.
   ========================================================================== */

/* 1. Handy (< 720 px): Arbeitsfläche untereinander statt drei Spalten
   Was:     Karte war im Hochformat nur ~90 px breit, Werkzeug- und Ablage-Spalte quetschten sie.
   Ursache: Grundregel grid-template-columns:112px 1fr 150px greift auch bei 336 px Breite.
   Lösung:  Werkzeuge als Zeile oben, Karte volle Breite (Seitenverhältnis kommt aus --w40iq-map-ratio),
            Papierkorb/Reset/Reserve/Deployment als 2er-Raster darunter. */
@media (max-width:719px){
  .w40iq-deployment-planner-guest.is-portrait-unlocked > .w40iq-deployment-planner-guest__header{display:none!important}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__workspace-wrap{overflow-x:visible!important;overflow-y:visible!important;max-width:100%!important}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__workspace-shell{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;min-width:0!important;gap:10px!important;padding:0!important}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__tool-modes{display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important;order:1}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__tool-modes > *{flex:0 0 auto}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__history-actions{display:flex!important;gap:6px!important}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__tool-button{min-width:44px!important;min-height:44px!important}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__workspace{order:2;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__right-rail{order:3;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important;width:100%!important;height:auto!important;position:static!important}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__right-rail > *{min-width:0}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__trash{min-height:56px!important;height:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:6px 8px!important;text-align:left!important}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__trash-icon{width:40px!important;height:40px!important;flex:0 0 40px!important}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__trash span:not(.w40iq-deployment-planner-guest__trash-icon){display:none!important}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__reset-button{min-height:56px!important;height:auto!important}
  .w40iq-deployment-planner-guest .w40iq-deployment-planner-guest__reserve-button{min-height:44px!important}
}
