/*
 * OS unified application shell v2
 *
 * This is a presentation-only layer.  It does not change navigation
 * authorization, page routing, data sources, or write boundaries.
 */
:root {
  --os-v2-canvas: #f7fafa;
  --os-v2-surface: #ffffff;
  --os-v2-ink: #15272c;
  --os-v2-muted: #66777c;
  --os-v2-line: #e1eaec;
  --os-v2-line-strong: #cbdadd;
  --os-v2-brand: #00b4c1;
  --os-v2-brand-deep: #08717a;
  --os-v2-brand-soft: #e8f9fa;
  --os-v2-accent: #fabe00;
}

html[data-os-unified-v2="1"],
html[data-os-unified-v2="1"] body {
  background: var(--os-v2-canvas);
  color: var(--os-v2-ink);
}

html[data-os-unified-v2="1"] .sidebar,
html[data-os-unified-v2="1"] .rail {
  background: var(--os-v2-surface) !important;
  color: var(--os-v2-ink) !important;
  border-right: 1px solid var(--os-v2-line) !important;
  box-shadow: none !important;
}

html[data-os-unified-v2="1"] .sidebar {
  width: 200px;
}

html[data-os-unified-v2="1"] .rail {
  width: 200px;
}

html[data-os-unified-v2="1"] .shell {
  margin-left: 200px;
}

html[data-os-embedded="1"] .rail,
html[data-os-embedded="1"] .mobile-global-nav {
  display: none !important;
}

html[data-os-embedded="1"] .shell {
  margin-left: 0 !important;
}

/* Module shells already offset the content wrapper; a legacy main margin
   must not apply a second sidebar offset (organization/talent pages). */
html[data-os-unified-v2="1"] .rail + .shell > main {
  margin-left: 0 !important;
  min-width: 0;
}

html[data-os-unified-v2="1"] .rail + main {
  margin-left: 200px !important;
}

html[data-os-unified-v2="1"] .sidebar .brand,
html[data-os-unified-v2="1"] .rail .brand {
  min-height: 68px;
  height: 68px;
  padding: 0 18px !important;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--os-v2-line) !important;
  background: #fff !important;
  color: var(--os-v2-ink) !important;
}

html[data-os-unified-v2="1"] .sidebar .brand-mark,
html[data-os-unified-v2="1"] .rail .brand-mark,
html[data-os-unified-v2="1"] .rail .mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--os-v2-brand);
  box-shadow: none;
}

html[data-os-unified-v2="1"] .sidebar .brand-mark img,
html[data-os-unified-v2="1"] .rail .brand-mark img,
html[data-os-unified-v2="1"] .rail .mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html[data-os-unified-v2="1"] .sidebar .brand-copy h1,
html[data-os-unified-v2="1"] .sidebar .brand-copy p {
  display: none;
}

html[data-os-unified-v2="1"] .sidebar .brand-copy,
html[data-os-unified-v2="1"] .rail .brand > span:last-child {
  min-width: 0;
  white-space: nowrap;
}

html[data-os-unified-v2="1"] .sidebar .brand-wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
}

html[data-os-unified-v2="1"] .sidebar .brand-wordmark img {
  display: none;
}

html[data-os-unified-v2="1"] .sidebar .brand-wordmark span,
html[data-os-unified-v2="1"] .rail .brand small {
  color: var(--os-v2-brand-deep) !important;
  font-size: 11px;
  font-weight: 750;
}

html[data-os-unified-v2="1"] .sidebar .brand-wordmark::before {
  content: '星帮尼';
  color: var(--os-v2-ink);
  font-size: 15px;
  font-weight: 780;
}

html[data-os-unified-v2="1"] .sidebar .nav,
html[data-os-unified-v2="1"] .rail .global-nav {
  padding: 14px 10px !important;
  gap: 3px !important;
}

