/*
 * PANEL DIZAYNI v4 — FAQAT ADMIN PANEL (admin.html), faqat yorug' rejim. Egasi qarori K-017 (docs/kelishuvlar.md, 2026-12-03, "Tasdiqlayman"):
 * kulrang fon + chegarasiz oq kartalar (hamma bo'limda), sarlavha yuqori panelda, bo'lim/filtr tugmalari oq kartada (tanlangani qora),
 * kartadan tashqaridagi tugmalar oq, maydonlar orasida yagona 12px (--gap-std). Tarqatish (#content[data-tms="dispatch"]) oraliqlari — TEGILMAYDI.
 * Menyu va qorong'i rejim — o'zgarmaydi. theme.css kabinet/hamkor sahifalarida ham ishlatiladi — shuning uchun alohida fayl.
 * Qulf: apps/api/tests/panel-v4-design.test.ts
 */
:root:not([data-theme="dark"]){--canvas:#F5F6F8;--card-shadow:0 1px 2px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.06)}
:root:not([data-theme="dark"]) .main{background:var(--canvas)}
:root:not([data-theme="dark"]) .top{background:var(--canvas);border-bottom-color:transparent}
:root:not([data-theme="dark"]) .content .card{border-color:transparent;box-shadow:var(--card-shadow)}

/* 1) Sarlavha + izoh yuqori panelda: #secTitle (h1) ichida .top-t (nom) va .top-sub (sahifa izohi, `.fn-head` dan — shell/pageHead.ts) */
#secTitle{display:flex;flex-direction:column;justify-content:center;line-height:1.25}
#secTitle .top-t{font-size:20px;font-weight:700;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#secTitle .top-sub{font-size:13px;font-weight:400;color:var(--text-2);letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:760px){#secTitle .top-sub{display:none}#secTitle .top-t{font-size:17px}}

/* 2) Filtr va bo'lim tugmalari guruhi — oq karta (Dashboard KPI kartasi kabi) */
:root:not([data-theme="dark"]) .content .tabs,
:root:not([data-theme="dark"]) .content .fn-chips,
:root:not([data-theme="dark"]) .content .seg,
:root:not([data-theme="dark"]) .top .hdr-per .fn-chips,
:root:not([data-theme="dark"]) .top .hdr-br{
  background:var(--surface);border:0;border-radius:var(--r-pill);padding:4px;gap:2px;box-shadow:var(--card-shadow)}
.content .tabs{display:inline-flex;align-self:flex-start}
.content .tabs button,.content .tabs.sm button{padding:0 16px;min-height:38px;border-radius:var(--r-pill);font-size:14px;box-shadow:none;display:inline-flex;align-items:center;gap:6px}
.content .seg button,.content .fn-chips button,.top .hdr-per .fn-chips button{border-radius:var(--r-pill);min-height:36px}
.top .hdr-br .btn{background:transparent;border-color:transparent;border-radius:var(--r-pill)}

/* 3) Tanlangan tugma — fondan ham, qo'shnisidan ham aniq ajraladi */
.content .tabs button.on,.content .fn-chips button.on,.content .seg button.on,
.top .hdr-per .fn-chips button.on{background:var(--text);color:var(--surface);box-shadow:none}
.content .tabs button:not(.on):hover,.content .fn-chips button:not(.on):hover,.content .seg button:not(.on):hover,
.top .hdr-per .fn-chips button:not(.on):hover,.top .hdr-br .btn:hover{background:var(--surface-2);color:var(--text)}
.content .tabs button:focus-visible,.content .fn-chips button:focus-visible,.content .seg button:focus-visible{outline:2px solid var(--brand-strong);outline-offset:2px}
.content .seg{flex-wrap:wrap;align-self:flex-start;max-width:100%}.content .seg button{white-space:nowrap}

/* 4) Telefon (emulyator tekshiruvi 2026-12-03): mobil yuqori panelda sarlavhaga joy yo'q — sarlavha o'z joyida qoladi;
      bo'lim tugmalari kartasi ekranga sig'adi va ichida suriladi (sahifa yon tomonga toshmaydi) */
@media (min-width:761px){.fn-head .v4-src{display:none!important}}
@media (max-width:760px){
  #secTitle.has-head{visibility:hidden}
  .content .tabs{display:flex;max-width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .content .tabs::-webkit-scrollbar,.content .fn-chips::-webkit-scrollbar{display:none}
  .content .tabs button{flex:0 0 auto}
  .content .fn-chips{max-width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .content .fn-chips button{flex:0 0 auto}
}
/* 5) Telefon: yuqori panel tor — filial filtri oq kartasiz (padding 8px tilni ekrandan chiqarib yuborardi);
      Bosh sahifa banneri: matn to'liq kenglikda, «Ko'rsatish» tugmasi pastda o'ngda */
@media (max-width:760px){
  :root:not([data-theme="dark"]) .top .hdr-br{padding:0;gap:0;background:transparent;box-shadow:none}
  .sysal .sysal-bar{row-gap:8px}
  .sysal .sysal-bar{flex-wrap:wrap}
  .sysal .sysal-t{flex:1 1 0;min-width:0}
  .sysal .sysal-ico{flex:0 0 auto}
  .sysal .sysal-tg,.sysal .sysal-hide{flex:0 0 100%;justify-content:center}

}
/* 6) Yuqori paneldagi ikonka tugmalari (qidiruv, bildirishnoma, menyu) — oq, soyali (filtr kartalari kabi) */
:root:not([data-theme="dark"]) .top .iconbtn:not(.nav-back){background:var(--surface);box-shadow:var(--card-shadow)}
:root:not([data-theme="dark"]) .top .iconbtn:not(.nav-back):hover{background:var(--surface-2)}
/* 7) To'liq tekshiruv (2026-12-03): oddiy .btn tugmalardan yasalgan bo'lim guruhlari (Manifestlar, B2B mijozlar) va
      .fn-st holat filtrlari — boshqa guruhlar bilan bir xil: oq karta, tanlangani qora */
:root:not([data-theme="dark"]) .content .rx-c > div:not([class]):has(> button.btn.sm.primary):has(> button.btn.sm:not(.primary) ~ button.btn.sm:not(.primary)),
:root:not([data-theme="dark"]) .content .fn-st{
  background:var(--surface);border-radius:var(--r-pill);padding:4px;gap:2px;box-shadow:var(--card-shadow);width:fit-content;max-width:100%}
.content .rx-c > div:not([class]):has(> button.btn.sm.primary):has(> button.btn.sm:not(.primary) ~ button.btn.sm:not(.primary)) > button.btn,
.content .fn-st button{background:transparent;border-color:transparent;box-shadow:none;border-radius:var(--r-pill);min-height:36px;color:var(--text)}
.content .rx-c > div:not([class]):has(> button.btn.sm.primary):has(> button.btn.sm:not(.primary) ~ button.btn.sm:not(.primary)) > button.btn.primary,
.content .fn-st button.on{background:var(--text);color:var(--surface);border-color:transparent}
.content .fn-st button.on .n{color:var(--surface);opacity:.75}
.content .rx-c > div:not([class]):has(> button.btn.sm.primary):has(> button.btn.sm:not(.primary) ~ button.btn.sm:not(.primary)) > button.btn:not(.primary):hover,
.content .fn-st button:not(.on):hover{background:var(--surface-2)}
/* 8) Kartadan tashqarida, kulrang fon ustidagi oddiy tugmalar (Kirim, Excel, Sozlash, ‹ ›…) — fon bilan qo'shilib ketmasin: oq, soyali */
:root:not([data-theme="dark"]) .content .btn:not(.primary):not(.danger):not(.card *):not(.modal *):not(.drawer *):not(.rx-c > div:not([class]) > .btn){
  background:var(--surface);border-color:transparent;box-shadow:var(--card-shadow)}
:root:not([data-theme="dark"]) .content .btn:not(.primary):not(.danger):not(.card *):not(.modal *):not(.drawer *):not(.rx-c > div:not([class]) > .btn):hover{background:var(--surface-2)}
/* 9) Yagona oraliq (egasi talabi 2026-12-03, namuna — Kassalar): sahifadagi maydonlar orasida 12px.
      Tarqatish (#content[data-tms="dispatch"]) — tegilmaydi. */
#content:not([data-tms="dispatch"]){--gap-std:12px;gap:var(--gap-std)}
#content:not([data-tms="dispatch"]) > .rx-root{gap:var(--gap-std)}
#content:not([data-tms="dispatch"]) > .rx-root > :not(.rx-c):not(.tabs),
#content:not([data-tms="dispatch"]) > .rx-root > .rx-c > :not(.tabs){margin-top:0!important;margin-bottom:0!important}
#content:not([data-tms="dispatch"]) > .rx-root > .rx-c > .u-h12,
#content:not([data-tms="dispatch"]) > .rx-root > .u-h12{display:none}
/* 9b) Sahifa ichidagi o'ramlar (klassiz div) maydonlarni ustun qilib 12px bilan joylaydi; maydonlarning o'z marginlari bekor */
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> :is(.card,.tabs,.seg,.fn-kpis,.grid-kpi,.home-bar,.fn-head,.fn-bar,.fn-grid,.fn-grid2,.home-grid,.fn-alerts,.sp-head,.fbar-fb,.fn-st,div:not([class]))){
  display:flex;flex-direction:column;align-items:stretch;gap:var(--gap-std)}
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .card) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .tabs) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .seg) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-kpis) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .grid-kpi) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .home-bar) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-head) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-bar) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-grid) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-grid2) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .home-grid) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-alerts) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .sp-head) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fbar-fb) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-st) > :not(.tabs),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> div:not([class])) > :not(.tabs){
  margin-top:0!important;margin-bottom:0!important}
