:root {
  --app-shell-rail-width: 72px;
  --app-shell-drawer-width: 288px;
  --app-shell-header-height: 72px;
  --app-shell-mobile-header-height: 56px;
  --app-shell-content-max: 1280px;
  --app-shell-mobile-nav-height: 68px;
  --app-shell-mobile-action-height: 56px;
  --app-shell-ink: #181918;
  --app-shell-muted: #686c68;
  --app-shell-line: #dfe2de;
  --app-shell-canvas: #f5f6f3;
  --app-shell-surface: #ffffff;
  --app-shell-rail: #202321;
  --app-shell-active: #dfff65;
  --app-shell-accent: #d95843;
}

body[data-app-shell] {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  color: var(--app-shell-ink);
  background: var(--app-shell-canvas);
}

body[data-app-shell].is-overlay-open {
  overflow: hidden;
  padding-right: var(--app-shell-scrollbar-width, 0);
}

body[data-app-shell] .app-frame {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding-left: var(--app-shell-rail-width);
  border: 0 !important;
  background: var(--app-shell-surface);
}

body[data-app-shell] :is(.site-column, .workspace) {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  background: var(--app-shell-surface);
}

body[data-app-shell][data-content-width="standard"] :is(.site-column, .workspace) > main {
  width: min(100%, var(--app-shell-content-max));
  max-width: var(--app-shell-content-max) !important;
  margin-inline: auto;
}

body[data-app-shell][data-content-gutter="search"] :is(.site-column, .workspace) > main {
  width: min(calc(100% - 64px), 1240px);
  max-width: 1240px !important;
}

body[data-app-shell] .app-shell-rail {
  position: fixed !important;
  inset: 0 auto 0 0 !important;
  z-index: 120;
  display: flex !important;
  width: var(--app-shell-rail-width) !important;
  height: 100dvh !important;
  min-height: 0 !important;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 !important;
  color: #f7f7f4;
  background: var(--app-shell-rail) !important;
  border: 0 !important;
}

body[data-app-shell] .app-shell-rail .rail-nav {
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin: 24px 0 0 !important;
  padding: 0;
}

body[data-app-shell] .app-shell-rail .rail-button {
  position: relative;
  display: grid;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0 !important;
  color: #f7f7f4 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 20px !important;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

body[data-app-shell] .app-shell-rail .rail-button:hover,
body[data-app-shell] .app-shell-rail .rail-button:focus-visible {
  background: #383c38 !important;
  outline: 3px solid rgb(223 255 101 / 34%) !important;
  outline-offset: 1px;
}

body[data-app-shell] .app-shell-rail .rail-button.is-active {
  color: var(--app-shell-ink) !important;
  background: var(--app-shell-active) !important;
}

body[data-app-shell] .app-shell-rail .rail-button::after {
  position: absolute;
  top: 50%;
  left: 54px;
  z-index: 170;
  width: max-content;
  max-width: 180px;
  padding: 7px 9px;
  color: #fff;
  background: #111;
  border-radius: 4px;
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-3px, -50%);
  transition: 140ms ease;
  white-space: nowrap;
}

body[data-app-shell] .app-shell-rail .rail-button:hover::after,
body[data-app-shell] .app-shell-rail .rail-button:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

body[data-app-shell] .app-shell-rail .rail-badge {
  position: absolute;
  top: -2px;
  right: -3px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  color: #fff;
  background: var(--app-shell-accent);
  border: 2px solid var(--app-shell-rail);
  border-radius: 9px;
  font-size: 9px;
  line-height: 1;
}

body[data-app-shell] .app-shell-context-link {
  margin-top: auto;
}

