@media (max-width:750px), (orientation:landscape) and (max-height:600px) {
  .seller-page > header.flyora-home-header:has(.seller-mobile-account-actions:not([hidden])) {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    --seller-header-control-height:52px;
    height:auto;
    gap:6px;
    padding-inline:10px;
  }

  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) > .flyora-home-brand {
    grid-area:1 / 1 / 2 / 3;
  }

  .seller-page > header .seller-mobile-account-actions:not([hidden]) {
    grid-area:1 / 3 / 2 / 5;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
    min-width:0;
  }

  .seller-page > header .seller-mobile-account-actions > button {
    min-width:0;
    height:var(--seller-header-control-height);
    padding:5px 3px;
    font-size:12px;
    line-height:1.15;
    white-space:normal;
  }

  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) > .flyora-brand-language {
    grid-area:2 / 1;
    min-width:0;
    justify-content:flex-start;
    margin:0;
  }

  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) > .flyora-brand-language > span {
    display:none;
  }

  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) > .flyora-brand-language > select {
    width:100%;
    min-width:0;
    height:var(--seller-header-control-height);
    padding:5px;
    font-size:12px;
  }

  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) > .seller-account-country:not([hidden]) {
    grid-area:2 / 2;
    min-width:0;
    max-width:none;
    height:var(--seller-header-control-height);
    justify-content:center;
    gap:4px;
    padding:5px 6px;
    font-size:12px;
  }

  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) .seller-account-country-flag {
    font-size:19px;
  }

  .seller-page > header.flyora-home-header #sellerHeaderActions:not([hidden]) {
    grid-area:2 / 3 / 3 / 5;
    display:grid;
    grid-template-columns:repeat(2,calc((100% - 6px) / 2));
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 6px) / 2);
    gap:6px;
    min-width:0;
    width:100%;
    max-height:none;
    padding:0;
    margin:0;
    overflow-x:auto;
  }

  .seller-page > header #sellerHeaderActions > :is(button,a) {
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    height:var(--seller-header-control-height);
    padding:5px 6px;
    margin:0;
    font-size:12px;
    line-height:1.15;
    white-space:normal;
  }

  .seller-page > header #sellerHeaderActions > a[href="/admin.html"] {
    order:-1;
    justify-self:stretch;
    width:auto;
    padding:0;
  }

  .seller-page > header #sellerHeaderActions > a[href="/admin.html"]::before {
    content:"";
    width:30px;
    height:30px;
    background:currentColor;
    mask:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 3v6c0 5-3 9-8 11-5-2-8-6-8-11V5z'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E");
  }

  .seller-page > header #sellerHeaderActions > a[href="/admin.html"] > span {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
  }

  .seller-page .seller-account-layout,
  .seller-page .seller-account-nav,
  .seller-page .seller-account-content,
  .seller-page .seller-account-content .seller-statistics {
    display:grid;
    grid-template-columns:minmax(0,1fr);
  }

  .seller-page .seller-account-nav { position:static; }
  .seller-page .seller-account-nav > a { min-height:44px; }
  .seller-page .seller-account-nav > p { overflow-wrap:anywhere; }

  .seller-page .ad-unified-toolbar {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:8px;
  }

  .seller-page .ad-unified-toolbar > * {
    width:100%;
    min-width:0;
    min-height:44px;
  }

  .seller-page .ad-unified-scroll {
    max-height:none;
    overflow:visible;
    border:0;
  }

  .seller-page .ad-unified-table {
    display:block;
    min-width:0;
  }

  .seller-page .ad-unified-table thead {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
  }

  .seller-page .ad-unified-table tbody {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }

  .seller-page .ad-unified-table tbody tr {
    display:block;
    border:1px solid #dce5dc;
    border-radius:10px;
    padding:8px 12px;
  }

  .seller-page .ad-unified-table tbody td {
    display:block;
    padding:7px 0;
    overflow-wrap:anywhere;
    white-space:normal;
  }

  .seller-page .ad-unified-table tbody td:last-child { border-bottom:0; }
  .seller-page .ad-unified-table td[data-label]::before {
    content:attr(data-label);
    display:block;
    color:#465c50;
    font-weight:600;
  }
  .seller-page .ad-unified-table td button { min-height:44px; }
}

@media (max-width:390px) {
  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) .seller-account-country-name {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
  }
}

@media (orientation:landscape) and (max-height:600px) {
  .seller-page > header.flyora-home-header:has(.seller-mobile-account-actions:not([hidden])) {
    grid-template-columns:auto repeat(6,minmax(0,1fr));
  }

  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) > .flyora-home-brand {
    grid-area:1 / 1;
  }

  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) > .flyora-home-brand > small {
    display:none;
  }

  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) > .flyora-brand-language {
    grid-area:1 / 2;
  }

  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) > .seller-account-country:not([hidden]) {
    grid-area:1 / 3;
  }

  .seller-page > header.flyora-home-header #sellerHeaderActions:not([hidden]) {
    grid-area:1 / 4 / 2 / 6;
  }

  .seller-page > header .seller-mobile-account-actions:not([hidden]) {
    grid-area:1 / 6 / 2 / 8;
  }
}

@media (orientation:landscape) and (max-height:600px) and (max-width:650px) {
  .seller-page > header:has(.seller-mobile-account-actions:not([hidden])) .seller-account-country-name {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
  }
}
