/* Selector layout only; the Current interface keeps its original style rules. */
@media screen {
  html.interface-loading #application { visibility: hidden; }
  .interface-switch { flex: 0 0 auto; width: 145px; min-width: 115px; max-width: 150px; gap: 3px; font-size: 10px; }
  .interface-switch select { width: 100%; min-height: 30px; padding: 5px; font-size: 12px; }
  .dossier-top .interface-switch { margin-left: auto; }
  @media (max-width: 750px) {
    .shell>header { flex-wrap: wrap; }
    .header-right:has(.interface-switch) { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
  }
  @media (max-width: 820px) {
    body.design-workspace .shell>header.workspace-header { grid-template-columns: auto minmax(0,1fr) !important; grid-template-rows: auto !important; height: auto !important; align-items: start; }
    body.design-workspace .workspace-header .header-navigation { grid-column: 1; grid-row: 1; align-self: start; }
    body.design-workspace .workspace-header .header-right { grid-column: 2; grid-row: 1; width: 100%; max-width: 100%; justify-self: stretch; justify-content: flex-end; flex-wrap: wrap !important; }
    body.design-workspace .workspace-header .global-order-search { grid-column: 1/-1; grid-row: 2; }
  }
  @media (max-width: 600px) {
    .workflow-redesign .workflow-actual .actual-grid>label { grid-template-columns: 1fr !important; }
  }
}
@media print {
  .interface-switch { display: none !important; }
  .rd-queue-cards,.rd-queue-note,.rd-date-row,.rd-pipeline,.rd-checklist,.rd-message-nav { display: none !important; }
  .rd-order-grid,.rd-order-sidebar,.rd-order-main,.rd-communication { display: block !important; }
}
@media(max-width:750px){
  .header-right .interface-switch select{min-width:0!important;flex:1;width:0!important;max-width:100%}
}