.app-shell-scrim {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgb(17 19 18 / 44%);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.app-shell-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.app-shell-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 210;
  width: var(--app-shell-drawer-width);
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  color: #f7f7f4;
  background: var(--app-shell-rail);
  box-shadow: 18px 0 46px rgb(15 17 16 / 26%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.app-shell-drawer::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.app-shell-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.app-shell-drawer__header {
  display: flex;
  height: var(--app-shell-header-height);
  align-items: center;
  gap: 16px;
  padding: 0 18px 0 14px;
  border-bottom: 1px solid #3b3f3c;
}

.app-shell-drawer__close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 23px;
  cursor: pointer;
}

.app-shell-drawer__close:hover,
.app-shell-drawer__close:focus-visible {
  background: #383c38;
  outline: 3px solid rgb(223 255 101 / 34%);
}

.app-shell-drawer__nav {
  padding: 12px 10px 28px;
}

.app-shell-drawer__group {
  padding: 12px 0;
  border-top: 1px solid #3b3f3c;
}

.app-shell-drawer__group:first-child {
  padding-top: 0;
  border-top: 0;
}

.app-shell-drawer__label {
  display: block;
  padding: 3px 12px 8px;
  color: #aeb3af;
  font-size: 11px;
  font-weight: 800;
}

.app-shell-drawer__link {
  display: grid;
  width: 100%;
  min-height: 46px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  padding: 0 12px;
  color: #f7f7f4;
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

.app-shell-drawer__link:hover,
.app-shell-drawer__link:focus-visible {
  background: #383c38;
  outline: 0;
}

.app-shell-drawer__link.is-active {
  color: var(--app-shell-ink);
  background: var(--app-shell-active);
  font-weight: 800;
}

.app-shell-drawer__icon {
  display: grid;
  width: 24px;
  place-items: center;
  font-size: 18px;
}

.app-shell-drawer__meta {
  color: #c9cdc8;
  font-size: 11px;
  font-style: normal;
}

.app-shell-drawer__link.is-active .app-shell-drawer__meta {
  color: currentColor;
}

.shell-header {
  position: sticky !important;
  top: 0;
  z-index: 95;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  height: var(--app-shell-header-height) !important;
  max-height: var(--app-shell-header-height);
  min-height: var(--app-shell-header-height) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgb(255 255 255 / 96%) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--app-shell-line) !important;
  backdrop-filter: blur(14px);
}

body[data-header-context-mode] .shell-header {
  height: auto !important;
  max-height: none;
}

.shell-header__inner {
  position: relative;
  display: flex !important;
  box-sizing: border-box;
  width: min(100%, var(--app-shell-content-max)) !important;
  height: var(--app-shell-header-height) !important;
  min-height: var(--app-shell-header-height) !important;
  align-items: center;
  gap: 16px;
  margin-inline: auto !important;
  padding: 0 32px !important;
}

.shell-header__leading,
.shell-header__actions,
.shell-header__tools {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.shell-header__leading {
  flex: 0 1 auto;
}

.shell-header--account .shell-header__leading,
.shell-header--host .shell-header__leading {
  flex: 1 1 auto;
}

.shell-header__brand {
  display: flex;
  min-width: 82px;
  height: 44px;
  align-items: center;
  color: var(--app-shell-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.shell-header__brand b {
  display: none;
  font-size: 18px;
}

.shell-header__divider {
  width: 1px;
  height: 18px;
  flex: 0 0 auto;
  background: var(--app-shell-line);
}

.shell-header__context {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.shell-header__context small {
  color: var(--app-shell-muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.shell-header__context strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shell-header__search {
  display: flex;
  width: min(100%, 760px);
  min-width: 220px;
  height: 42px;
  flex: 1 1 640px;
  align-items: center;
  margin-inline: auto;
  overflow: hidden;
  background: #f0f2ee;
  border: 1px solid transparent;
  border-radius: 8px;
}

.shell-header__search:focus-within {
  background: #fff;
  border-color: #aeb4ad;
  box-shadow: 0 0 0 3px rgb(24 25 24 / 7%);
}

.shell-header__search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 14px;
  color: var(--app-shell-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 13px;
}

.shell-header__search button,
.shell-header__icon-button,
.shell-header__profile-button,
.shell-header__detail :is(a, button),
.shell-header__invitation-task > button {
  display: grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  place-items: center;
  padding: 0;
  color: var(--app-shell-ink);
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font: inherit;
  cursor: pointer;
}

.shell-header__search button {
  border-radius: 0;
}

.shell-header__icon-button,
.shell-header__profile-button {
  position: relative;
}

.shell-header__icon-button:hover,
.shell-header__icon-button:focus-visible,
.shell-header__profile-button:hover,
.shell-header__profile-button:focus-visible,
.shell-header__detail :is(a, button):hover,
.shell-header__detail :is(a, button):focus-visible,
.shell-header__invitation-task > button:hover,
.shell-header__invitation-task > button:focus-visible {
  background: #f0f2ee;
  outline: 2px solid transparent;
}

.shell-header__icon-button b {
  position: absolute;
  top: 0;
  right: -1px;
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  padding: 0 4px;
  color: #fff;
  background: var(--app-shell-accent);
  border: 2px solid #fff;
  border-radius: 9px;
  font-size: 9px;
  line-height: 1;
}

.shell-header__tools {
  position: relative;
  margin-left: auto;
}

.shell-header--discovery .shell-header__tools:empty {
  display: none;
}

.shell-header__meta {
  padding: 7px 10px;
  color: var(--app-shell-muted);
  background: #f0f2ee;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.shell-header__primary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  color: #fff;
  text-decoration: none;
  background: var(--app-shell-ink);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.shell-header__actions {
  position: relative;
  flex: 0 0 auto;
}

.shell-header__profile-button {
  display: flex;
  width: auto;
  min-width: 44px;
  gap: 6px;
  padding: 0 8px;
  border-radius: 22px;
  font-size: 11px;
  font-weight: 800;
}

.shell-header__profile-button .profile-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: #e8eae6;
  border-radius: 50%;
}

.shell-header__profile-button .login-label {
  display: none;
}

body.is-logged-out .shell-header__profile-name,
body.is-logged-out .shell-header__profile-button > span:last-child,
body.is-logged-out [data-profile-auth] {
  display: none;
}

body.is-logged-out .shell-header__profile-button .login-label,
body:not(.is-logged-out) [data-profile-auth] {
  display: block;
}

body:not(.is-logged-out) [data-profile-guest] {
  display: none;
}

.shell-header__popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 180;
  width: min(320px, calc(100vw - 24px));
  max-height: min(480px, calc(100dvh - 92px));
  overflow-y: auto;
  color: var(--app-shell-ink);
  background: #fff;
  border: 1px solid var(--app-shell-line);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgb(25 28 25 / 16%);
}

.shell-header__popover[hidden] {
  display: none !important;
}

#notification-popover {
  right: 52px;
}

.shell-header__popover-title {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--app-shell-line);
}

.shell-header__popover-title button {
  color: var(--app-shell-muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.shell-header__notification {
  display: flex;
  width: 100%;
  min-height: 58px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 10px 14px;
  color: var(--app-shell-ink);
  text-align: left;
  text-decoration: none;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf0ec;
  font: inherit;
  cursor: pointer;
}

.shell-header__notification.is-unread {
  background: #f7f9f3;
}

.shell-header__notification strong {
  font-size: 12px;
}

.shell-header__notification span,
.shell-header__create-menu span {
  color: var(--app-shell-muted);
  font-size: 10px;
}

.shell-header__profile-menu {
  width: 220px;
  padding: 6px;
}

.shell-header__profile-menu :is(a, button),
.shell-header__create-menu :is(a, button) {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  color: var(--app-shell-ink);
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.shell-header__profile-menu :is(a, button):hover,
.shell-header__create-menu :is(a, button):hover {
  background: #f0f2ee;
}

.shell-header__profile-primary {
  font-weight: 850 !important;
}

.shell-header__profile-group {
  margin-block: 4px;
  padding-block: 4px;
  border-block: 1px solid var(--app-shell-line);
}

.shell-header__create-menu {
  width: 260px;
}

.shell-header__create-menu :is(a, button) {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.shell-header__detail {
  display: none;
}

.shell-header__invitation-task {
  display: none;
}

body[data-shell-context="invitation"][data-header-variant="task"] .shell-header__leading,
body[data-shell-context="invitation"][data-header-variant="task"] .shell-header__search,
body[data-shell-context="invitation"][data-header-variant="task"] .shell-header__tools,
body[data-shell-context="invitation"][data-header-variant="task"] .shell-header__actions,
body[data-shell-context="invitation"][data-header-variant="task"] .shell-header__detail {
  display: none !important;
}

body[data-shell-context="invitation"][data-header-variant="task"] .shell-header__invitation-task {
  display: grid;
  width: 100%;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.shell-header__invitation-task > span:first-of-type {
  display: grid;
  min-width: 0;
  gap: 2px;
  text-align: center;
}

.shell-header__invitation-task small {
  color: var(--app-shell-muted);
  font-size: 10px;
  font-weight: 800;
}

.shell-header__invitation-task strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shell-header__invitation-meta {
  min-width: 72px;
  color: var(--app-shell-muted);
  text-align: right;
  font-size: 10px;
  font-weight: 800;
}

body[data-app-shell][data-shell-context="invitation"][data-header-variant="task"] :is(.focus-header, .guest-detail-header) {
  display: none !important;
}

.shell-header--task .shell-header__inner--task {
  justify-content: space-between;
}

.shell-header--task .shell-header__leading {
  flex: 1 1 auto;
}

.shell-header--task .shell-header__leading > :is(.back-button, .icon-button) {
  display: grid;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  padding: 0 !important;
  color: var(--app-shell-ink);
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  line-height: 1;
}

.shell-header--task .shell-header__leading > :is(.back-button, .icon-button):hover,
.shell-header--task .shell-header__leading > :is(.back-button, .icon-button):focus-visible {
  background: #eef0eb !important;
}

.shell-header--task .wordmark {
  font-size: 14px !important;
  font-weight: 950;
  letter-spacing: 0;
}

.shell-header--task .header-divider {
  height: 18px !important;
}

.shell-header--task .header-title {
  font-size: 14px !important;
  line-height: 1.35;
}

.shell-header__step {
  flex: 0 0 auto;
  color: var(--app-shell-muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.shell-header--task:has(.stepper) .shell-header__step {
  display: none;
}

.shell-header__save {
  color: var(--app-shell-muted) !important;
  font-size: 11px !important;
  white-space: nowrap;
}

.shell-header__progress {
  display: none !important;
}

body[data-header-context-mode] .shell-header__progress {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  width: 100% !important;
  min-height: 34px !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px !important;
  color: var(--app-shell-muted);
  background: #f7f8f5;
  border: 0 !important;
  border-top: 1px solid var(--app-shell-line) !important;
  font-size: 11px;
  font-weight: 750;
}

body[data-header-context-mode="numeric"] .shell-header__progress .progress-bar {
  display: block;
  width: min(320px, 42vw);
  height: 4px;
  overflow: hidden;
  background: #dfe3dc;
  border-radius: 999px;
}

body[data-header-context-mode="numeric"] .shell-header__progress :is(#progressFill, #mobile-progress-fill) {
  display: block;
  height: 100%;
  background: var(--app-shell-ink);
  border-radius: inherit;
}

body[data-header-context-mode="adaptive"] .shell-header__progress .stage-dot {
  display: block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--app-shell-ink);
  border-radius: 50%;
}

.shell-header__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell-mobile-nav {
  display: none;
}

.app-shell-mobile-action {
  display: none;
}

.app-shell-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 15px;
  color: #fff;
  background: #202220;
  border-radius: 7px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.app-shell-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  body[data-app-shell] > .prototype-tools {
    position: relative !important;
    inset: auto !important;
    z-index: 230 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 11px !important;
    box-shadow: none !important;
  }

  body[data-app-shell] > .prototype-tools details {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: hidden;
    background: #252725 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body[data-app-shell] > .prototype-tools summary {
    display: flex;
    min-height: 40px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    cursor: pointer;
  }

  body[data-app-shell] > .prototype-tools summary::after {
    content: "⌄";
  }

  body[data-app-shell] > .prototype-tools details[open] summary::after {
    transform: rotate(180deg);
  }

  body[data-app-shell] > .prototype-tools .prototype-tools__body {
    max-height: 42dvh;
    overflow-y: auto;
    padding: 2px 12px 12px !important;
  }

  body:is([data-app-shell], [data-header-mode]) > .mock-toolbar {
    position: relative !important;
    inset: auto !important;
    z-index: 230 !important;
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 40px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 6px 12px !important;
    color: #fff !important;
    background: #252725 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body:is([data-app-shell], [data-header-mode]) > .mock-toolbar > strong {
    margin: 0;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
  }

  body:is([data-app-shell], [data-header-mode]) > .mock-toolbar > div[role="group"] {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    overflow-x: auto;
  }

  body:is([data-app-shell], [data-header-mode]) > .mock-toolbar > div[role="group"] button {
    min-width: 58px;
    min-height: 28px;
    color: #fff;
    background: #3b3e3b;
    border-color: #5b5f5b;
  }

  body:is([data-app-shell], [data-header-mode]) > .mock-toolbar > div[role="group"] button[aria-pressed="true"] {
    color: #181918;
    background: #dfff65;
    border-color: #dfff65;
  }

  body:is([data-app-shell], [data-header-mode]) > .mock-toolbar:has(> .mock-toolbar-heading) {
    display: block !important;
    padding: 0 12px !important;
  }

  body:is([data-app-shell], [data-header-mode]) > .mock-toolbar .mock-toolbar-heading {
    min-height: 40px;
    color: #fff;
  }

  body:is([data-app-shell], [data-header-mode]) > .mock-toolbar .mock-toolbar-heading button {
    color: #fff;
    background: transparent;
  }

  body:is([data-app-shell], [data-header-mode]) > .mock-toolbar .mock-toolbar-body {
    max-height: 42dvh;
    margin: 0 -12px;
    padding: 10px 12px 12px;
    overflow-y: auto;
    color: var(--app-shell-ink);
    background: #fff;
  }

  body:is([data-app-shell], [data-header-mode]) > .mock-toolbar.is-collapsed {
    width: 100% !important;
  }

  body[data-app-shell] {
    padding-bottom: calc(var(--app-shell-mobile-nav-height) + env(safe-area-inset-bottom));
  }

  body[data-app-shell][data-mobile-nav="hidden"] {
    padding-bottom: 0;
  }

  body[data-app-shell] .app-frame {
    display: block !important;
    width: 100% !important;
    padding-left: 0;
  }

  body[data-app-shell] .app-shell-rail {
    display: none !important;
  }

  body[data-app-shell][data-content-gutter="search"] :is(.site-column, .workspace) > main {
    width: calc(100% - 28px);
  }

  body[data-app-shell] .host-nav {
    display: none !important;
  }

  .app-shell-drawer {
    width: min(86vw, 320px);
  }

  .shell-header {
    min-height: var(--app-shell-mobile-header-height) !important;
    height: auto !important;
    max-height: none;
    transition: transform 180ms ease;
  }

  body:not([data-header-context-mode]) .shell-header {
    height: var(--app-shell-mobile-header-height) !important;
    max-height: var(--app-shell-mobile-header-height);
    min-height: var(--app-shell-mobile-header-height) !important;
  }

  .shell-header__inner,
  .shell-header__inner--task {
    width: 100% !important;
    height: var(--app-shell-mobile-header-height) !important;
    min-height: var(--app-shell-mobile-header-height) !important;
    gap: 8px !important;
    padding: 0 10px !important;
    overflow: hidden;
  }

  .shell-header__brand {
    width: 40px;
    min-width: 40px;
    justify-content: center;
  }

  .shell-header__brand span {
    display: none;
  }

  .shell-header__brand b {
    display: block;
  }

  .shell-header__divider {
    display: none;
  }

  .shell-header__context {
    flex: 1 1 auto;
  }

  .shell-header__context small {
    display: none;
  }

  .shell-header__context strong {
    font-size: 13px;
  }

  .shell-header__search {
    width: auto;
    min-width: 0;
    height: 38px;
    flex: 1 1 auto;
    margin-inline: 0;
  }

  .shell-header--discovery .shell-header__leading {
    flex: 0 0 40px;
  }

  .shell-header--discovery .shell-header__actions {
    display: flex !important;
    flex: 0 0 80px;
    gap: 0;
  }

  .shell-header__search input {
    padding: 0 10px;
    font-size: 12px;
  }

  .shell-header__search button,
  .shell-header__icon-button,
  .shell-header__profile-button {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .shell-header__profile-button {
    padding: 0;
  }

  .shell-header__profile-name,
  .shell-header__profile-button .login-label,
  .shell-header__profile-button > span:last-child {
    display: none !important;
  }

  .shell-header__profile-button .profile-avatar {
    width: 32px;
    height: 32px;
  }

  .shell-header__tools {
    display: none;
  }

  .shell-header--host .shell-header__brand {
    display: none;
  }

  .shell-header--host .shell-header__leading {
    flex: 1 1 auto;
  }

  body[data-header-mobile="detail"] .shell-header__leading,
  body[data-header-mobile="detail"] .shell-header__search,
  body[data-header-mobile="detail"] .shell-header__tools,
  body[data-header-mobile="detail"] .shell-header__actions {
    display: none !important;
  }

  body[data-header-mobile="detail"] .shell-header__detail {
    display: grid;
    width: 100%;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
  }

  .shell-header__detail strong {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }

  .shell-header__popover {
    position: fixed;
    top: 62px;
    right: 8px !important;
    max-height: calc(100dvh - 80px);
  }

  body.header-hidden:not(.is-overlay-open) .shell-header--discovery {
    transform: translateY(-100%);
  }

  .shell-header--task .shell-header__brand,
  .shell-header--task .wordmark,
  .shell-header--task .header-divider {
    display: none !important;
  }

  .shell-header--task .shell-header__leading {
    flex: 1 1 auto;
    overflow: hidden;
  }

  .shell-header--task .shell-header__leading :is(strong, .header-title, .mobile-title) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }

  .shell-header--task .shell-header__step {
    display: block;
    font-size: 10px;
  }

  .shell-header--task .shell-header__actions {
    flex: 0 0 auto;
  }

  .shell-header--task :is(.shell-header__icon-button, .back-button) {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }

  .shell-header--task .shell-header__actions > :not(.shell-header__save, .mobile-only, .menu-button) {
    display: none !important;
  }

  .shell-header--task .shell-header__progress {
    position: absolute !important;
    inset: auto 0 0 !important;
    z-index: 2;
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #eceeea;
    border: 0 !important;
  }

  .shell-header--task .shell-header__progress > :is(span, .progress-bar) {
    display: block;
    width: 100%;
    height: 3px;
  }

  .shell-header--task .shell-header__progress :is(i, #progressFill, #mobile-progress-fill) {
    display: block;
    height: 100%;
    background: var(--app-shell-ink);
  }

  .shell-header--task .shell-header__progress :is(small, #progressLabel, #mobile-progress-label, #stageLabel, .stage-dot) {
    display: none !important;
  }

  body[data-header-context-mode] .shell-header--task .shell-header__progress {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    width: 100% !important;
    height: 32px !important;
    min-height: 32px !important;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 16px !important;
    overflow: visible;
    background: #f7f8f5;
    border-top: 1px solid var(--app-shell-line) !important;
  }

  body[data-header-context-mode="numeric"] .shell-header--task .shell-header__progress .progress-bar {
    display: block !important;
    width: auto !important;
    height: 4px !important;
    flex: 1 1 auto;
  }

  body[data-header-context-mode="numeric"] .shell-header--task .shell-header__progress :is(#progressLabel, #mobile-progress-label) {
    display: block !important;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body[data-header-context-mode="adaptive"] .shell-header--task .shell-header__progress :is(#stageLabel, .stage-dot) {
    display: block !important;
  }

  body[data-header-context-mode="adaptive"] .shell-header--task .shell-header__progress .stage-dot {
    width: 7px !important;
    height: 7px !important;
    flex: 0 0 7px;
    border-radius: 50%;
  }

  .app-shell-mobile-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 130;
    display: grid;
    height: calc(var(--app-shell-mobile-nav-height) + env(safe-area-inset-bottom));
    grid-template-columns: repeat(5, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid var(--app-shell-line);
  }

  body[data-mobile-nav="hidden"] .app-shell-mobile-nav {
    display: none;
  }

  .app-shell-mobile-nav :is(a, button) {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
    color: var(--app-shell-muted);
    text-decoration: none;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 17px;
    cursor: pointer;
  }

  .app-shell-mobile-nav :is(a, button).is-active {
    color: var(--app-shell-ink);
    font-weight: 900;
  }

  .app-shell-mobile-nav small {
    font-size: 10px;
  }

  .app-shell-mobile-nav b {
    position: absolute;
    top: 5px;
    left: calc(50% + 8px);
    display: grid;
    min-width: 16px;
    height: 16px;
    place-items: center;
    color: #fff;
    background: var(--app-shell-accent);
    border-radius: 8px;
    font-size: 9px;
  }

  .app-shell-toast {
    right: 50%;
    bottom: calc(var(--app-shell-mobile-nav-height) + env(safe-area-inset-bottom) + 10px);
    transform: translate(50%, 8px);
  }

  .app-shell-toast.is-visible {
    transform: translate(50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell-drawer,
  .app-shell-scrim,
  .app-shell-toast,
  .shell-header {
    transition: none;
  }
}

@media (max-width: 767px) {
  body[data-app-shell][data-mobile-action="stacked"] {
    padding-bottom: calc(
      var(--app-shell-mobile-nav-height) + var(--app-shell-mobile-action-height) +
        env(safe-area-inset-bottom)
    );
  }

  body[data-app-shell][data-mobile-action="replace"] {
    padding-bottom: calc(var(--app-shell-mobile-action-height) + env(safe-area-inset-bottom));
  }

  body[data-app-shell][data-mobile-action="replace"] .app-shell-mobile-nav {
    display: none;
  }

  .app-shell-mobile-action {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 140;
    min-height: var(--app-shell-mobile-action-height);
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: #fff;
    border-top: 1px solid var(--app-shell-line);
  }

  body[data-mobile-action="stacked"] .app-shell-mobile-action,
  body[data-mobile-action="replace"] .app-shell-mobile-action {
    display: flex;
  }

  body[data-mobile-action="stacked"] .app-shell-mobile-action {
    bottom: calc(var(--app-shell-mobile-nav-height) + env(safe-area-inset-bottom));
  }

  body[data-mobile-action="replace"] .app-shell-mobile-action {
    bottom: 0;
    padding-bottom: calc(7px + env(safe-area-inset-bottom));
  }

  .app-shell-mobile-action button,
  .app-shell-mobile-action a {
    min-width: 0;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--app-shell-ink);
    border-radius: 6px;
    color: var(--app-shell-ink);
    background: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }

  .app-shell-mobile-action .is-primary {
    flex: 1 1 auto;
    color: #fff;
    background: var(--app-shell-ink);
  }

  .app-shell-mobile-action .is-secondary {
    flex: 0 0 auto;
  }

  body[data-mobile-action="stacked"] .shell-header__primary {
    display: none !important;
  }

  body[data-mobile-action="stacked"] .app-shell-toast,
  body[data-mobile-action="stacked"] > .toast {
    bottom: calc(
      var(--app-shell-mobile-nav-height) + var(--app-shell-mobile-action-height) +
        env(safe-area-inset-bottom) + 10px
    );
  }

  body[data-mobile-action="replace"] .app-shell-toast,
  body[data-mobile-action="replace"] > .toast {
    bottom: calc(var(--app-shell-mobile-action-height) + env(safe-area-inset-bottom) + 10px);
  }
}