html[data-os-unified-v2="1"] .sidebar .nav button,
html[data-os-unified-v2="1"] .rail .global-nav a {
  position: relative;
  min-height: 42px !important;
  border-radius: 7px !important;
  padding: 0 11px !important;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #52656a !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

html[data-os-unified-v2="1"] .sidebar .nav button:hover,
html[data-os-unified-v2="1"] .rail .global-nav a:hover {
  color: var(--os-v2-brand-deep) !important;
  background: #f2fbfb !important;
}

html[data-os-unified-v2="1"] .sidebar .nav button.active,
html[data-os-unified-v2="1"] .rail .global-nav a.active {
  color: var(--os-v2-brand-deep) !important;
  background: var(--os-v2-brand-soft) !important;
  font-weight: 760;
}

html[data-os-unified-v2="1"] .sidebar .nav button.active::before,
html[data-os-unified-v2="1"] .rail .global-nav a.active::before {
  left: -10px !important;
  width: 3px !important;
  background: var(--os-v2-brand) !important;
}

html[data-os-unified-v2="1"] .sidebar .nav svg,
html[data-os-unified-v2="1"] .rail .global-nav svg,
html[data-os-unified-v2="1"] .sidebar .nav i,
html[data-os-unified-v2="1"] .rail .global-nav i {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: currentColor;
}

html[data-os-unified-v2="1"] .rail .global-nav svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-os-unified-v2="1"] .nav-apps-menu {
  margin: 8px 0 0;
  border: 1px dashed #b9dfe1;
  border-radius: 8px;
  background: #fff;
}

html[data-os-unified-v2="1"] .nav-apps-menu.navigation-popover-open {
  z-index: 1500;
}

html[data-os-unified-v2="1"] .nav-apps-menu > summary {
  min-height: 42px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--os-v2-brand-deep);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
}

html[data-os-unified-v2="1"] .nav-apps-menu > summary::-webkit-details-marker {
  display: none;
}

