/* RN Product: one persistent primary shell across every workspace route. */
:where(.rv-native-workspace) .rv-topbar { display: grid; grid-template-columns: calc(var(--rn-sidebar-width) - var(--rn-space-4) * 2) minmax(0, 1fr); grid-template-rows: var(--rn-space-9); gap: var(--rn-space-5); height: var(--rn-space-9); padding: 0 var(--rn-space-5) 0 var(--rn-space-4); border-bottom-color: var(--rn-neutral-200); }
:where(.rv-native-workspace) .rv-sectors { display: none; }
:where(.rv-native-workspace) .rv-sector-link { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: var(--rn-target-min); padding-inline: var(--rn-space-3); text-decoration: none; white-space: nowrap; }
:where(.rv-native-workspace) .rv-sector-link::after { content: ''; position: absolute; bottom: 0; inset-inline: var(--rn-space-3); height: calc(var(--rn-border-width) * 2); transform: scaleX(0); }
:where(.rv-native-workspace) .rv-sector-link:hover,:where(.rv-native-workspace) .rv-sector-link[aria-current] { }
:where(.rv-native-workspace) .rv-sector-link[aria-current] { }
:where(.rv-native-workspace) .rv-sector-link[aria-current]::after { transform: scaleX(1); }
:where(.rv-native-workspace) .rv-sector-more { position: relative; align-self: stretch; }
:where(.rv-native-workspace) .rv-sector-more > summary {
  display: inline-flex;
  align-items: center;
  gap: var(--rn-space-2);
  min-height: var(--rn-target-min);
  height: 100%;
  padding-inline: var(--rn-space-3);
  list-style: none;
  cursor: pointer;
}
:where(.rv-native-workspace) .rv-sector-more > summary::-webkit-details-marker { display: none; }
:where(.rv-native-workspace) .rv-sector-more > summary:hover,:where(.rv-native-workspace) .rv-sector-more[open] > summary,:where(.rv-native-workspace) .rv-sector-more.is-current > summary { }
:where(.rv-native-workspace) .rv-sector-more > summary > .rv-nav-icon {
  width: var(--rn-space-4);
  height: var(--rn-space-4);
}
:where(.rv-native-workspace) .rv-sector-more[open] > summary > .rv-nav-icon { transform: rotate(180deg); }
:where(.rv-native-workspace) .rv-sector-more > div {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: var(--rn-z-popover);
  display: grid;
  min-width: calc(var(--rn-space-12) + var(--rn-space-9));
  padding: var(--rn-space-2);
}
:where(.rv-native-workspace) .rv-sector-more > div > a {
  display: flex;
  align-items: center;
  min-height: var(--rn-target-min);
  padding-inline: var(--rn-space-3);
  text-decoration: none;
}
:where(.rv-native-workspace) .rv-sector-more > div > a:hover,:where(.rv-native-workspace) .rv-sector-more > div > a[aria-current] { }
:where(.rv-native-workspace) .rv-topbar-tools { display: flex; grid-column: 2; align-items: center; justify-content: flex-end; gap: var(--rn-space-2); min-width: 0; }
:where(.rv-native-workspace) .rv-topbar .rv-icon-button,:where(.rv-native-workspace) .rv-account-menu .rv-icon-button { width: var(--rn-target-min); min-width: var(--rn-target-min); max-width: none; height: var(--rn-target-min); padding: 0; justify-content: center; }
:where(.rv-native-workspace) .rv-topbar .rv-account-trigger { margin: 0; max-width: none; gap: var(--rn-space-2); }
:where(.rv-native-workspace) .rv-account-trigger > .rv-nav-icon { width: var(--rn-space-4); height: var(--rn-space-4); }
:where(.rv-native-workspace) .rv-topbar .rv-account-label { max-width: var(--rn-space-12); }
:where(.rv-native-workspace) .rv-topbar-logout { margin: 0; padding-left: var(--rn-space-2); border-left: var(--rn-border-width) solid var(--rn-color-border); }
:where(.rv-native-workspace) .rv-sidebar { padding-top: var(--rn-space-6); gap: var(--rn-space-5); }
:where(.rv-native-workspace) .rv-sidebar-heading { padding-inline: var(--rn-space-3); }
:where(.rv-native-workspace) .rv-sidebar-heading .rn-eyebrow { margin-bottom: var(--rn-space-2); }
:where(.rv-native-workspace) .rv-sidebar-heading h2 { margin: 0; }
:where(.rv-native-workspace) .rv-context-navigation { display: grid; gap: var(--rn-space-1); }
:where(.rv-native-workspace) .rv-context-navigation .rn-sidebar__link { display: flex; justify-content: space-between; gap: var(--rn-space-2); min-height: var(--rn-target-min); padding: var(--rn-space-2) var(--rn-space-3); }
:where(.rv-native-workspace) .rv-context-navigation .rn-sidebar__link:hover { }
:where(.rv-native-workspace) .rv-context-navigation .rn-sidebar__link[aria-current] { }
:where(.rv-native-workspace) .rv-context-link-label { display: inline-flex; align-items: center; gap: var(--rn-space-2); min-width: 0; }
:where(.rv-native-workspace) .rv-context-link-label > .rv-nav-icon { flex: 0 0 var(--rn-space-4); width: var(--rn-space-4); height: var(--rn-space-4); }
:where(.rv-native-workspace) .rv-account-menu { position: fixed; inset: calc(var(--rn-space-9) + var(--rn-space-3)) var(--rn-space-4) auto auto; margin: 0; padding: 0; width: calc(var(--rn-popover-width) + var(--rn-space-8)); max-width: calc(100% - var(--rn-space-6)); max-height: calc(100dvh - var(--rn-space-9) - var(--rn-space-5)); overflow: auto; }
:where(.rv-native-workspace) .rv-account-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--rn-space-2); padding: var(--rn-space-5); }
:where(.rv-native-workspace) .rv-account-menu-heading .rn-eyebrow { margin: 0 0 var(--rn-space-2); }
:where(.rv-native-workspace) .rv-account-menu-heading h2 { margin: 0; }
:where(.rv-native-workspace) .rv-account-identity { display: flex; align-items: center; gap: var(--rn-space-3); padding: var(--rn-space-4) var(--rn-space-5); border-block: var(--rn-border-width) solid var(--rn-color-border); overflow-wrap: anywhere; }
:where(.rv-native-workspace) .rv-account-identity > div { min-width: 0; }
:where(.rv-native-workspace) .rv-account-identity strong { }
:where(.rv-native-workspace) .rv-account-identity small { margin-top: var(--rn-space-1); }
:where(.rv-native-workspace) .rv-topbar .rv-account-trigger { padding: var(--rn-space-1) var(--rn-space-3) var(--rn-space-1) var(--rn-space-1); }
:where(.rv-native-workspace) .rv-topbar .rv-account-trigger:hover,:where(.rv-native-workspace) .rv-topbar .rv-account-trigger[aria-expanded="true"] { }
:where(.rv-native-workspace) .rv-account-trigger > .rv-nav-icon { width: var(--rn-space-4); height: var(--rn-space-4); }
:where(.rv-native-workspace) .rv-account-trigger[aria-expanded="true"] > .rv-nav-icon { transform: rotate(180deg); }
:where(.rv-native-workspace) .rv-topbar .rv-account-trigger .rv-avatar { }
:where(.rv-native-workspace) .rv-account-menu[open] { transform-origin: top right; }
:where(.rv-native-workspace) .rv-account-menu::backdrop { }
:where(.rv-native-workspace) .rv-account-menu-links a { padding-inline: var(--rn-space-2); }
:where(.rv-native-workspace) .rv-account-menu-links a:hover { }
@media (max-width: 599px) {
  :where(.rv-native-workspace) .rv-topbar .rv-account-trigger { padding: 0; }
  :where(.rv-native-workspace) .rv-account-menu { inset: auto var(--rn-space-3) var(--rn-space-3); width: auto; max-width: none; max-height: calc(100dvh - var(--rn-space-6)); }
  :where(.rv-native-workspace) .rv-account-menu[open] { transform-origin: bottom center; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.rv-native-workspace) .rv-account-menu[open] { }
  :where(.rv-native-workspace) .rv-account-trigger,:where(.rv-native-workspace) .rv-account-trigger > .rv-nav-icon,:where(.rv-native-workspace) .rv-account-menu-links a { }
}
:where(.rv-native-workspace) .rv-account-menu-links { padding: 0 var(--rn-space-5) var(--rn-space-4); }
:where(.rv-native-workspace) .rv-account-menu-links a { display: flex; align-items: center; gap: var(--rn-space-3); min-height: var(--rn-target-min); text-decoration: none; }
:where(.rv-native-workspace) .rv-account-menu-links a:hover { }
:where(.rv-native-workspace) .rv-account-exit { padding: var(--rn-space-3) var(--rn-space-4); border-top: var(--rn-border-width) solid var(--rn-color-border); }
:where(.rv-native-workspace) .rv-topbar .rv-account-exit .rn-button { width: 100%; justify-content: flex-start; gap: var(--rn-space-3); }
@media (max-width: 899px) {
  :where(.rv-native-workspace) .rv-topbar { grid-template-columns: minmax(0, 1fr) auto; padding-inline: var(--rn-space-3); gap: var(--rn-space-2); }
  :where(.rv-native-workspace) .rv-sectors,:where(.rv-native-workspace) .rv-topbar-logout,:where(.rv-native-workspace) .rv-account-trigger > .rv-nav-icon { display: none; }
  :where(.rv-native-workspace) .rv-topbar .rv-account-label { display: none; }
  :where(.rv-native-workspace) .rv-topbar-tools { gap: var(--rn-space-1); }
  :where(.rv-native-workspace) .rv-topbar .rv-account-trigger { padding: 0; width: var(--rn-target-min); }
  :where(.rv-native-workspace) .rv-topbar .rv-menu-toggle { margin-left: 0; }
  :where(.rv-native-workspace) .rv-topbar .rv-brand { min-width: 0; gap: var(--rn-space-2); }
  :where(.rv-native-workspace) .rv-brand img { width: var(--rn-space-6); height: var(--rn-space-6); }
  :where(.rv-native-workspace) .rv-mobile-navigation[open] { }
  :where(.rv-native-workspace) .rv-account-menu { inset-inline: var(--rn-space-3); }
}
@media (prefers-reduced-motion: reduce) {
  :where(.rv-native-workspace) .rv-context-navigation { }
  :where(.rv-native-workspace) .rv-sector-more > summary > .rv-nav-icon { }
}
@media (min-width: 900px) and (max-height: 700px) {
  :where(.rv-native-workspace) .rv-sidebar { padding-block: var(--rn-space-3); gap: var(--rn-space-3); }
  :where(.rv-native-workspace) .rv-sidebar-heading .rn-eyebrow,:where(.rv-native-workspace) .rv-sidebar-bottom { display: none; }
  :where(.rv-native-workspace) .rv-context-navigation { gap: 0; }
}
