/* S-401 promoted application shell. Visual authority:
   mesh-app-shell-prototype-v2.html @ cfca9d0ca8ab93e431382fa64ff2652548cb2029. */

.route-chrome-hidden,
.home-left-panel,
.home-page-nav,
.where-to-scrim,
.home-mobile-profile-mount {
  display: none;
}

body.v3-chrome.home-shell {
  --shell-frame-max: 2560px;
  --shell-sidebar: 248px;
  --shell-center: 720px;
  --shell-center-wide: 1064px;
  --shell-center-measure: 680px;
  --shell-chat-measure: 800px;
  --shell-gap: 16px;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

body.v3-chrome.home-shell button {
  font-family: inherit;
}

body.v3-chrome.home-shell .home-left-wordmark,
body.v3-chrome.home-shell .home-sidebar-destination,
body.v3-chrome.home-shell .where-to-destination,
body.v3-chrome.home-shell .home-briefing-heading {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

body.v3-chrome.home-shell .shell-destination-icon,
body.v3-chrome.home-shell .home-page-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

body.v3-chrome.home-shell .shell-destination-icon svg,
body.v3-chrome.home-shell .home-page-nav-icon svg {
  width: 17px;
  height: 17px;
}

body.v3-chrome.home-shell .home-sidebar-destination[data-shell-module] .shell-destination-icon,
body.v3-chrome.home-shell .where-to-destination[data-shell-module] .shell-destination-icon {
  color: var(--entry-accent);
}

body.v3-chrome.home-shell .home-sidebar-destination[data-shell-module] svg,
body.v3-chrome.home-shell .where-to-destination[data-shell-module] svg {
  fill: currentColor;
}

body.v3-chrome.home-shell .home-sidebar-destination.active,
body.v3-chrome.home-shell .where-to-destination.active {
  background: var(--surface-raised);
  color: var(--text-primary);
}

body.v3-chrome.home-shell .home-sidebar-destination.is-disabled,
body.v3-chrome.home-shell .where-to-destination.is-disabled {
  cursor: default;
  opacity: 0.48;
}

body.v3-chrome.home-shell .home-profile-wrap {
  position: relative;
}

body.v3-chrome.home-shell .home-profile-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 10px;
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

body.v3-chrome.home-shell .home-profile-avatar {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--surface-raised);
}

body.v3-chrome.home-shell .home-profile-meta {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

body.v3-chrome.home-shell .home-profile-meta strong {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v3-chrome.home-shell .home-profile-meta small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

body.v3-chrome.home-shell .home-profile-meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 5px color-mix(in srgb, var(--success) 60%, transparent);
}

body.v3-chrome.home-shell .home-profile-gear {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

body.v3-chrome.home-shell .home-profile-button:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
  background: rgba(255, 255, 255, 0.03);
}

body.v3-chrome.home-shell .home-profile-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 60;
  width: 100%;
  min-width: 156px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-raised);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

body.v3-chrome.home-shell .home-profile-menu[hidden] {
  display: none;
}

body.v3-chrome.home-shell .home-profile-menu-item {
  min-height: 40px;
  padding: 8px 11px;
  color: var(--text-secondary);
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

body.v3-chrome.home-shell .home-profile-menu-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

body.v3-chrome.home-shell .home-briefing-header {
  position: relative;
  width: min(100%, var(--shell-center-measure));
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--border-soft);
}

body.v3-chrome.home-shell .home-briefing-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 2px;
  color: var(--text-primary);
  text-align: left;
}

body.v3-chrome.home-shell .home-briefing-heading svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform var(--transition);
}

