/* Leitstelle 2.0. Only affects the Leitstelle tab; all simulation nodes stay in place. */
#leitstelle .ls20-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:9px 13px;background:#142638;border-bottom:1px solid var(--border)}
#leitstelle .ls20-toolbar strong{font-size:11px;letter-spacing:.09em;color:var(--muted);margin-right:5px}
#leitstelle .ls20-toolbar button{min-height:38px;font-size:12px;padding:7px 10px;white-space:normal}
#leitstelle .ls20-toolbar button.active{background:#38617d;border-color:#8ac7e8;color:#fff}
#leitstelle .ls20-tip{margin-left:auto;font-size:11px;color:var(--muted)}
#leitstelle .layout{height:calc(100dvh - 270px);min-height:460px;display:grid;grid-template-columns:minmax(0,40fr) minmax(0,60fr);grid-template-rows:minmax(0,45fr) minmax(0,55fr);gap:7px;padding:7px;overflow:hidden;background:var(--bg)}
#leitstelle .layout .maparea{grid-column:1;grid-row:1/3;min-width:0;border:1px solid var(--border);border-radius:9px;overflow:hidden}
#leitstelle .layout .leftpanel{grid-column:2;grid-row:1;min-width:0;border:1px solid var(--border);border-radius:9px}
#leitstelle .layout .rightpanel{grid-column:2;grid-row:2;min-width:0;border:1px solid var(--border);border-radius:9px}
#leitstelle .layout .resizehandle,#leitstelle .layout .edge{display:none!important}
#leitstelle .layout .leftpanel,#leitstelle .layout .rightpanel{display:flex!important}
#leitstelle[data-ls20="map"] .layout{grid-template-columns:1fr;grid-template-rows:1fr}
#leitstelle[data-ls20="map"] .layout .maparea{grid-column:1;grid-row:1}
#leitstelle[data-ls20="map"] .layout .leftpanel,#leitstelle[data-ls20="map"] .layout .rightpanel{display:none!important}
#leitstelle[data-ls20="calls"] .layout,#leitstelle[data-ls20="incidents"] .layout{grid-template-columns:1fr;grid-template-rows:1fr}
#leitstelle[data-ls20="calls"] .layout .leftpanel,#leitstelle[data-ls20="incidents"] .layout .rightpanel{grid-column:1;grid-row:1}
#leitstelle[data-ls20="calls"] .layout .rightpanel,#leitstelle[data-ls20="calls"] .layout .maparea,#leitstelle[data-ls20="incidents"] .layout .leftpanel,#leitstelle[data-ls20="incidents"] .layout .maparea{display:none!important}
#leitstelle[data-ls20="split"] .layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr}
#leitstelle[data-ls20="split"] .layout .leftpanel{grid-column:1;grid-row:1}
#leitstelle[data-ls20="split"] .layout .rightpanel{grid-column:2;grid-row:1}
#leitstelle[data-ls20="split"] .layout .maparea{display:none!important}
#leitstelle .panelbody{overscroll-behavior:contain}
@media(max-width:760px){#leitstelle .layout{height:calc(100dvh - 285px);min-height:400px;grid-template-columns:1fr;grid-template-rows:minmax(220px,1fr) minmax(200px,1fr) minmax(220px,1fr);overflow:auto}#leitstelle[data-ls20="overview"] .layout .maparea{grid-column:1;grid-row:1}#leitstelle[data-ls20="overview"] .layout .leftpanel{grid-column:1;grid-row:2}#leitstelle[data-ls20="overview"] .layout .rightpanel{grid-column:1;grid-row:3}#leitstelle .ls20-tip{width:100%;margin:0}#leitstelle[data-ls20="split"] .layout{grid-template-columns:1fr;grid-template-rows:1fr 1fr;overflow:auto}#leitstelle[data-ls20="split"] .layout .leftpanel{grid-column:1;grid-row:1}#leitstelle[data-ls20="split"] .layout .rightpanel{grid-column:1;grid-row:2}}
