/*
 GreenEco Meetings — Results screen exact one-row toolbar
 Screen: نتائج الاجتماع
 Order:
 Search → Add Result → Edit → Delete → Refresh → Print Results → Meeting Subject
 Standalone Exit hidden; title-row X remains.
 CSS only. No app.js / business logic / print changes.
 Version: 3.3.16.44.2.522
*/

@media screen {

  .meeting-results-toolbar{
    direction:rtl!important;

    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;

    width:100%!important;
    min-width:0!important;
    max-width:100%!important;

    height:auto!important;
    min-height:50px!important;
    max-height:none!important;

    margin:0 0 8px!important;
    padding:6px 8px!important;

    box-sizing:border-box!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-gutter:stable!important;

    transform:none!important;
  }

  /* Commands on the right, same order as the native screen. */
  .meeting-results-toolbar > .toolbar-actions.meeting-results-actions{
    order:0!important;
    direction:rtl!important;

    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;

    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    max-width:none!important;

    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;

    margin:0!important;
    padding:0!important;

    overflow:visible!important;
    transform:none!important;
    box-sizing:border-box!important;
  }

  .meeting-results-toolbar > .toolbar-actions.meeting-results-actions > *{
    position:static!important;
    flex:0 0 auto!important;

    width:auto!important;
    min-width:92px!important;
    max-width:none!important;

    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;

    margin:0!important;
    padding:4px 12px!important;

    display:inline-flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;

    white-space:nowrap!important;
    box-sizing:border-box!important;

    transform:none!important;
    translate:none!important;
    scale:none!important;
    box-shadow:none!important;
    filter:none!important;
  }

  /* Meeting subject is the left-most item in the exact same row. */
  .meeting-results-toolbar > .meeting-results-subject-inline{
    order:1!important;
    direction:rtl!important;

    flex:0 0 470px!important;
    width:470px!important;
    min-width:470px!important;
    max-width:470px!important;

    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;

    margin:0!important;
    padding:0!important;

    display:flex!important;
    align-items:center!important;

    transform:none!important;
    box-sizing:border-box!important;
  }

  .meeting-results-toolbar
  > .meeting-results-subject-inline
  .meeting-toolbar-subject{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;

    display:grid!important;
    grid-template-columns:110px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;

    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }

  .meeting-results-toolbar
  > .meeting-results-subject-inline
  .meeting-toolbar-subject > span{
    white-space:nowrap!important;
    font-size:10px!important;
    font-weight:800!important;
  }

  .meeting-results-toolbar
  > .meeting-results-subject-inline
  .meeting-toolbar-subject select{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;

    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;

    margin:0!important;
    box-sizing:border-box!important;
  }

  /* Standalone Exit is removed completely from toolbar flow. */
  .meeting-results-toolbar > .meeting-results-exit{
    display:none!important;

    width:0!important;
    min-width:0!important;
    max-width:0!important;

    height:0!important;
    min-height:0!important;
    max-height:0!important;

    margin:0!important;
    padding:0!important;
    border:0!important;

    overflow:hidden!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  /* Summary/next section begins immediately below the toolbar. */
  .meeting-results-toolbar + *{
    margin-top:0!important;
  }

  /* No hover/focus/active jump. */
  .meeting-results-toolbar button:hover:not(:disabled),
  .meeting-results-toolbar button:focus-visible,
  .meeting-results-toolbar button:active{
    transform:none!important;
    translate:none!important;
    scale:none!important;
    box-shadow:none!important;
    filter:none!important;
    outline:none!important;
  }
}

/* Preserve the single row; narrow windows scroll horizontally instead of wrapping. */
@media screen and (max-width:1100px){
  .meeting-results-toolbar{
    min-width:980px!important;
  }
}