/* to'rlar (KPI, kartalar) va filtr qatori — bir xil 12px */
#content:not([data-tms="dispatch"]) :is(.fn-kpis,.grid-kpi,.fn-grid,.fn-grid2,.home-grid,.fn-alerts,.fn-bar){gap:var(--gap-std)}
/* inline bo'lim/filtr kartalari o'z kengligida qoladi (ustun ichida cho'zilmasin) */
#content:not([data-tms="dispatch"]) div:not([class]) > :is(.tabs,.seg,.fn-st){align-self:flex-start}
/* 9c) display:contents o'ramlar (.rx-c) orqali ham; bo'sh/ajratuvchi bloklar ikki baravar oraliq bermasin; ikki ustunli to'rlar 12px */
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .rx-c){display:flex;flex-direction:column;align-items:stretch;gap:var(--gap-std)}
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *) > .rx-c > :not(.tabs){margin-top:0!important;margin-bottom:0!important}
#content:not([data-tms="dispatch"]) .u-h12:not(.card *),
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *) > div:empty{display:none!important}
@media (min-width:761px){#content .fn-head:not(:has(> :not(.v4-src))){display:none}}
#content:not([data-tms="dispatch"]) :is(.ord-wrap,.ns-wrap,.navcfg,.ml-dgrid,.ml-dlist,.rp-grid){gap:var(--gap-std)}
#content:not([data-tms="dispatch"]) .kpis:not(.card *){display:flex;flex-direction:column;gap:var(--gap-std)}
/* 9d) Kontentdagi davr filtri o'rami ostidagi 12px ichki chekka — ustun oralig'i bilan ikki baravar bo'lmasin */
#content:not([data-tms="dispatch"]) .fbar-fb.fbar-plain{padding-bottom:0}
#content:not([data-tms="dispatch"]) .sk-right > .sk-seg{margin-bottom:0}
#content:not([data-tms="dispatch"]) .home-bar > :empty{display:none!important}

/* 10) M13 — tizim ogohlantirishi banneri (ega Bosh sahifasi; prototip tasdiqlangan 2026-12-03). Alvon — ochiq topilmalar, yashil — hammasi bartaraf. */
.sysal{margin:16px 0 4px;border-radius:14px;overflow:hidden}
.sysal svg{flex:none}
.sysal-bar{display:flex;align-items:center;gap:12px;padding:8px 8px 8px 14px;min-height:56px}
.sysal.red .sysal-bar{background:var(--down);color:#fff}
.sysal.green .sysal-bar{background:var(--up-soft);color:var(--up)}
.sysal-ico{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex:none}
.sysal.red .sysal-ico{background:rgba(255,255,255,.18)}
.sysal.green .sysal-ico{background:#fff}
.sysal-ico svg{width:18px;height:18px}
.sysal-t{flex:1;min-width:0;line-height:1.35}
.sysal-t b{font-size:15px;font-weight:600}
.sysal-t span{display:block;font-size:13px;opacity:.92}
.sysal.green .sysal-t span{color:var(--text-2);opacity:1}
.sysal-tg{font:inherit;font-size:14px;font-weight:600;min-height:44px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap;background:transparent}
.sysal.red .sysal-tg{color:#fff;border:1px solid rgba(255,255,255,.55)}
.sysal.green .sysal-tg{color:var(--up);border:1px solid transparent}
.sysal-tg svg{width:18px;height:18px;transition:transform .15s ease}
.sysal.open .sysal-tg .chev{transform:rotate(180deg)}
.sysal-tg:focus-visible{outline:2px solid #fff;outline-offset:2px}
.sysal.green .sysal-tg:focus-visible{outline-color:var(--up)}
@media (prefers-reduced-motion:reduce){.sysal-tg svg{transition:none}}

.sysal-list{display:none;list-style:none;margin:0;padding:0;border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;background:var(--surface)}
.sysal.open .sysal-list{display:block}
.sysal.open .sysal-bar{border-radius:14px 14px 0 0}
.sysal-row{display:grid;grid-template-columns:auto 1fr auto;gap:4px 12px;padding:12px 14px;border-top:1px solid var(--line);align-items:center}
.sysal-row:first-child{border-top:0}
.sysal-dot{width:8px;height:8px;border-radius:50%;background:var(--down)}
.sysal-dot.mis{background:var(--brand)}.sysal-dot.warn{background:#E08A00}.sysal-dot.okd{background:var(--up)}
.sysal-m{min-width:0}
.sysal-m h3{margin:0;font-size:14px;font-weight:600;line-height:1.4}
.sysal-meta{font-size:12.5px;color:var(--text-2)}
.sysal-meta i{font-style:normal;color:var(--text-3)}
.sysal-tip{grid-column:2/-1;font-size:13px;color:var(--text);display:flex;gap:6px;align-items:flex-start}
.sysal-tip svg{width:16px;height:16px;color:var(--brand-strong,#C9460C);margin-top:2px}
.sysal-acts{display:flex;gap:6px}
.sysal-btn{font:inherit;font-weight:600;font-size:13px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);color:var(--text);display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;white-space:nowrap;text-decoration:none}
.sysal-btn svg{width:16px;height:16px}
.sysal-btn.pri{background:var(--brand-strong,#C9460C);border-color:var(--brand-strong,#C9460C);color:#fff}
.sysal-row.done{background:var(--up-soft)}
.sysal-row.done h3{color:var(--text-2);text-decoration:line-through}
.sysal-row.done .sysal-meta{color:var(--up);font-weight:600}
.sysal-more{display:flex;justify-content:center;border-top:1px solid var(--line)}
.sysal-more button{font:inherit;font-size:13px;font-weight:600;color:var(--brand-strong,#C9460C);background:none;border:0;min-height:44px;padding:0 16px;cursor:pointer}

@media (max-width:760px){
  .sysal-bar{flex-wrap:wrap;padding:10px 10px 10px 12px}
  .sysal-t{flex:1 1 calc(100% - 44px)}
  .sysal-tg{margin-left:auto}
  .sysal-row{grid-template-columns:auto 1fr;padding:12px}
  .sysal-acts{grid-column:2/-1;order:3}
  .sysal-acts .sysal-btn{flex:1}
}

@media (max-width:760px){
  .sysal-bar{flex-wrap:nowrap}
  .sysal-t{flex:1 1 auto}
  .sysal-tg{padding:0 12px}
  .sysal-acts{flex-direction:column;align-items:stretch}
  .sysal-acts .sysal-btn{flex:none;width:100%}
}
/* 9e) K-018 (egasi qarori A, 2026-12-03): tabs-gap qulfi — .tabs pastki oralig'i 8px dan KAM bo'lmaydi. Flex ustunda .tabs ostidagi masofani
      uning o'z margini beradi (12px — standart bilan teng), keyingi maydon ustun oralig'ini qaytaradi (flex elementlarda margin yig'ilmaydi),
      .rx-c chegarasidan va yashirilgan .u-h12 ajratgichidan keyin ham. Natija: yorliqlar ostida ham 12px. */
#content:not([data-tms="dispatch"]) > .rx-root > .tabs,
#content:not([data-tms="dispatch"]) > .rx-root > .rx-c > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *) > .rx-c > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .card) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .tabs) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .seg) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-kpis) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .grid-kpi) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .home-bar) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-head) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-bar) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-grid) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-grid2) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .home-grid) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-alerts) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .sp-head) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fbar-fb) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-st) > .tabs,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> div:not([class])) > .tabs{margin-top:0!important;margin-bottom:12px!important}
#content:not([data-tms="dispatch"]) > .rx-root > .tabs + *,
#content:not([data-tms="dispatch"]) > .rx-root > .rx-c > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *) > .rx-c > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .card) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .tabs) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .seg) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-kpis) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .grid-kpi) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .home-bar) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-head) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-bar) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-grid) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-grid2) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .home-grid) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-alerts) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .sp-head) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fbar-fb) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-st) > .tabs + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> div:not([class])) > .tabs + *,
#content:not([data-tms="dispatch"]) > .rx-root > .rx-c:has(> .tabs:last-child) + .rx-c > :first-child,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *) > .rx-c:has(> .tabs:last-child) + .rx-c > :first-child,
#content:not([data-tms="dispatch"]) > .rx-root > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) > .rx-root > .rx-c > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *) > .rx-c > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .card) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .tabs) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .seg) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-kpis) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .grid-kpi) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .home-bar) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-head) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-bar) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-grid) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-grid2) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .home-grid) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-alerts) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .sp-head) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fbar-fb) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> .fn-st) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *):has(> div:not([class])) > .tabs + .u-h12 + *,
#content:not([data-tms="dispatch"]) > .rx-root > .rx-c:has(> .tabs + .u-h12:last-child) + .rx-c > :first-child,
#content:not([data-tms="dispatch"]) div:not([class]):not(.card *):not(table *) > .rx-c:has(> .tabs + .u-h12:last-child) + .rx-c > :first-child{margin-top:calc(var(--gap-std) * -1)!important}
