.member-view {
  --rail-width: 224px;
  --shell-gutter: clamp(22px, 2.7vw, 48px);
  --shell-canvas: #f5f6ef;
  --shell-forest: #14372b;
  --shell-line: #d9dfd4;
  --shell-text: #203e31;
  --shell-leaf: #d2eb89;
  background: var(--shell-canvas);
}
.member-view .masthead,
.vr-drawer-button,
.vr-backdrop { display: none; }

.member-view .layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  align-items: start;
}
.member-view #side {
  height: 100vh;
  height: 100dvh;
  padding: 0 18px 20px;
  position: sticky;
  inset-block-start: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  color: #edf3e7;
  background: var(--shell-forest);
  scrollbar-width: thin;
  scrollbar-color: #557363 transparent;
}
.vr-brandbar {
  flex: none;
  min-height: 92px;
  margin: 0 5px;
  padding: 18px 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff23;
}
.vr-brand.wordmark { color: #f9f9e9; font-size: 34px; gap: 9px; }
.vr-brand small { font-size: 7.5px; margin-left: 3px; }
.vr-brand .leaves { width: 31px; transform: scale(.89) rotate(-7deg); }
.vr-brand .leaves i { background: #d1ec95; }
.vr-brand .leaves i:nth-child(1) { background: #92b17a; }
.vr-brand .leaves i:nth-child(2) { background: #adcd84; }
.member-view #nav {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 0;
  padding: 25px 0 24px;
}
.vr-nav-group { display: grid; gap: 3px; }
.vr-group-title {
  margin: 0 11px 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #acbfaf;
  text-transform: uppercase;
}
.member-view #nav .nav-link {
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  min-height: 39px;
  color: #e1eade;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
}
.member-view #nav .nav-link:hover,
.vr-workspaces summary:hover,
.vr-workspaces a:hover { background: #ffffff12; color: white; }
.member-view #nav .nav-link[aria-current="page"] { background: var(--shell-leaf); color: #183b2c; font-weight: 700; }
.vr-icon { flex: none; }
.vr-side-bottom {
  flex: none;
  padding-top: 12px;
  border-top: 1px solid #ffffff23;
  margin: auto 3px 0;
  font-size: 12px;
}
.vr-workspaces summary,
.vr-home-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 5px;
  color: #d4e2d5;
  cursor: pointer;
  list-style: none;
  text-decoration: none;
  font-weight: 500;
}
.vr-workspaces summary::-webkit-details-marker { display: none; }
.vr-disclosure { margin-left: auto; font-size: 17px; line-height: 1; }
.vr-workspaces[open] .vr-disclosure { transform: rotate(180deg); }
.vr-workspaces a { display: block; margin: 2px 4px; padding: 8px 0 8px 32px; border-radius: 5px; text-decoration: none; }
.vr-home-link { color: #aec0b4; justify-content: space-between; }
.vr-home-link:hover { color: white; }
.member-view .shell {
  margin: 0 auto;
  width: 100%;
  max-width: 1800px;
  min-width: 0;
  padding: 0 var(--shell-gutter) clamp(26px, 4vw, 68px);
}
.member-view .member-bar {
  display: flex;
  flex-wrap: nowrap;
  min-height: 67px;
  padding: 8px var(--shell-gutter);
  margin: 0 calc(-1 * var(--shell-gutter)) clamp(24px, 2.5vw, 41px);
  border-bottom: 1px solid var(--shell-line);
  gap: 12px;
  color: var(--shell-text);
  background: #fbfcf7;
}
.vr-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.5;
}
.vr-breadcrumb a { color: #52685a; text-decoration: none; }
.vr-breadcrumb a:hover, .vr-signin:hover { text-decoration: underline; text-underline-offset: 3px; }
.vr-crumb-divider { color: #859588; }
.vr-current { overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.vr-account-actions { flex: none; display: flex; align-items: center; gap: 18px; margin-left: auto; }
.vr-signin, .vr-join, .vr-profile { font-size: 12px; font-weight: 700; text-decoration: none; }
.vr-signin, .vr-join, .vr-profile { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; }
.vr-join { gap: 8px; padding: 7px 14px; border-radius: 999px; color: #fbfaef; background: var(--shell-forest); }
.vr-join:hover { background: #29583d; }
.vr-profile { gap: 8px; color: var(--shell-text); }
.vr-profile-name { max-width: 15ch; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.vr-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e4edce; color: #345338; font-size: 11px; letter-spacing: .015em; }

.member-view .vr-drawer-button {
  flex: none;
  cursor: pointer;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--shell-line);
  color: var(--shell-text);
  background: transparent;
  border-radius: 7px;
  padding: 0;
}
.member-view #menu-close { color: #ecf2e9; border-color: #ffffff38; }

.member-view .vr-drawer-button:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }

@media (max-width: 1050px) and (min-width: 851px) {
  .member-view { --rail-width: 190px; --shell-gutter: 21px; }
  .member-view #side { padding-inline: 13px; }
}
@media (max-width: 850px) {
  .member-view { --shell-gutter: clamp(16px, 4vw, 28px); }
  .member-view .layout { display: block; }
  .member-view #side {
    display: none;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 81;
    width: min(280px, calc(100vw - 48px));
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
  .member-view #side.open { display: flex; }
  .member-view .vr-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 80; background: #0d251bad; }
  .member-view.vr-drawer-open { overflow: hidden; }
  .member-view .vr-brandbar { min-height: 74px; }
  .member-view .vr-drawer-button { display: grid; }
  .member-view #nav { gap: 19px; padding-block: 20px; }
  .member-view #nav .nav-link { min-height: 42px; }
  .member-view .member-bar { min-height: 60px; margin-bottom: 22px; gap: 11px; }
  .vr-account-actions { gap: 14px; }
}
@media (max-width: 570px) {
  .vr-breadcrumb .vr-crumb-root, .vr-crumb-root + .vr-crumb-divider { display: none; }
  .vr-account-actions { gap: 11px; }
  .vr-profile-name { display: none; }
  .vr-join { padding-inline: 11px; }
  .vr-breadcrumb { gap: 5px; }
  .vr-breadcrumb a:not(.vr-crumb-root) { max-width: 10ch; overflow: hidden; text-overflow: ellipsis; }
}

.vr-call-entry{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:7px;min-height:36px;padding:7px 12px;color:#254c37;border:1px solid #c6d6c6;border-radius:999px;background:#f4f8ec;font:600 12px/1.25 "DM Sans",sans-serif;text-decoration:none}
.vr-call-entry:hover{background:#e6efd9;border-color:#98b398}
.vr-call-entry:focus-visible{outline:3px solid #389775;outline-offset:3px}
.member-bar>.vr-call-entry{margin-left:auto}
.member-bar>.vr-call-entry+.vr-account-actions{margin-left:0}
body:is([data-page="Staff"],[data-page="Business"],[data-page="Admin"],[data-page="Support"]) .member-bar>.vr-call-entry{display:none}
body:is([data-page="Staff"],[data-page="Business"],[data-page="Admin"],[data-page="Support"]) .member-bar>.vr-account-actions{margin-left:auto}
@media(max-width:900px){.mast-actions .vr-call-entry span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.mast-actions .vr-call-entry{padding:0;width:40px;height:40px}}
@media(max-width:680px){.member-bar .vr-call-entry span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.member-bar .vr-call-entry{padding:0;width:40px;height:40px}}
@media(max-width:360px){.mast-actions{gap:6px}.mast-inner{padding-inline:12px}}

.workspace-view .member-bar {
  position: sticky;
  top: 0;
  z-index: 30;
}
.workspace-view .vr-brandbar {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 68px;
  margin-inline: 0;
  padding-block: 10px;
  background: var(--shell-forest);
}
.workspace-view.member-view #side { overscroll-behavior: contain; }
.workspace-view.member-view #nav {
  flex: none;
  gap: 14px;
  min-width: 0;
  padding: 14px 0;
}
.workspace-view .vr-nav-group { grid-template-columns: minmax(0, 1fr); }
.workspace-view.member-view #nav .nav-link {
  min-height: 36px;
  padding-block: 7px;
  overflow-wrap: anywhere;
}
.workspace-view .vr-side-bottom { margin-top: 0; padding-top: 7px; }

@media not all and (max-width: 850px) {
  .workspace-view.member-view #side {
    height: auto;
    max-height: 100vh;
    max-height: 100dvh;
    padding-bottom: 14px;
    border-end-end-radius: 14px;
  }
  .team-area.workspace-view #side {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    border-end-end-radius: 0;
  }
  .team-area.workspace-view #nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #557363 transparent;
  }
  .team-area.workspace-view .vr-side-bottom {
    max-height: 40%;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .workspace-view #menu-close,
  .workspace-view.vr-work-nav-collapsed #menu { display: grid; }
  .workspace-view.vr-work-nav-collapsed .layout { grid-template-columns: minmax(0, 1fr); }
  .workspace-view.vr-work-nav-collapsed #side { display: none; }
}
@media (max-width: 1050px) {
  .workspace-view .vr-brand.wordmark { font-size: 27px; gap: 5px; }
}
@media (max-width: 850px) {
  .workspace-view { --workspace-bar-height: 60px; }
  .workspace-view.member-view .member-bar { min-height: var(--workspace-bar-height); }
  .workspace-view.member-view #side.open {
    position: fixed;
    inset: calc(var(--workspace-bar-height) + 4px) auto auto var(--shell-gutter);
    width: min(18rem, calc(100% - 2 * var(--shell-gutter)));
    height: auto;
    max-height: calc(100vh - var(--workspace-bar-height) - 16px);
    max-height: min(30rem, calc(100dvh - var(--workspace-bar-height) - max(16px, env(safe-area-inset-bottom))));
    padding: 0 12px 10px;
    border-radius: 12px;
    box-shadow: 0 8px 30px #102b2238;
  }
  .workspace-view.member-view .vr-brandbar { min-height: 48px; padding-block: 4px; }
  .workspace-view.member-view #nav { padding-block: 9px; }
  .workspace-view.member-view #nav .nav-link { min-height: 44px; }
}
@media (max-width: 570px) {
  .workspace-view .vr-team-id { display: none; }
}
