
/* V246 — Orders mobile status controls.
   Visual-only. Status/API/permissions logic unchanged. */

@media(max-width:1100px){
  /* Status trigger in mobile cards */
  .v246-order-mobile-card .v231-order-status,
  .v193-order-mobile-card .v231-order-status{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    min-height:42px!important;
    max-height:none!important;
    padding:0 12px!important;
    border-radius:10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:800!important;
    letter-spacing:.01em!important;
    white-space:nowrap!important;
    box-shadow:
      0 1px 2px rgba(15,23,42,.04),
      inset 0 0 0 1px color-mix(in srgb,currentColor 7%,transparent)!important;
  }

  .v246-order-mobile-card .v231-order-status-trigger,
  .v193-order-mobile-card .v231-order-status-trigger{
    cursor:pointer!important;
    transition:
      transform .12s ease,
      box-shadow .16s ease,
      filter .16s ease!important;
  }

  .v246-order-mobile-card .v231-order-status-trigger:active,
  .v193-order-mobile-card .v231-order-status-trigger:active{
    transform:scale(.985)!important;
  }

  .v246-order-mobile-card .v231-order-status-trigger svg,
  .v193-order-mobile-card .v231-order-status-trigger svg{
    width:16px!important;
    height:16px!important;
    min-width:16px!important;
    flex:0 0 16px!important;
    opacity:.72!important;
  }

  /* Read-only status stays centered and same visual size */
  .v246-order-mobile-card .v231-order-status-readonly,
  .v193-order-mobile-card .v231-order-status-readonly{
    justify-content:center!important;
  }

  /* Dropdown becomes touch-friendly */
  .v231-order-status-menu{
    width:min(92vw,300px)!important;
    min-width:min(92vw,300px)!important;
    padding:7px!important;
    border-radius:12px!important;
    box-shadow:
      0 14px 36px rgba(15,23,42,.16),
      0 3px 8px rgba(15,23,42,.08)!important;
  }

  .v231-order-status-menu [role="menuitem"]{
    min-height:46px!important;
    padding:5px!important;
    margin:2px 0!important;
    border-radius:9px!important;
    display:flex!important;
    align-items:center!important;
  }

  .v231-order-status-option{
    width:100%!important;
    min-width:0!important;
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:0 12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:8px!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:800!important;
    white-space:nowrap!important;
    text-align:center!important;
  }

  /* Give the status area more breathing room in mobile order cards */
  .v246-order-mobile-card .v231-order-status,
  .v193-order-mobile-card .v231-order-status{
    margin-top:2px!important;
    margin-bottom:2px!important;
  }
}

@media(max-width:560px){
  .v246-order-mobile-card .v231-order-status,
  .v193-order-mobile-card .v231-order-status{
    height:40px!important;
    min-height:40px!important;
    padding:0 10px!important;
    border-radius:9px!important;
    font-size:11.5px!important;
  }

  .v246-order-mobile-card .v231-order-status-trigger svg,
  .v193-order-mobile-card .v231-order-status-trigger svg{
    width:15px!important;
    height:15px!important;
    min-width:15px!important;
    flex-basis:15px!important;
  }

  .v231-order-status-menu{
    width:min(94vw,280px)!important;
    min-width:min(94vw,280px)!important;
  }

  .v231-order-status-menu [role="menuitem"]{
    min-height:44px!important;
  }

  .v231-order-status-option{
    height:34px!important;
    min-height:34px!important;
    font-size:11.5px!important;
  }
}