html[data-os-unified-v2="1"] .nav-apps-popover {
  position: fixed;
  z-index: 1501;
  left: 230px;
  right: auto;
  top: auto;
  bottom: 16px;
  width: min(438px, calc(100vw - 246px));
  max-height: min(520px, calc(100vh - 24px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow: auto;
  border-top: 1px solid var(--os-v2-line);
  padding: 8px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(17, 63, 71, .24);
}

html[data-os-unified-v2="1"] .nav-apps-popover-head {
  grid-column: 1 / -1;
}

html[data-os-unified-v2="1"] .nav-apps-popover-head span {
  color: var(--os-v2-muted);
  font-size: 11px;
}

html[data-os-unified-v2="1"] .nav-apps-popover > button {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  padding: 0 9px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  color: var(--os-v2-ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

html[data-os-unified-v2="1"] .nav-apps-popover > button:hover {
  background: var(--os-v2-brand-soft);
}

html[data-os-unified-v2="1"] .nav-apps-popover-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 4px 9px 8px;
  color: var(--os-v2-ink);
}

html[data-os-unified-v2="1"] .nav-apps-popover-head span {
  color: var(--os-v2-muted);
  font-size: 11px;
}

html[data-os-unified-v2="1"] .nav-apps-popover > button {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  padding: 0 9px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  color: var(--os-v2-ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

html[data-os-unified-v2="1"] .nav-apps-popover > button small {
  color: var(--os-v2-muted);
  font-size: 11px;
}

html[data-os-unified-v2="1"] .nav-apps-empty {
  grid-column: 1 / -1;
  padding: 10px 9px;
  color: var(--os-v2-muted);
  font-size: 12px;
}

@media (min-width: 761px) {
  html[data-os-unified-v2="1"] .sidebar.navigation-popover-open,
  html[data-os-unified-v2="1"] .rail.navigation-popover-open {
    z-index: 1500 !important;
  }
}

/*
 * Level-2 navigation is module-owned. The shared shell owns only this visual
 * contract: sizing, brand states, focus treatment, and responsive overflow.
 * A module remains responsible for its labels, order, permissions, and routes.
 */
html[data-os-unified-v2="1"] [data-os-nav-level="2"].os-secondary-nav {
  --os-secondary-nav-brand: var(--os-v2-brand);
  --os-secondary-nav-deep: var(--os-v2-brand-deep);
  --os-secondary-nav-soft: var(--os-v2-brand-soft);
  --os-secondary-nav-ink: var(--os-v2-ink);
  --os-secondary-nav-muted: var(--os-v2-muted);
  --os-secondary-nav-line: var(--os-v2-line);
  color: var(--os-secondary-nav-ink);
}

html[data-os-unified-v2="1"] [data-os-nav-level="2"].os-secondary-nav .os-secondary-nav__item {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--os-secondary-nav-ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}

html[data-os-unified-v2="1"] [data-os-nav-level="2"].os-secondary-nav .os-secondary-nav__item:hover,
html[data-os-unified-v2="1"] [data-os-nav-level="2"].os-secondary-nav .os-secondary-nav__item:focus-visible,
html[data-os-unified-v2="1"] [data-os-nav-level="2"].os-secondary-nav .os-secondary-nav__item.active,
html[data-os-unified-v2="1"] [data-os-nav-level="2"].os-secondary-nav .os-secondary-nav__item[aria-current="page"] {
  color: var(--os-secondary-nav-deep);
  background: var(--os-secondary-nav-soft);
  border-color: color-mix(in srgb, var(--os-secondary-nav-brand) 42%, white);
}

html[data-os-unified-v2="1"] [data-os-nav-level="2"].os-secondary-nav .os-secondary-nav__item:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--os-secondary-nav-brand) 55%, white);
  outline-offset: 1px;
}

html[data-os-unified-v2="1"] [data-os-nav-level="2"].os-secondary-nav .os-secondary-nav__item small {
  color: var(--os-secondary-nav-muted);
}

html[data-os-unified-v2="1"] [data-os-nav-level="2"].os-secondary-nav {
  scrollbar-width: thin;
  scrollbar-color: var(--os-secondary-nav-line) transparent;
}

@media (max-width: 760px) {
  html[data-os-unified-v2="1"] [data-os-nav-level="2"].os-secondary-nav {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
}

@media (max-width: 760px) {
  html[data-os-unified-v2="1"] .sidebar,
  html[data-os-unified-v2="1"] .rail {
    width: 188px;
  }
  html[data-os-unified-v2="1"] .shell {
    margin-left: 188px;
  }
  html[data-os-unified-v2="1"] .sidebar .brand,
  html[data-os-unified-v2="1"] .rail .brand {
    padding-inline: 12px !important;
  }
  html[data-os-unified-v2="1"] .sidebar .nav,
  html[data-os-unified-v2="1"] .rail .global-nav {
    padding-inline: 7px !important;
  }
  html[data-os-unified-v2="1"] .sidebar .nav button,
  html[data-os-unified-v2="1"] .rail .global-nav a {
    gap: 7px;
    padding-inline: 8px !important;
    font-size: 12px;
  }
}

html[data-os-unified-v2="1"] .sidebar-footer,
html[data-os-unified-v2="1"] .rail-account {
  border-top: 1px solid var(--os-v2-line) !important;
  background: #fff !important;
  color: var(--os-v2-ink) !important;
}

html[data-os-unified-v2="1"] .sidebar-account,
html[data-os-unified-v2="1"] .rail-account {
  color: var(--os-v2-ink) !important;
}

html[data-os-unified-v2="1"] .rail .rail-account {
  margin-top: auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}
html[data-os-unified-v2="1"] .rail .rail-account b,
html[data-os-unified-v2="1"] .rail .rail-account small { display: block; }
html[data-os-unified-v2="1"] .rail .rail-account small { font-size: 11px; color: var(--os-v2-muted); }
html[data-os-unified-v2="1"] .rail .rail-account .avatar {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--os-v2-brand-soft); color: var(--os-v2-brand-deep);
}
html[data-os-unified-v2="1"] .mobile-global-nav { display: none; }
@media (max-width: 760px) {
  html[data-os-unified-v2="1"] body:has(> .mobile-global-nav) {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
  html[data-os-unified-v2="1"] .mobile-global-nav {
    position: fixed; inset: auto 0 0; z-index: 90;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 64px; padding-bottom: env(safe-area-inset-bottom);
    background: var(--os-v2-surface); border-top: 1px solid var(--os-v2-line);
  }
  html[data-os-unified-v2="1"] .mobile-global-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; min-height: 44px; min-width: 0; font-size: 11px;
    color: var(--os-v2-muted); text-decoration: none;
  }
  html[data-os-unified-v2="1"] .mobile-global-nav svg {
    display: block; width: 20px; height: 20px; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  }
  html[data-os-unified-v2="1"] .nav-apps-popover {
    position: static;
    z-index: auto;
    width: auto;
    max-height: none;
    box-shadow: none;
  }
}

html[data-os-unified-v2="1"] .topbar,
html[data-os-unified-v2="1"] .mobile-app-bar {
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid var(--os-v2-line) !important;
  box-shadow: none !important;
}

html[data-os-unified-v2="1"] .main,
html[data-os-unified-v2="1"] .content,
html[data-os-unified-v2="1"] main {
  background: var(--os-v2-canvas);
}

html[data-os-unified-v2="1"] .panel,
html[data-os-unified-v2="1"] .card,
html[data-os-unified-v2="1"] .role-card,
html[data-os-unified-v2="1"] .metric,
html[data-os-unified-v2="1"] .target-card {
  border-color: var(--os-v2-line) !important;
  border-radius: 9px !important;
  box-shadow: 0 2px 9px rgba(21, 39, 44, .035) !important;
}

html[data-os-unified-v2="1"] .panel > header,
html[data-os-unified-v2="1"] .card > header {
  border-bottom-color: var(--os-v2-line) !important;
}

html[data-os-unified-v2="1"] .page-head h1,
html[data-os-unified-v2="1"] .page-head h2,
html[data-os-unified-v2="1"] .page-head h3,
html[data-os-unified-v2="1"] .section-head h2,
html[data-os-unified-v2="1"] .section-head h3 {
  color: var(--os-v2-ink);
}

html[data-os-unified-v2="1"] .page-head p,
html[data-os-unified-v2="1"] .panel > header span,
html[data-os-unified-v2="1"] .muted,
html[data-os-unified-v2="1"] .empty-inline {
  color: var(--os-v2-muted);
}

/* The module-specific teal hero is still useful as emphasis, but it should
   no longer define the entire page's visual language. */
html[data-os-unified-v2="1"] .role-card.primary,
html[data-os-unified-v2="1"] .pulse-card.pulse-primary {
  background: #fff !important;
  color: var(--os-v2-ink) !important;
  border-top: 3px solid var(--os-v2-brand) !important;
}

html[data-os-unified-v2="1"] .role-card.primary h1,
html[data-os-unified-v2="1"] .role-card.primary h2,
html[data-os-unified-v2="1"] .role-card.primary h3,
html[data-os-unified-v2="1"] .role-card.primary b,
html[data-os-unified-v2="1"] .role-card.primary p,
html[data-os-unified-v2="1"] .role-card.primary span,
html[data-os-unified-v2="1"] .pulse-card.pulse-primary h1,
html[data-os-unified-v2="1"] .pulse-card.pulse-primary h2,
html[data-os-unified-v2="1"] .pulse-card.pulse-primary h3,
html[data-os-unified-v2="1"] .pulse-card.pulse-primary b,
html[data-os-unified-v2="1"] .pulse-card.pulse-primary p,
html[data-os-unified-v2="1"] .pulse-card.pulse-primary span {
  color: var(--os-v2-ink) !important;
}

html[data-os-unified-v2="1"] .primary,
html[data-os-unified-v2="1"] .primary-btn {
  background: var(--os-v2-brand) !important;
  border-color: var(--os-v2-brand) !important;
}

html[data-os-unified-v2="1"] .primary:hover,
html[data-os-unified-v2="1"] .primary-btn:hover {
  background: var(--os-v2-brand-deep) !important;
}

html[data-os-unified-v2="1"] button:focus-visible,
html[data-os-unified-v2="1"] a:focus-visible,
html[data-os-unified-v2="1"] input:focus-visible,
html[data-os-unified-v2="1"] select:focus-visible {
  outline: 2px solid var(--os-v2-brand);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  html[data-os-unified-v2="1"] .sidebar,
  html[data-os-unified-v2="1"] .rail {
    width: 200px;
  }

  html[data-os-unified-v2="1"] .shell {
    margin-left: 200px;
  }
}

@media (max-width: 760px) {
  html[data-os-unified-v2="1"] .sidebar,
  html[data-os-unified-v2="1"] .rail {
    display: none;
  }

  /* 移动端默认隐藏桌面侧栏；打开“更多”时必须恢复为可见抽屉。 */
  html[data-os-unified-v2="1"] body.mobile-nav-open .sidebar {
    display: flex;
    width: 188px !important;
    max-width: calc(100vw - 24px);
  }

  html[data-os-unified-v2="1"] .shell {
    margin-left: 0;
  }
}

/* At half-screen desktop widths keep the client-style named navigation.
   Hiding labels made the web shell look broken and made returning home
   ambiguous; the compact desktop contract is a 200px named rail. */
@media (min-width: 761px) and (max-width: 1100px) {
  html[data-os-unified-v2="1"] .sidebar,
  html[data-os-unified-v2="1"] .rail {
    width: 200px !important;
  }
  html[data-os-unified-v2="1"] .shell {
    margin-left: 200px !important;
  }
  html[data-os-unified-v2="1"] .sidebar .brand,
  html[data-os-unified-v2="1"] .rail .brand { justify-content: flex-start !important; }
  html[data-os-unified-v2="1"] .sidebar .nav button[data-target],
  html[data-os-unified-v2="1"] .rail .global-nav a {
    width: 100%;
    justify-content: flex-start;
    padding-inline: 11px !important;
  }
  html[data-os-unified-v2="1"] .sidebar .brand-copy,
  html[data-os-unified-v2="1"] .rail .brand > span:last-child,
  html[data-os-unified-v2="1"] .rail .rail-account > span:last-child,
  html[data-os-unified-v2="1"] .sidebar .nav button[data-target] > span:not(.nav-count),
  html[data-os-unified-v2="1"] .rail .global-nav a > span {
    display: inline-block !important;
    white-space: nowrap;
  }
  html[data-os-unified-v2="1"] .sidebar .nav,
  html[data-os-unified-v2="1"] .rail .global-nav {
    min-width: 0;
    overflow-y: auto;
  }
  html[data-os-unified-v2="1"] .nav-apps-menu {
    width: auto !important;
    max-width: 100%;
  }
}

@media (min-width: 761px) {
  html[data-os-unified-v2="1"] body[data-role="ceo"] .topbar #desktopTodoAction,
  html[data-os-unified-v2="1"] .topbar #desktopTodoAction {
    display: inline-flex !important;
  }
}

/* One desktop navigation contract: a narrow icon rail is a view of the same
   navigation, not a second navigation system. */
.os-global-nav-toggle {
  display: none;
}

@media (min-width: 761px) {
  html[data-os-unified-v2="1"] .os-global-nav-toggle {
    position: absolute;
    top: 17px;
    right: 9px;
    z-index: 20;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 7px;
    color: var(--os-v2-muted);
    background: transparent;
    cursor: pointer;
  }

  html[data-os-unified-v2="1"] .os-global-nav-toggle:hover,
  html[data-os-unified-v2="1"] .os-global-nav-toggle:focus-visible {
    color: var(--os-v2-brand-deep);
    background: var(--os-v2-brand-soft);
  }

  html[data-os-unified-v2="1"] .os-global-nav-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .app:has(> .sidebar),
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .app:has(> .rail) {
    grid-template-columns: 68px minmax(0, 1fr) !important;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .sidebar,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .rail:not(.task-rail),
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar {
    width: 68px !important;
    min-width: 68px !important;
    flex-basis: 68px !important;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .shell,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .rail:not(.task-rail) + main {
    margin-left: 68px !important;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .main {
    width: calc(100vw - 68px) !important;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-app {
    --sidebar: 68px;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .sidebar .brand,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .rail:not(.task-rail) .brand,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar .os-brand {
    justify-content: center !important;
    padding-inline: 0 !important;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .sidebar .brand-copy,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .sidebar .brand-wordmark,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .rail:not(.task-rail) .brand > span:last-child,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .rail:not(.task-rail) .rail-account > span:last-child,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar .os-brand-lockup strong,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar .os-brand-lockup small,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar .os-account b,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar .os-account small {
    display: none !important;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar .os-brand-lockup > img {
    width: 38px;
    height: 38px;
    object-fit: cover;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .sidebar .nav,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .rail:not(.task-rail) .global-nav,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar .os-nav {
    padding-inline: 7px !important;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .sidebar .nav button,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .rail:not(.task-rail) .global-nav a,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar .os-nav a {
    justify-content: center !important;
    gap: 0 !important;
    padding-inline: 0 !important;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .sidebar .nav > button > span:not(.nav-count),
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .rail:not(.task-rail) .global-nav a > span,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar .os-nav a > span,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .nav-apps-menu > summary > span {
    display: none !important;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .nav-apps-menu > summary {
    justify-content: center !important;
    padding-inline: 0 !important;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .sidebar-footer,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .rail:not(.task-rail) .rail-account,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar-footer {
    padding-inline: 7px !important;
  }

  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .sidebar-account,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .rail:not(.task-rail) .rail-account,
  html[data-os-unified-v2="1"][data-os-nav-collapsed="1"] .os-sidebar .os-account {
    justify-content: center !important;
    grid-template-columns: 34px !important;
  }
}
