/* Give AIS copy its own row so both languages remain fully readable. */
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header .ops-console-heading {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:8px !important;
}
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header .ops-console-heading > div:first-child {
  display:block !important;
  flex:none !important;
  width:100% !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
}
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header .ops-console-title,
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header .ops-console-subtitle {
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  overflow-wrap:break-word;
}
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header .ops-console-title {line-height:1.15 !important;}
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header .ops-console-subtitle {margin-top:3px !important;line-height:1.4 !important;}
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header .ops-header-tools {
  width:100% !important;
  min-width:0 !important;
  grid-template-columns:minmax(70px,1fr) minmax(88px,104px) 68px !important;
  height:auto !important;
  min-height:36px !important;
}
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header .ops-policy-badge {width:auto !important;min-width:0 !important;}
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header .ops-header-map-mode,
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header #mode-toggle,
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header .ops-policy-badge,
html body #panel.ops-console-active[data-navis-domain="ais"] #ops-console-header #ops-language-switch {
  height:36px !important;
  min-height:36px !important;
  max-height:36px !important;
}