body.v3-chrome.home-shell .home-briefing-heading[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

body.v3-chrome.home-shell .home-briefing-date {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.v3-chrome.home-shell .home-briefing-date-menu {
  position: absolute;
  top: 58px;
  left: 0;
  z-index: 20;
  min-width: 164px;
  padding: 10px 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-raised);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

body.v3-chrome.home-shell .home-briefing-date-menu[hidden] {
  display: none;
}

body.v3-chrome.home-shell .home-briefing-date-option {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px;
  color: var(--text-primary);
  border: 0;
  border-radius: 8px;
  background: var(--surface-2);
  font: inherit;
  text-align: left;
}

body.v3-chrome.home-shell .home-briefing-date-option span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

body.v3-chrome.home-shell #v3-home {
  width: min(100%, var(--shell-center-measure));
  margin: 0 auto;
  padding: 22px 0 64px;
}

body.v3-chrome.home-shell .home-notice-stack {
  position: absolute;
  left: 16px;
  bottom: 82px;
  z-index: 70;
  width: calc(100% - 32px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

body.v3-chrome.home-shell .home-notice-stack .mesh-toast {
  position: static;
  width: 100%;
  pointer-events: auto;
  transform: none;
}

body.v3-chrome.home-shell .home-notice-stack [data-home-notice-link] {
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

body.v3-chrome.home-shell .chat-drawer .chat-msg.user {
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

body.v3-chrome.home-shell .chat-drawer .chat-msg.assistant {
  position: relative;
  padding-left: 25px;
  border: 0;
  background: transparent;
}

body.v3-chrome.home-shell .chat-drawer .chat-msg.assistant::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 536 536'%3E%3Cpath d='M536 230.36H418.562C356.267 230.36 305.64 179.733 305.64 117.438V0H230.36V117.438C230.36 179.733 179.733 230.36 117.438 230.36H0V305.64H117.438C179.733 305.64 230.36 356.267 230.36 418.562V536H305.64V418.562C305.64 356.267 356.267 305.64 418.562 305.64H536V230.36Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 536 536'%3E%3Cpath d='M536 230.36H418.562C356.267 230.36 305.64 179.733 305.64 117.438V0H230.36V117.438C230.36 179.733 179.733 230.36 117.438 230.36H0V305.64H117.438C179.733 305.64 230.36 356.267 230.36 418.562V536H305.64V418.562C305.64 356.267 356.267 305.64 418.562 305.64H536V230.36Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.v3-chrome.home-shell .chat-drawer .chat-send-btn {
  border: 0;
  border-radius: 50%;
  color: #000;
  background: var(--accent);
}

body.v3-chrome.home-shell .chat-panel-status,
body.v3-chrome.home-shell .v11-chat-pager,
body.v3-chrome.home-shell .chat-fab {
  display: none !important;
}

body.v3-chrome.home-shell .chat-panel-title {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

body.v3-chrome.home-shell .briefing-more-below {
  display: none !important;
}

@media (min-width: 1150px) {
  body.v3-chrome.home-shell > .top-bar,
  body.v3-chrome.home-shell > .bottom-bar,
  body.v3-chrome.home-shell > .home-page-nav,
  body.v3-chrome.home-shell > .where-to-scrim {
    display: none !important;
  }

  body.v3-chrome.home-shell .hud:not(.full-width) {
    flex: 1;
    width: min(100%, var(--shell-frame-max));
    min-height: 0;
    display: flex;
    gap: var(--shell-gap);
    margin: 0 auto;
    padding: var(--shell-gap);
    overflow: hidden;
    background: var(--bg);
  }

  body.v3-chrome.home-shell .hud:not(.full-width) > #wing-left,
  body.v3-chrome.home-shell .hud:not(.full-width) > #wing-right {
    display: none;
  }

  body.v3-chrome.home-shell .home-left-panel,
  body.v3-chrome.home-shell #center,
  body.v3-chrome.home-shell .chat-drawer {
    min-width: 0;
    min-height: 0;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    background: var(--surface);
  }

  body.v3-chrome.home-shell .home-left-panel {
    position: relative;
    flex: 0 0 var(--shell-sidebar);
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    overflow: hidden;
  }

  body.v3-chrome.home-shell .home-left-header {
    flex: 0 0 auto;
    padding: 10px 12px 16px;
  }

  body.v3-chrome.home-shell .home-left-wordmark {
    display: block;
    padding: 0;
  }

  body.v3-chrome.home-shell .home-left-wordmark .logo-svg {
    width: 92px;
    height: auto;
  }

  body.v3-chrome.home-shell .home-sidebar-nav {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    scrollbar-width: none;
  }

  body.v3-chrome.home-shell .home-sidebar-nav::-webkit-scrollbar {
    width: 0;
  }

  body.v3-chrome.home-shell .home-sidebar-destination {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    transition: color var(--transition), background var(--transition);
  }

  body.v3-chrome.home-shell .home-sidebar-destination:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
  }

  body.v3-chrome.home-shell .home-sidebar-separator {
    height: 1px;
    flex: 0 0 auto;
    margin: 8px 10px;
    background: var(--border-soft);
  }

  body.v3-chrome.home-shell .home-sidebar-zone {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  body.v3-chrome.home-shell .home-sidebar-zone h2 {
    padding: 5px 10px 7px;
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }

  body.v3-chrome.home-shell .home-sidebar-empty {
    padding: 7px 12px 8px;
    color: var(--text-muted);
    font-size: 12px;
  }

  body.v3-chrome.home-shell .home-sidebar-footer {
    flex: 0 0 auto;
    margin-top: 10px;
  }

  body.v3-chrome.home-shell #center {
    flex: 0 1 var(--shell-center);
    max-width: var(--shell-center);
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }

  body.v3-chrome.home-shell.has-app-right #center {
    flex: 2 1 0;
    max-width: var(--shell-center-wide);
  }

  body.v3-chrome.home-shell #center > .view {
    width: min(100%, var(--shell-center-measure));
    max-width: var(--shell-center-measure);
    margin: 0 auto;
    padding: 28px 0 64px;
  }

  body.v3-chrome.home-shell #center > .view:has(> .home-briefing-header) {
    padding: 0;
  }

  body.v3-chrome.home-shell .chat-drawer {
    position: static;
    inset: auto;
    flex: 1 1 0;
    width: auto;
    height: auto;
    min-width: 360px;
    display: flex;
    transform: none;
    overflow: hidden;
    box-shadow: none;
  }

  body.v3-chrome.home-shell.has-app-right .chat-drawer {
    min-width: 384px;
  }

  body.v3-chrome.home-shell .chat-overlay,
  body.v3-chrome.home-shell .chat-drawer-close {
    display: none !important;
  }

  body.v3-chrome.home-shell .chat-drawer-header {
    display: flex !important;
    min-height: 68px;
    height: auto;
    padding: 0 24px;
    border-bottom-color: var(--border-soft);
  }

  body.v3-chrome.home-shell .chat-drawer-header .home-page-profile-wrap {
    display: none !important;
  }

  body.v3-chrome.home-shell .chat-drawer-body {
    width: min(calc(100% - 48px), var(--shell-chat-measure));
    margin: 0 auto;
    padding: 22px 0 24px;
  }

  body.v3-chrome.home-shell .chat-drawer .chat-input-area {
    width: min(calc(100% - 48px), var(--shell-chat-measure));
    margin: 0 auto 24px;
    padding: 8px 10px 8px 16px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: var(--surface-2);
  }

  body.v3-chrome.home-shell .chat-drawer .chat-input {
    border: 0;
    background: transparent;
  }

  body.v3-chrome.home-shell .terbo-split,
  body.v3-chrome.home-shell .email-split {
    display: flex;
    flex-direction: column;
  }

  @media (min-width: 1360px) {
    body.v3-chrome.home-shell.has-app-right .center-scroll {
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    body.v3-chrome.home-shell .terbo-split,
    body.v3-chrome.home-shell .email-split {
      flex: 1;
      min-height: 0;
      flex-direction: row;
      align-items: stretch;
    }

    body.v3-chrome.home-shell .terbo-feed,
    body.v3-chrome.home-shell .email-reader {
      flex: 1;
      min-width: 0;
      overflow-y: auto;
    }

    body.v3-chrome.home-shell .terbo-queue {
      flex: 0 0 320px;
      overflow-y: auto;
      border-left: 1px solid var(--border-soft);
    }

    body.v3-chrome.home-shell .email-list {
      flex: 0 0 344px;
      overflow-y: auto;
      border-right: 1px solid var(--border-soft);
    }
  }
}

@media (max-width: 1149px) {
  body.v3-chrome.home-shell > .top-bar {
    height: 52px;
    display: flex !important;
    padding: 0 18px;
    border: 0;
    background: var(--bg);
  }

  body.v3-chrome.home-shell .top-bar-left .logo-svg {
    width: 86px;
    height: auto;
  }

  body.v3-chrome.home-shell .top-nav-center,
  body.v3-chrome.home-shell .top-bar-right > .feedback-btn,
  body.v3-chrome.home-shell .top-bar-right > .nav-btn,
  body.v3-chrome.home-shell .top-bar-right > .hamburger-btn,
  body.v3-chrome.home-shell > .bottom-bar {
    display: none !important;
  }

  body.v3-chrome.home-shell .home-mobile-profile-mount {
    display: block;
  }

  body.v3-chrome.home-shell .home-mobile-profile-mount .home-profile-button {
    width: 38px;
    min-height: 38px;
    height: 38px;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 50%;
    background: var(--surface);
  }

  body.v3-chrome.home-shell .home-mobile-profile-mount .home-profile-meta,
  body.v3-chrome.home-shell .home-mobile-profile-mount .home-profile-gear {
    display: none;
  }

  body.v3-chrome.home-shell .home-mobile-profile-mount .home-profile-avatar {
    width: 30px;
    height: 30px;
    background: transparent;
  }

  body.v3-chrome.home-shell .home-mobile-profile-mount .home-profile-menu {
    top: calc(100% + 8px);
    right: 0;
    bottom: auto;
    width: 168px;
  }

  body.v3-chrome.home-shell .hud:not(.full-width) {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 0;
    display: block;
    padding: 0;
    overflow: hidden;
    background: var(--bg);
  }

  body.v3-chrome.home-shell .hud:not(.full-width) > #wing-left,
  body.v3-chrome.home-shell .hud:not(.full-width) > #wing-right,
  body.v3-chrome.home-shell .home-left-panel {
    display: none;
  }

  body.v3-chrome.home-shell #center {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--bg);
    -webkit-overflow-scrolling: touch;
  }

  body.v3-chrome.home-shell .home-briefing-header {
    position: sticky;
    top: 0;
    z-index: 12;
    width: min(calc(100% - 36px), 700px);
    min-height: 60px;
    padding: 10px 0;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  body.v3-chrome.home-shell .home-briefing-date {
    font-size: 20px;
  }

  body.v3-chrome.home-shell .home-briefing-date-menu {
    top: 52px;
  }

  body.v3-chrome.home-shell #center > .view {
    width: min(100%, 700px);
    max-width: 700px;
    margin: 0 auto;
    padding: 18px 18px calc(124px + env(safe-area-inset-bottom));
  }

  body.v3-chrome.home-shell #center > .view:has(> .home-briefing-header) {
    padding: 0;
  }

  body.v3-chrome.home-shell #v3-home {
    width: min(100%, 700px);
    max-width: 700px;
    margin: 0 auto;
    padding: 18px 18px calc(124px + env(safe-area-inset-bottom));
  }

  body.v3-chrome.home-shell .order-flip {
    min-height: 40px;
  }

  body.v3-chrome.home-shell .chat-overlay {
    position: fixed;
    inset: 0;
    z-index: 48;
    display: block !important;
    background: rgba(0, 0, 0, 0.58);
  }

  body.v3-chrome.home-shell .chat-drawer {
    position: fixed;
    inset: auto 0 0;
    z-index: 50;
    width: 100%;
    height: min(88dvh, var(--home-visual-height, 88dvh));
    min-height: 0;
    display: flex;
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: 26px 26px 0 0;
    background: var(--surface);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(105%);
    transition: transform 240ms ease;
  }

  body.v3-chrome.home-shell .chat-drawer.open {
    transform: translateY(0);
  }

  body.v3-chrome.home-shell .chat-drawer::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    transform: translateX(-50%);
  }

  body.v3-chrome.home-shell .chat-drawer-header {
    display: flex !important;
    min-height: 64px;
    height: auto;
    padding: 14px 18px 8px;
    border-bottom-color: var(--border-soft);
  }

  body.v3-chrome.home-shell .chat-drawer-close {
    width: 38px;
    height: 38px;
    display: flex;
    border-radius: 50%;
  }

  body.v3-chrome.home-shell .chat-drawer .home-page-profile-wrap {
    display: none;
  }

  body.v3-chrome.home-shell .chat-drawer-body {
    width: min(100%, 700px);
    margin: 0 auto;
    padding: 16px 18px;
  }

  body.v3-chrome.home-shell .chat-drawer .chat-input-area {
    width: min(calc(100% - 36px), 700px);
    margin: 0 auto calc(88px + env(safe-area-inset-bottom));
    padding: 8px 10px 8px 16px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--surface-2);
  }

  body.v3-chrome.home-shell.home-keyboard-open .chat-drawer .chat-input-area {
    margin-bottom: max(10px, env(safe-area-inset-bottom));
  }

  body.v3-chrome.home-shell .chat-drawer .chat-input {
    border: 0;
    background: transparent;
  }

  body.v3-chrome.home-shell > .home-page-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    height: calc(108px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 92px 1fr;
    align-items: end;
    padding: 0 34px calc(20px + env(safe-area-inset-bottom));
    background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 46%, rgba(0, 0, 0, 0.72) 74%, transparent 100%);
    pointer-events: none;
  }

  body.v3-chrome.home-shell > .home-page-nav > * {
    pointer-events: auto;
  }

  body.v3-chrome.home-shell.home-keyboard-open > .home-page-nav {
    display: none;
  }

  body.v3-chrome.home-shell .home-page-nav-item {
    min-width: 64px;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    padding: 0 8px;
    color: var(--text-muted);
    border: 0;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
  }

  body.v3-chrome.home-shell .home-page-nav-item > svg,
  body.v3-chrome.home-shell .home-page-nav-icon {
    width: 44px;
    height: 28px;
    border-radius: 9px;
  }

  body.v3-chrome.home-shell .home-page-nav-item svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
  }

  body.v3-chrome.home-shell .home-page-nav-item.active {
    color: var(--text-primary);
  }

  body.v3-chrome.home-shell .home-page-nav-item.active > svg,
  body.v3-chrome.home-shell .home-page-nav-item.active .home-page-nav-icon {
    background: var(--surface-raised);
  }

  body.v3-chrome.home-shell .home-page-nav-item.is-surface {
    color: var(--entry-accent);
  }

  body.v3-chrome.home-shell .home-page-nav-item.is-surface .home-page-nav-icon {
    background: color-mix(in srgb, var(--entry-accent) 18%, transparent);
  }

  body.v3-chrome.home-shell .home-page-nav-item.is-surface svg {
    fill: currentColor;
    stroke: none;
  }

  body.v3-chrome.home-shell .home-page-chat-fab {
    align-self: end;
    justify-self: center;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1px;
    color: #000;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 8px 26px var(--accent-glow), 0 4px 12px rgba(0, 0, 0, 0.5);
    cursor: pointer;
  }

  body.v3-chrome.home-shell .home-page-chat-fab svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  body.v3-chrome.home-shell.where-to-open > .where-to-scrim {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    background: rgba(0, 0, 0, 0.62);
  }

  body.v3-chrome.home-shell .where-to-switcher {
    width: 100%;
    max-height: 88dvh;
    overflow-y: auto;
    padding: 0 18px calc(28px + env(safe-area-inset-bottom));
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: 26px 26px 0 0;
    background: var(--surface);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
  }

  body.v3-chrome.home-shell .where-to-switcher[hidden] {
    display: none;
  }

  body.v3-chrome.home-shell .where-to-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0 14px;
    background: var(--surface);
  }

  body.v3-chrome.home-shell .where-to-header h2 {
    font-size: 22px;
    font-weight: 600;
  }

  body.v3-chrome.home-shell .where-to-close {
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  body.v3-chrome.home-shell .where-to-content,
  body.v3-chrome.home-shell .where-to-zone {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  body.v3-chrome.home-shell .where-to-content {
    gap: 20px;
  }

  body.v3-chrome.home-shell .where-to-zone h3 {
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }

  body.v3-chrome.home-shell .where-to-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.v3-chrome.home-shell .where-to-destination {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-secondary);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    text-align: left;
  }

  body.v3-chrome.home-shell .where-to-empty {
    color: var(--text-muted);
    font-size: 12px;
  }

  body.v3-chrome.home-shell .hud > .home-notice-stack {
    left: 16px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    width: min(360px, calc(100% - 32px));
  }
}

@media (prefers-reduced-motion: reduce) {
  body.v3-chrome.home-shell .chat-drawer,
  body.v3-chrome.home-shell .home-briefing-heading svg {
    transition: none;
  }
}

body.v3-chrome.home-shell .home-left-wordmark:focus-visible,
body.v3-chrome.home-shell .home-sidebar-destination:focus-visible,
body.v3-chrome.home-shell .where-to-destination:focus-visible,
body.v3-chrome.home-shell .where-to-close:focus-visible,
body.v3-chrome.home-shell .home-profile-button:focus-visible,
body.v3-chrome.home-shell .home-profile-menu-item:focus-visible,
body.v3-chrome.home-shell .home-briefing-heading:focus-visible,
body.v3-chrome.home-shell .home-page-nav-item:focus-visible,
body.v3-chrome.home-shell .home-page-chat-fab:focus-visible,
body.v3-chrome.home-shell .chat-drawer-close:focus-visible,
body.v3-chrome.home-shell .home-notice-stack [data-home-notice-link]:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}
