:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: #ececef;
  color: #080808;
  font-synthesis: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-starter-strip { scroll-behavior: auto; }
  :is(.home-get-started-heading button, .home-starter-card) {
    transition: none !important;
  }
  :is(.home-get-started-heading button:active, .home-starter-card:active) {
    transform: none;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; overflow: hidden; }
button { font: inherit; -webkit-tap-highlight-color: transparent; }

.preview-stage {
  width: 100vw;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 7%, rgba(255,255,255,.92), transparent 35%),
    #ececef;
}

.phone-shell {
  position: relative;
  height: min(96svh, 990px);
  aspect-ratio: 78 / 163.4;
  border-radius: 14% / 6.6%;
  background:
    linear-gradient(90deg, #777b83 0%, #d9dadd 2.2%, #60636a 4.5%, #25272b 7%, #111216 93%, #676a71 97%, #d5d6d9 99%, #6a6d74 100%);
  box-shadow:
    0 36px 90px rgba(0,0,0,.28),
    0 10px 24px rgba(0,0,0,.18),
    inset 0 0 0 1px rgba(255,255,255,.62),
    inset 0 0 0 3px rgba(0,0,0,.30);
}

.phone-shell::after {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: 0;
  border-radius: inherit;
  background: #050506;
}

.device {
  position: absolute;
  z-index: 1;
  top: 9px;
  bottom: 9px;
  left: 50%;
  aspect-ratio: 1320 / 2868;
  transform: translateX(-50%);
  overflow: hidden;
  container-type: inline-size;
  background: transparent;
  border-radius: 12.6% / 5.85%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.10);
  isolation: isolate;
  touch-action: none;
}

.device.live-scroll { touch-action: pan-y; }

[hidden] { display: none !important; }

.personalization-live {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  color: #050505;
  background: var(--settings-page-surface);
  letter-spacing: 0em;
  touch-action: pan-y;
}

.pl-scroll {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-y;
  outline: none;
}

.pl-scroll::-webkit-scrollbar { display: none; }

.pl-content {
  min-height: 277cqw;
  padding: var(--settings-content-top) 4.25cqw 10cqw;
}

.pl-status-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: var(--settings-status-height);
  background: var(--settings-status-surface);
  pointer-events: none;
}

.pl-navigation {
  position: absolute;
  top: var(--settings-nav-top);
  left: 0;
  right: 0;
  z-index: 4;
  height: var(--settings-nav-height);
  display: grid;
  place-items: center;
  border-radius: var(--settings-nav-radius) var(--settings-nav-radius) 0 0;
  background: rgba(242, 242, 247, .94);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  transition: box-shadow 180ms ease;
}

.pl-navigation.is-scrolled {
  box-shadow: 0 .15cqw 1.6cqw rgba(0, 0, 0, .06);
}

.pl-navigation h1 {
  margin: .5cqw 0 0;
  font-size: var(--settings-nav-title-size);
  line-height: var(--settings-nav-title-line-height);
  font-weight: var(--settings-nav-title-weight);
  letter-spacing: 0em;
}

.pl-back {
  position: absolute;
  top: var(--settings-nav-control-top);
  height: var(--settings-nav-control-size);
  min-width: var(--settings-nav-control-size);
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--settings-nav-control-surface);
  box-shadow: var(--settings-nav-control-shadow);
}

.pl-back { left: var(--settings-nav-side-inset); cursor: pointer; }
.pl-back span {
  position: absolute;
  top: 50%;
  left: 51%;
  width: 3.15cqw;
  height: 3.15cqw;
  border-left: .68cqw solid #111116;
  border-bottom: .68cqw solid #111116;
  border-radius: .2cqw;
  transform: translate(-35%, -50%) rotate(45deg);
}

.pl-card {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: var(--settings-row-radius);
  color: #050505;
  background: #fff;
}

button.pl-card,
.pl-picker-row {
  appearance: none;
  cursor: pointer;
  text-align: left;
}

.pl-single-row {
  height: 13.15cqw;
  margin-bottom: 6.9cqw;
}

.pl-picker-group { overflow: hidden; }

.pl-picker-row {
  position: relative;
  width: 100%;
  height: var(--settings-row-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.25cqw;
  border: 0;
  color: #050505;
  background: #fff;
  font-size: var(--settings-row-font-size);
  font-weight: var(--settings-row-font-weight);
  letter-spacing: 0em;
}

.pl-picker-group .pl-picker-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4.25cqw;
  right: 4.25cqw;
  bottom: 0;
  height: .17cqw;
  background: #e2e2e5;
}

.pl-value {
  display: flex;
  align-items: center;
  gap: 3.813333cqw;
  color: #919195;
  font-size: 4.266667cqw;
  font-weight: 400;
}

.pl-value b { font: inherit; }

.pl-picker-mark {
  position: relative;
  width: 2.35cqw;
  height: 3.2cqw;
}

.pl-picker-mark::before,
.pl-picker-mark::after {
  content: "";
  position: absolute;
  left: .42cqw;
  width: 1.45cqw;
  height: 1.45cqw;
  border-left: .48cqw solid #939397;
  border-top: .48cqw solid #939397;
}

.pl-picker-mark::before { top: 0; transform: rotate(45deg); }
.pl-picker-mark::after { bottom: 0; transform: rotate(225deg); }

.pl-section-title {
  margin: 9.1cqw 4.35cqw 3.85cqw;
  color: #96969b;
  font-size: var(--settings-section-font-size);
  line-height: 1;
  font-weight: var(--settings-section-font-weight);
  letter-spacing: 0em;
}

.pl-disclosure {
  display: flex;
  align-items: center;
  gap: 3.813333cqw;
  color: #5f5f63;
  font-size: 4.266667cqw;
  font-weight: 400;
}

.pl-disclosure i,
.pl-advanced > i {
  width: 2.25cqw;
  height: 2.25cqw;
  border-right: .55cqw solid currentColor;
  border-top: .55cqw solid currentColor;
  transform: rotate(45deg);
}

.pl-disclosure i { color: #c1c1c5; }

.pl-setting-block { margin-top: 7.45cqw; }

.pl-toggle-row {
  height: 16cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.3cqw;
  font-size: 4.266667cqw;
  font-weight: 450;
  letter-spacing: 0em;
}

.pl-switch {
  position: relative;
  flex: 0 0 auto;
  width: 16.85cqw;
  height: 7.1cqw;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #c5c5c8;
  box-shadow: inset 0 0 0 .12cqw rgba(0, 0, 0, .06);
  cursor: pointer;
  transition: background-color 220ms cubic-bezier(.2,.8,.2,1);
}

.pl-switch i {
  position: absolute;
  top: .55cqw;
  left: .55cqw;
  width: 6cqw;
  height: 6cqw;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 .18cqw .55cqw rgba(0,0,0,.15);
  transform: translate3d(0,0,0);
  transition: transform 260ms cubic-bezier(.18,.86,.24,1);
}

.pl-switch.is-on { background: #34c759; }
.pl-switch.is-on i { transform: translate3d(9.72cqw,0,0); }

.pl-info {
  min-height: 8.5cqw;
  margin: 3.4cqw 4.35cqw 0;
  color: #929297;
  font-size: 3.25cqw;
  line-height: 1.22;
  font-weight: 560;
  letter-spacing: 0em;
  white-space: normal;
}

.pl-custom-title { margin-top: 9.25cqw; }

.pl-custom-field {
  height: 13.5cqw;
  padding: 0 4.35cqw;
  overflow: hidden;
  color: #96969a;
  font-size: 3.72cqw;
  line-height: 1;
  font-weight: 560;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pl-advanced {
  height: 16cqw;
  margin-top: 7.3cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.35cqw;
  font-size: 4.266667cqw;
  font-weight: 450;
  letter-spacing: 0em;
}

.pl-advanced > i { color: #050505; }

.pl-picker-row:active,
.pl-custom-field:active,
.pl-advanced:active,
.pl-back:active { filter: brightness(.97); }

.personalization-live button:focus-visible,
.pl-scroll:focus-visible {
  outline: .5cqw solid #0a84ff;
  outline-offset: -.5cqw;
}

.personalization-live.menu-open .pl-scroll { overflow-y: hidden; }

.pl-menu-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: auto;
}

.pl-menu-dismiss {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: default;
}

.pl-menu-popover {
  position: absolute;
  left: 25cqw;
  width: 66cqw;
  isolation: isolate;
  overflow: hidden;
  border: .14cqw solid rgba(255,255,255,.92);
  border-radius: 9.2cqw;
  background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(246,246,249,.66));
  -webkit-backdrop-filter: blur(28px) saturate(165%) brightness(1.035);
  backdrop-filter: blur(28px) saturate(165%) brightness(1.035);
  box-shadow:
    0 2.5cqw 8cqw rgba(0,0,0,.13),
    inset 0 .14cqw 0 rgba(255,255,255,.94),
    inset 0 0 0 .08cqw rgba(255,255,255,.48);
  transform-origin: 18% 0;
  animation: pl-menu-materialize 220ms cubic-bezier(.2,.78,.24,1) both;
}

.pl-menu-popover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: .1cqw solid rgba(255,255,255,.7);
  border-radius: inherit;
  box-shadow: inset 0 .12cqw 0 rgba(255,255,255,.82);
  pointer-events: none;
}

.pl-menu-popover.is-base-style { top: 38.5cqw; }
.pl-menu-popover.is-warmth { top: 58.1cqw; }
.pl-menu-popover.is-enthusiasm { top: 70.9cqw; }
.pl-menu-popover.is-headers { top: 83.3cqw; }
.pl-menu-popover.is-emoji { top: 96.2cqw; }

.pl-menu-option {
  position: relative;
  width: 100%;
  min-height: 14cqw;
  display: grid;
  grid-template-columns: 6cqw 1fr;
  align-items: center;
  padding: 1.25cqw 3.4cqw 1.15cqw 4.8cqw;
  appearance: none;
  border: 0;
  color: #09090a;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.pl-menu-popover.is-base-style .pl-menu-option { min-height: 14.3cqw; }

.pl-menu-option:active { background: rgba(120,120,128,.09); }

.pl-menu-check {
  align-self: center;
  font-size: 4.3cqw;
  line-height: 1;
  font-weight: 730;
  opacity: 0;
}

.pl-menu-option.is-selected .pl-menu-check { opacity: 1; }

.pl-menu-option-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pl-menu-option-title {
  font-size: 4.266667cqw;
  line-height: 1.05;
  font-weight: 620;
  letter-spacing: 0em;
}

.pl-menu-option-subtitle {
  margin-top: .72cqw;
  color: #85858a;
  font-size: 3.72cqw;
  line-height: 1.12;
  font-weight: 560;
  letter-spacing: 0em;
  white-space: pre-line;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .pl-menu-popover { background: rgba(249,249,251,.96); }
}

@keyframes pl-menu-materialize {
  from { opacity: 0; transform: scale(.975); filter: blur(.7px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.report-live {
  position: absolute;
  inset: 0;
  z-index: 12;
  overflow: hidden;
  color: #050505;
  background: rgba(0, 0, 0, .17);
  letter-spacing: 0em;
  touch-action: pan-y;
}

.report-sheet {
  position: absolute;
  inset: 14.6cqw 0 0;
  overflow: hidden;
  border-radius: 9.3cqw 9.3cqw 0 0;
  border: 0;
  background: #fff;
  box-shadow: 0 -1.2cqw 4.8cqw rgba(0,0,0,.04);
  animation: report-sheet-in 360ms cubic-bezier(.2,.78,.18,1) both;
}

@keyframes report-sheet-in {
  from { opacity: .72; transform: translate3d(0, 9cqw, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.report-navigation {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 22.8cqw;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.96);
}

.report-navigation h1 {
  margin: -.2cqw 0 0;
  font-size: var(--settings-nav-title-size);
  line-height: var(--settings-nav-title-line-height);
  font-weight: var(--settings-nav-title-weight);
  letter-spacing: 0em;
}

.report-close {
  position: absolute;
  top: var(--settings-nav-control-top);
  right: var(--settings-nav-side-inset);
  width: var(--settings-nav-control-size);
  height: var(--settings-nav-control-size);
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: var(--settings-nav-control-surface);
  box-shadow: var(--settings-nav-control-shadow);
  cursor: pointer;
}

.report-close span::before,
.report-close span::after,
.report-screenshot-preview button span::before,
.report-screenshot-preview button span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.8cqw;
  height: .58cqw;
  border-radius: 999px;
  background: #0b0b0d;
  transform: translate(-50%, -50%) rotate(45deg);
}

.report-close span::after,
.report-screenshot-preview button span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.report-scroll {
  position: absolute;
  inset: 22.8cqw 0 24.4cqw;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-y;
  background: #fff;
}

.report-scroll::-webkit-scrollbar { display: none; }

.report-content {
  min-height: 178cqw;
  padding: 1.2cqw 7cqw 13cqw;
}

.report-content h2 {
  margin: 0 0 5.7cqw;
  font-size: 4.266667cqw;
  line-height: 1.08;
  font-weight: 450;
  letter-spacing: 0em;
}

.report-textarea-shell {
  position: relative;
  display: block;
  width: 100%;
  height: 42.8cqw;
  margin-bottom: 5.9cqw;
  overflow: hidden;
  border-radius: 6.5cqw;
  background: #f4f4f5;
}

.report-textarea-shell textarea {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 4.55cqw 4.35cqw 8.5cqw;
  resize: none;
  appearance: none;
  border: 0;
  outline: 0;
  color: #09090a;
  background: transparent;
  font: 560 3.85cqw/1.28 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0em;
}

.report-textarea-shell textarea::placeholder { color: #c7c7ca; opacity: 1; }

.report-counter {
  position: absolute;
  right: 4.45cqw;
  bottom: 3.7cqw;
  color: #8f8f94;
  font-size: 3.45cqw;
  line-height: 1;
  font-weight: 560;
  pointer-events: none;
}

.report-disclaimer {
  margin: 0 0 5.15cqw;
  color: #5f5f64;
  font-size: 3.43cqw;
  line-height: 1.2;
  font-weight: 590;
  letter-spacing: 0em;
}

.report-disclaimer button {
  display: inline;
  padding: 0;
  appearance: none;
  border: 0;
  color: #0a84ff;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.report-divider {
  width: 100%;
  height: .18cqw;
  background: #e1e1e4;
}

.report-setting-row {
  min-height: 17.1cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3cqw;
}

.report-setting-row strong {
  font-size: 4.266667cqw;
  line-height: 1.12;
  font-weight: 450;
  letter-spacing: 0em;
}

.report-switch {
  position: relative;
  flex: 0 0 auto;
  width: 16.85cqw;
  height: 7.1cqw;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #c5c5c8;
  box-shadow: inset 0 0 0 .12cqw rgba(0,0,0,.05);
  cursor: pointer;
  transition: background-color 220ms cubic-bezier(.2,.8,.2,1);
}

.report-switch i {
  position: absolute;
  top: .55cqw;
  left: .55cqw;
  width: 6cqw;
  height: 6cqw;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 .18cqw .55cqw rgba(0,0,0,.15);
  transform: translate3d(0,0,0);
  transition: transform 260ms cubic-bezier(.18,.86,.24,1);
}

.report-switch.is-on { background: #0a84ff; }
.report-switch.is-on i { transform: translate3d(9.72cqw,0,0); }

.report-screenshot-slot {
  min-height: 80cqw;
  display: grid;
  place-items: center;
  padding: 2.5cqw 0 6cqw;
}

.report-spinner {
  width: 7.3cqw;
  height: 7.3cqw;
  border: .72cqw solid #e1e1e4;
  border-top-color: #0a84ff;
  border-radius: 50%;
  animation: report-spinner-turn .8s linear infinite;
}

@keyframes report-spinner-turn { to { transform: rotate(360deg); } }

.report-screenshot-preview {
  position: relative;
  width: 39cqw;
  margin: 0;
  aspect-ratio: 1125 / 2436;
}

.report-screenshot-capture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border: .16cqw solid rgba(0,0,0,.12);
  border-radius: 3.5cqw;
  background: #f2f2f7;
  box-shadow: 0 1.8cqw 4.5cqw rgba(0,0,0,.11);
}

.report-captured-profile.profile-settings-live {
  position: absolute !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: 0 !important;
  width: 100cqw !important;
  height: 216.53cqw !important;
  overflow: hidden !important;
  transform: scale(.39);
  transform-origin: 0 0;
  pointer-events: none;
}

.report-screenshot-preview button {
  position: absolute;
  top: 3.2cqw;
  right: 2.6cqw;
  width: 6.2cqw;
  height: 6.2cqw;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 .6cqw 1.8cqw rgba(0,0,0,.11);
  cursor: pointer;
}

.report-screenshot-preview button span::before,
.report-screenshot-preview button span::after {
  width: 2.6cqw;
  height: .34cqw;
}

.report-shake-row { min-height: 18.4cqw; }
.report-shake-row > span { display: flex; flex-direction: column; }
.report-shake-row small {
  margin-top: 1.05cqw;
  color: #636367;
  font-size: 3.42cqw;
  line-height: 1;
  font-weight: 560;
}

.report-footer {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 24.4cqw;
  display: flex;
  align-items: flex-start;
  padding: 5.4cqw 5.4cqw 0;
  background: rgba(255,255,255,.96);
  box-shadow: 0 -2cqw 5.4cqw rgba(0,0,0,.035);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}

.report-send {
  width: 100%;
  height: 11.8cqw;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #0a84ff;
  font-size: 4.1cqw;
  font-weight: 720;
  cursor: pointer;
  transition: background-color 180ms ease, transform 140ms ease;
}

.report-send:disabled { background: #9c9c9f; cursor: default; }
.report-send:not(:disabled):active { transform: scale(.985); }
.report-live button:focus-visible {
  outline: .5cqw solid #0a84ff;
  outline-offset: .25cqw;
}

.report-live textarea:focus,
.report-live textarea:focus-visible {
  outline: none;
  outline-offset: 0;
}

.data-controls-live {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  color: #050505;
  background: var(--settings-page-surface);
  letter-spacing: 0em;
  touch-action: pan-y;
}

.dc-status-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: var(--settings-status-height);
  background: var(--settings-status-surface);
  pointer-events: none;
}

.dc-navigation {
  position: absolute;
  top: var(--settings-nav-top);
  left: 0;
  right: 0;
  z-index: 4;
  height: var(--settings-nav-height);
  display: grid;
  place-items: center;
  border-radius: var(--settings-nav-radius) var(--settings-nav-radius) 0 0;
  background: rgba(242, 242, 247, .94);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.data-controls-live.is-white-page .dc-navigation { background: rgba(255, 255, 255, .94); }
.dc-navigation.is-scrolled { box-shadow: 0 .15cqw 1.6cqw rgba(0, 0, 0, .06); }

.dc-navigation h1 {
  margin: .5cqw 0 0;
  max-width: 68cqw;
  overflow: hidden;
  font-size: var(--settings-nav-title-size);
  line-height: var(--settings-nav-title-line-height);
  font-weight: var(--settings-nav-title-weight);
  letter-spacing: 0em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-back {
  position: absolute;
  top: var(--settings-nav-control-top);
  left: var(--settings-nav-side-inset);
  width: var(--settings-nav-control-size);
  height: var(--settings-nav-control-size);
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: var(--settings-nav-control-surface);
  box-shadow: var(--settings-nav-control-shadow);
  cursor: pointer;
  transition: transform 110ms ease-out, background-color 160ms ease;
}

.dc-back:active { transform: scale(.94); background: rgba(245,245,247,.96); }
.dc-back span {
  position: absolute;
  top: 50%;
  left: 51%;
  width: 3.15cqw;
  height: 3.15cqw;
  border-left: .68cqw solid #111116;
  border-bottom: .68cqw solid #111116;
  border-radius: .2cqw;
  transform: translate(-35%, -50%) rotate(45deg);
}

.dc-scroll {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-y;
  outline: none;
  background: var(--settings-page-surface);
}

.data-controls-live.is-white-page .dc-scroll { background: #fff; }
.dc-scroll::-webkit-scrollbar { display: none; }

.dc-page {
  position: relative;
  min-height: 229cqw;
  padding: var(--settings-content-top) 4.25cqw 13cqw;
  will-change: transform, opacity;
}

.dc-page button { -webkit-tap-highlight-color: transparent; }
.dc-card {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 6.4cqw;
  color: #050505;
  background: #fff;
}

button.dc-card {
  appearance: none;
  cursor: pointer;
  text-align: left;
  transition: transform 105ms ease-out, background-color 120ms ease;
}

button.dc-card:active { transform: scale(.985); background: #f8f8fa; }

.dc-toggle-row,
.dc-disclosure-row,
.dc-action-row {
  min-height: 13.05cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.35cqw;
  font-size: 4.05cqw;
  line-height: 1.05;
  font-weight: 590;
  letter-spacing: 0em;
}

.dc-switch {
  position: relative;
  flex: 0 0 auto;
  width: 16.85cqw;
  height: 7.1cqw;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #c5c5c8;
  box-shadow: inset 0 0 0 .12cqw rgba(0, 0, 0, .06);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 220ms cubic-bezier(.2,.8,.2,1), transform 105ms ease-out;
}

.dc-switch i {
  position: absolute;
  top: .55cqw;
  left: .55cqw;
  width: 6cqw;
  height: 6cqw;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 .18cqw .55cqw rgba(0,0,0,.15);
  transform: translate3d(0,0,0);
  transition: transform 300ms cubic-bezier(.18,.86,.24,1), width 120ms ease-out;
  will-change: transform;
}

.dc-switch:active { transform: scale(.98); }
.dc-switch:active i { width: 6.7cqw; }
.dc-switch.is-on { background: #34c759; }
.dc-switch.is-on i { transform: translate3d(9.72cqw,0,0); }
.dc-switch.is-on:active i { transform: translate3d(9.02cqw,0,0); }

.dc-info {
  margin: 2.65cqw 4.35cqw 6.9cqw;
  color: #929297;
  font-size: 3.55cqw;
  line-height: 1.18;
  font-weight: 560;
  letter-spacing: 0em;
}

.dc-link,
.dc-accent {
  padding: 0;
  appearance: none;
  border: 0;
  color: var(--accent-color);
  background: transparent;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.dc-link:active,
.dc-accent:active { opacity: .55; }

.dc-section-title {
  margin: 7.65cqw 4.35cqw 3.55cqw;
  color: #929297;
  font-size: 4.1cqw;
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0em;
}

.dc-location-group,
.dc-chat-group,
.dc-account-group { overflow: hidden; }

.dc-group-row {
  position: relative;
  width: 100%;
  min-height: 13.05cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.35cqw;
  appearance: none;
  border: 0;
  color: #050505;
  background: #fff;
  font-size: 4.05cqw;
  line-height: 1.05;
  font-weight: 570;
  text-align: left;
  cursor: pointer;
  transition: background-color 100ms linear;
}

.dc-group-row:active { background: #f3f3f5; }
.dc-group-row.dc-accent { color: var(--accent-color); }
.dc-group-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4.35cqw;
  right: 4.35cqw;
  bottom: 0;
  height: .17cqw;
  background: #e2e2e5;
}

.dc-row-value {
  display: flex;
  align-items: center;
  gap: 2.3cqw;
  color: #929297;
  font-weight: 570;
}

.dc-row-value.is-accent { color: var(--accent-color); }
.dc-chevron {
  width: 2.15cqw;
  height: 2.15cqw;
  border-top: .55cqw solid #c1c1c5;
  border-right: .55cqw solid #c1c1c5;
  transform: rotate(45deg);
}

.dc-work-row { margin-top: 7.35cqw; }
.dc-apps-row { margin-top: 9.8cqw; }
.dc-chat-group { margin-top: 0; }
.dc-account-group { margin-top: 9.55cqw; }
.dc-action-row.is-accent { color: var(--accent-color); }
.dc-action-row.is-destructive { color: #ff3b30; }

.dc-child-copy {
  margin: 2.85cqw 4.35cqw 0;
  color: #929297;
  font-size: 3.55cqw;
  line-height: 1.18;
  font-weight: 560;
  letter-spacing: 0em;
}

.dc-page--work { padding-top: 42.25cqw; }

.dc-child-section-title {
  margin: 1.2cqw 4.35cqw 3.5cqw;
  color: #929297;
  font-size: 4.1cqw;
  line-height: 1;
  font-weight: 720;
}

.dc-empty-card {
  min-height: 13.05cqw;
  display: flex;
  align-items: center;
  padding: 0 4.35cqw;
  color: #606064;
  font-size: 4.05cqw;
  line-height: 1;
  font-weight: 570;
}

.dc-page--archived {
  min-height: 217.2cqw;
  padding: 33.5cqw 4.25cqw 22cqw;
  background: #fff;
}

.dc-archived-empty {
  min-height: 148cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  text-align: center;
}

.dc-archived-empty strong {
  font-size: 4.7cqw;
  line-height: 1.05;
  font-weight: 720;
  letter-spacing: 0em;
}

.dc-archived-empty span {
  margin-top: 1.6cqw;
  color: #929297;
  font-size: 3.55cqw;
  line-height: 1.12;
  font-weight: 560;
}

.dc-search-shell {
  position: absolute;
  left: 7.35cqw;
  right: 7.35cqw;
  bottom: 7.55cqw;
  width: auto;
  height: 12.8cqw;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2.2cqw 6.2cqw rgba(0,0,0,.08), inset 0 0 0 .12cqw rgba(0,0,0,.025);
}

.dc-search-icon {
  position: relative;
  width: 5.3cqw;
  height: 5.3cqw;
  margin-left: 5.6cqw;
  border: .8cqw solid #050505;
  border-radius: 50%;
}

.dc-search-icon::after {
  content: "";
  position: absolute;
  right: -2.15cqw;
  bottom: -1.35cqw;
  width: 2.65cqw;
  height: .8cqw;
  border-radius: 999px;
  background: #050505;
  transform: rotate(45deg);
}

.dc-search-shell input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: .2cqw 4cqw 0 5cqw;
  appearance: none;
  border: 0;
  outline: 0;
  color: #050505;
  background: transparent;
  font: inherit;
  font-size: 4.25cqw;
  line-height: 1;
  font-weight: 570;
  letter-spacing: 0em;
}

.dc-search-shell input::placeholder { color: #929297; opacity: 1; }

.dc-dialog {
  width: min(78cqw, 440px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6.2cqw;
  color: #050505;
  background: rgba(250, 250, 252, .94);
  box-shadow: 0 5cqw 18cqw rgba(0,0,0,.28), inset 0 0 0 .12cqw rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  backdrop-filter: blur(30px) saturate(170%);
}

.dc-dialog::backdrop { background: rgba(0,0,0,.22); }
.dc-dialog form { margin: 0; padding: 5cqw 4.4cqw 0; text-align: center; }
.dc-dialog h2 { margin: 0; font-size: 4.3cqw; line-height: 1.08; font-weight: 720; }
.dc-dialog p { margin: 2.2cqw 0 4.3cqw; color: #626267; font-size: 3.45cqw; line-height: 1.28; font-weight: 520; }
.dc-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 -4.4cqw;
  border-top: .17cqw solid rgba(60,60,67,.18);
}

.dc-dialog-actions button {
  min-height: 11.2cqw;
  appearance: none;
  border: 0;
  color: var(--accent-color);
  background: transparent;
  font-size: 3.9cqw;
  font-weight: 620;
  cursor: pointer;
}

.dc-dialog-actions button + button { border-left: .17cqw solid rgba(60,60,67,.18); font-weight: 720; }
.dc-dialog.is-informational .dc-dialog-actions { grid-template-columns: 1fr; }
.dc-dialog.is-informational #dataControlsDialogCancel { display: none; }
.dc-dialog.is-informational #dataControlsDialogConfirm { border-left: 0; }
.dc-dialog.is-destructive #dataControlsDialogConfirm { color: #ff3b30; }

.data-controls-live button:focus-visible {
  outline: .5cqw solid var(--accent-color);
  outline-offset: .25cqw;
}

.data-controls-live input:focus,
.data-controls-live input:focus-visible {
  outline: none;
  outline-offset: 0;
}

.profile-settings-live { background: var(--settings-page-surface); }

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

.ps-page {
  min-height: 217.2cqw;
  background: var(--settings-page-surface);
}

.dc-navigation.is-profile-root {
  height: 15.4cqw;
  background: rgba(242, 242, 247, .94);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: none;
  transition: height 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.dc-navigation.is-profile-root.is-scrolled {
  height: var(--settings-nav-height);
  background: rgba(242, 242, 247, .88);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 .15cqw 1.6cqw rgba(0, 0, 0, .06);
}

.ps-nav-action.is-root-close span {
  top: 50%;
  left: 50%;
  width: 5.3cqw;
  height: 5.3cqw;
  border: 0;
  border-radius: 0;
  background: url('../Heylth_UI/ChatGPT_UI/Icons/Profile/Profile/close.svg') center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.ps-nav-action.is-root-close span::before,
.ps-nav-action.is-root-close span::after {
  content: none;
}

.ps-page--profile-root {
  min-height: 440cqw;
  padding: 31.6cqw 4.25cqw 14.5cqw;
  will-change: auto;
}

.pr-identity {
  min-height: 26.2cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.pr-avatar-button {
  position: relative;
  width: 19.25cqw;
  height: 19.25cqw;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 105ms ease-out;
}

.pr-avatar-button:active { transform: scale(.96); }

.pr-avatar {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c93427;
  font-size: 6.65cqw;
  line-height: 1;
  font-weight: 350;
  letter-spacing: 0em;
}

.pr-avatar.has-photo {
  overflow: hidden;
  background: #d8d8dc;
}

.pr-avatar > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pr-avatar-edit {
  position: absolute;
  right: -.1cqw;
  bottom: -.1cqw;
  width: 8.45cqw;
  height: 8.45cqw;
  display: grid;
  place-items: center;
  border: .2cqw solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: #dedee1;
}

.pr-avatar-edit img {
  width: 3.5cqw;
  height: 3.5cqw;
  display: block;
  object-fit: contain;
}

.pr-identity > strong {
  margin-top: 2.35cqw;
  font-size: 4.05cqw;
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0em;
}

.pr-section-title {
  margin: 8.8cqw 4.35cqw 3.25cqw;
  color: #929297;
  font-size: 4.05cqw;
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0em;
}

.pr-group { overflow: hidden; }

.pr-row {
  position: relative;
  width: 100%;
  min-height: 13.05cqw;
  display: grid;
  grid-template-columns: 5.2cqw minmax(0, 1fr) auto 2.2cqw;
  align-items: center;
  column-gap: 3.25cqw;
  padding: 0 4.35cqw;
  appearance: none;
  border: 0;
  color: #050505;
  background: #fff;
  font-size: 4.05cqw;
  line-height: 1.05;
  font-weight: 590;
  letter-spacing: 0em;
  text-align: left;
  cursor: pointer;
  transition: background-color 90ms linear, transform 105ms ease-out;
}

.pr-row:active { background: #f3f3f5; transform: scale(.995); }

.pr-row.is-static { cursor: default; }

.pr-row.is-static:active { background: #fff; transform: none; }

.pr-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13.15cqw;
  right: 4.35cqw;
  bottom: 0;
  height: .17cqw;
  background: #dedee1;
}

.pr-row-icon {
  grid-column: 1;
  width: 4.85cqw;
  height: 4.85cqw;
  display: block;
  overflow: visible;
}

.pr-row-label {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pr-row-value {
  grid-column: 3;
  max-width: 48cqw;
  display: flex;
  align-items: center;
  gap: 1.25cqw;
  overflow: hidden;
  color: #929297;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pr-row.has-no-chevron .pr-row-value {
  grid-column: 3 / 5;
  justify-self: end;
  max-width: 52cqw;
}

.pr-row .dc-chevron {
  grid-column: 4;
  justify-self: end;
  border-color: #c1c1c5;
}

.pr-row.is-accent,
.pr-row.is-accent .pr-row-label { color: var(--accent-color); }

.pr-row.is-destructive,
.pr-row.is-destructive .pr-row-label { color: #ff3b30; }

.pr-logout-group { margin-top: 9.65cqw; }

/* The editor is a real bottom sheet above Profile, not another rendered page. */
.pr-edit-layer {
  position: absolute;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  border-radius: 7.6cqw;
  pointer-events: none;
}

.pr-edit-layer.is-visible { pointer-events: auto; }

.pr-edit-backdrop {
  position: absolute;
  inset: 0;
  appearance: none;
  border: 0;
  background: rgba(30, 30, 36, .16);
  opacity: 0;
  transition: opacity 320ms ease;
}

.pr-edit-layer.is-visible .pr-edit-backdrop { opacity: 1; }

.pr-edit-sheet {
  position: absolute;
  left: 2.1cqw;
  right: 2.1cqw;
  top: 74.5cqw;
  bottom: auto;
  height: 145cqw;
  max-height: none;
  box-sizing: border-box;
  padding: 16.35cqw 4.2cqw 6cqw;
  overflow-x: hidden;
  overflow-y: hidden;
  border: .18cqw solid rgba(255, 255, 255, .86);
  border-radius: 6.35cqw;
  outline: 0;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .76) 0%, rgba(251, 251, 253, .66) 48%, rgba(246, 246, 249, .71) 100%);
  box-shadow:
    0 -1cqw 7cqw rgba(0, 0, 0, .10),
    inset 0 .16cqw 0 rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(30px) saturate(132%);
  backdrop-filter: blur(30px) saturate(132%);
  opacity: 1;
  transform: translate3d(0, 160cqw, 0);
  transform-origin: center bottom;
  transition: transform 520ms cubic-bezier(.22, .78, .24, 1);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.pr-edit-sheet::-webkit-scrollbar { display: none; }

.pr-edit-layer.is-visible .pr-edit-sheet {
  transform: translate3d(0, 0, 0);
}

.pr-edit-avatar-button {
  position: relative;
  width: 28.5cqw;
  height: 28.5cqw;
  display: block;
  margin: 0 auto;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 110ms ease-out;
}

.pr-edit-avatar-button:active { transform: scale(.97); }
.pr-edit-avatar-slot,
.pr-avatar--editor { width: 100%; height: 100%; display: block; }

.pr-edit-camera-badge {
  position: absolute;
  right: .1cqw;
  bottom: .45cqw;
  width: 7.15cqw;
  height: 7.15cqw;
  display: grid;
  place-items: center;
  border: .2cqw solid rgba(255, 255, 255, .96);
  border-radius: 50%;
  background: #f1f1f3;
}

.pr-edit-camera-badge img {
  width: 3.8cqw;
  height: 3.8cqw;
  display: block;
  object-fit: contain;
}

.pr-edit-fields { margin-top: 3.8cqw; }

.pr-edit-field {
  display: block;
  margin-top: 5.2cqw;
}

.pr-edit-field:first-child { margin-top: 0; }

.pr-edit-field > span {
  display: block;
  margin: 0 2cqw .8cqw;
  color: #606064;
  font-size: 2.9cqw;
  line-height: 1;
  font-weight: 450;
}

.pr-edit-field input {
  width: 100%;
  height: 12.7cqw;
  padding: 0 3.4cqw;
  appearance: none;
  border: .22cqw solid #c8c8cc;
  border-radius: 6.5cqw;
  color: #050505;
  background: rgba(255, 255, 255, .42);
  font: inherit;
  font-size: 3.55cqw;
  line-height: 1;
  font-weight: 590;
  letter-spacing: 0em;
}

.pr-edit-note {
  margin: 6.1cqw 1.6cqw 0;
  color: #606064;
  font-size: 2.72cqw;
  line-height: 1.25;
  font-weight: 560;
  letter-spacing: 0em;
  white-space: nowrap;
}

.pr-edit-save {
  min-width: 38.5cqw;
  height: 11.8cqw;
  display: block;
  margin: 6.7cqw auto 0;
  padding: 0 7cqw;
  appearance: none;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #000;
  font-size: 4cqw;
  line-height: 1;
  font-weight: 720;
  cursor: pointer;
  transition: transform 110ms ease-out, opacity 110ms linear;
}

.pr-edit-save:active { transform: scale(.97); opacity: .78; }

.pr-edit-cancel {
  display: block;
  margin: 3.2cqw auto 0;
  padding: 1.8cqw 5cqw;
  appearance: none;
  border: 0;
  color: #050505;
  background: transparent;
  font-size: 4cqw;
  line-height: 1;
  font-weight: 620;
  cursor: pointer;
}

.pr-photo-menu-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.pr-photo-menu-layer.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.pr-photo-menu-dismiss {
  position: absolute;
  inset: 0;
  appearance: none;
  border: 0;
  background: rgba(235, 235, 240, .13);
  -webkit-backdrop-filter: blur(6px) saturate(108%);
  backdrop-filter: blur(6px) saturate(108%);
}

.pr-photo-menu {
  position: absolute;
  top: 76.5cqw;
  left: 17cqw;
  right: 17cqw;
  padding: 3.4cqw 0;
  overflow: hidden;
  border: .15cqw solid rgba(255, 255, 255, .9);
  border-radius: 7.4cqw;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, .82), rgba(248, 248, 251, .68)),
    rgba(250, 250, 252, .66);
  box-shadow: 0 4cqw 12cqw rgba(0, 0, 0, .15), inset 0 .15cqw 0 rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(40px) saturate(172%);
  backdrop-filter: blur(40px) saturate(172%);
  transform: translate3d(0, 1.5cqw, 0) scale(.985);
  transition: transform 190ms cubic-bezier(.2, .8, .2, 1);
}

.pr-photo-menu-layer.is-visible .pr-photo-menu { transform: none; }

.pr-photo-menu button {
  width: 100%;
  min-height: 10.3cqw;
  display: grid;
  grid-template-columns: 5cqw minmax(0, 1fr);
  align-items: center;
  column-gap: 3.3cqw;
  padding: 0 7cqw;
  appearance: none;
  border: 0;
  color: #050505;
  background: transparent;
  font-size: 4.05cqw;
  line-height: 1;
  font-weight: 590;
  text-align: left;
  cursor: pointer;
}

.pr-photo-menu button:active { background: rgba(118, 118, 128, .09); }

.pr-photo-menu img {
  width: 4.5cqw;
  height: 4.5cqw;
  display: block;
  object-fit: contain;
}

.profile-settings-live.is-profile-root .dc-scroll {
  background: var(--settings-page-surface);
  scroll-behavior: auto;
}

.ps-page--notifications { padding-top: var(--settings-content-top); }

.ps-setting-block { width: 100%; }

.ps-info,
.ps-detail-info {
  margin: 2.65cqw 4.35cqw 0;
  color: #929297;
  font-size: 3.55cqw;
  line-height: 1.18;
  font-weight: 560;
  letter-spacing: 0em;
}

.ps-link {
  padding: 0;
  appearance: none;
  border: 0;
  color: var(--accent-color);
  background: transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.ps-link:active { opacity: .55; }

.ps-notification-list,
.ps-channel-list { overflow: hidden; }

.ps-list-row {
  position: relative;
  width: 100%;
  min-height: 13.05cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  padding: 0 4.35cqw;
  appearance: none;
  border: 0;
  color: #050505;
  background: #fff;
  font-size: 4.05cqw;
  line-height: 1.05;
  font-weight: 590;
  letter-spacing: 0em;
  text-align: left;
  cursor: pointer;
  transition: background-color 100ms linear, transform 105ms ease-out;
}

.ps-list-row:active { background: #f3f3f5; transform: scale(.995); }

.ps-list-row:not(:last-child)::after,
.ps-channel-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4.35cqw;
  right: 4.35cqw;
  bottom: 0;
  height: .17cqw;
  background: #e2e2e5;
}

.ps-list-value {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 2.3cqw;
  color: #929297;
  font-weight: 570;
  white-space: nowrap;
}

.ps-page--notification-detail { padding-top: var(--settings-content-top); }

.ps-detail-title {
  margin: 0 4.35cqw 3.55cqw;
  color: #929297;
  font-size: 4.1cqw;
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0em;
}

.ps-channel-row {
  position: relative;
  min-height: 13.05cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.35cqw;
  color: #050505;
  background: #fff;
  font-size: 4.05cqw;
  line-height: 1.05;
  font-weight: 590;
  letter-spacing: 0em;
}

.ps-nav-action {
  position: absolute;
  top: var(--settings-nav-control-top);
  right: var(--settings-nav-side-inset);
  width: var(--settings-nav-control-size);
  height: var(--settings-nav-control-size);
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 50%;
  color: var(--accent-color);
  background: var(--settings-nav-control-surface);
  box-shadow: var(--settings-nav-control-shadow);
  cursor: pointer;
  transition: transform 110ms ease-out, color 180ms ease, opacity 180ms ease;
}

.ps-nav-action[hidden] { display: none; }
.ps-nav-action:active:not(:disabled) { transform: scale(.94); }
.ps-nav-action:disabled { color: #8e8e93; cursor: default; }
.ps-nav-action span {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 3.1cqw;
  height: 5.3cqw;
  border-right: .68cqw solid currentColor;
  border-bottom: .68cqw solid currentColor;
  border-radius: .2cqw;
  transform: translate(-50%, -56%) rotate(40deg);
}

.dc-navigation.is-invite::before {
  content: "";
  position: absolute;
  top: 1.25cqw;
  left: 50%;
  width: 9.6cqw;
  height: 1.25cqw;
  border-radius: 999px;
  background: #b5b5bb;
  transform: translateX(-50%);
}

.dc-navigation.is-invite h1 { max-width: 61cqw; }

.ps-navigation-back.is-close span {
  top: 50%;
  left: 50%;
  width: 4.55cqw;
  height: 4.55cqw;
  border: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
}

.ps-navigation-back.is-close span::before,
.ps-navigation-back.is-close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5.15cqw;
  height: .68cqw;
  border-radius: 999px;
  background: #111116;
}

.ps-navigation-back.is-close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.ps-navigation-back.is-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }

.ps-page--trusted { padding-top: 40.1cqw; }

.ps-trusted-intro {
  margin: 0 4.35cqw;
  color: #626267;
  font-size: 3.55cqw;
  line-height: 1.55;
  font-weight: 560;
  letter-spacing: 0em;
}

.ps-trusted-intro p { margin: 0 0 5.8cqw; }

.ps-trusted-learn {
  display: block;
  margin-top: -4.7cqw;
  font-size: 3.55cqw;
  line-height: 1.4;
}

.ps-trusted-start,
.ps-add-contact {
  min-height: 13.05cqw;
  display: flex;
  align-items: center;
  margin-top: 13.9cqw;
  padding: 0 4.35cqw;
  color: var(--accent-color);
  font-size: 4.05cqw;
  line-height: 1.05;
  font-weight: 590;
  letter-spacing: 0em;
}

.ps-page--trusted-invite {
  min-height: 202cqw;
  padding-top: 36.3cqw;
}

.ps-trusted-invite-copy {
  margin: 0 5.25cqw;
  color: #626267;
  font-size: 3.55cqw;
  line-height: 1.45;
  font-weight: 560;
  letter-spacing: 0em;
}

.ps-trusted-invite-copy p { margin: 0; }
.ps-trusted-invite-copy .ps-link { white-space: nowrap; }

.ps-add-contact { margin-top: 4.35cqw; }

.ps-trusted-fields {
  margin-top: 4.65cqw;
  overflow: hidden;
}

.ps-trusted-field {
  position: relative;
  min-height: 15.45cqw;
  display: flex;
  align-items: center;
  margin: 0 4.35cqw;
}

.ps-trusted-field:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: .17cqw;
  background: #d9d9dc;
}

.ps-trusted-field input,
.ps-trusted-field select {
  width: 100%;
  height: 8.5cqw;
  padding: 0;
  appearance: none;
  border: 0;
  outline: 0;
  color: #050505;
  background: transparent;
  font: inherit;
  font-size: 3.85cqw;
  line-height: 1;
  font-weight: 560;
  letter-spacing: 0em;
}

.ps-trusted-field input::placeholder { color: #c2c2c7; opacity: 1; }

.ps-phone-field { gap: 2.15cqw; }
.ps-phone-field > label:first-child {
  position: relative;
  flex: 0 0 9.1cqw;
}

.ps-phone-field > label:first-child::after {
  content: "";
  position: absolute;
  top: 50%;
  right: .4cqw;
  width: 2.1cqw;
  height: 2.1cqw;
  border-right: .5cqw solid #929297;
  border-bottom: .5cqw solid #929297;
  transform: translateY(-72%) rotate(45deg);
  pointer-events: none;
}

.ps-phone-field select { padding-right: 2.6cqw; color: #050505; }
.ps-phone-input { flex: 1 1 auto; }

.ps-consent-card {
  margin-top: 4.65cqw;
  padding: 4.35cqw 4.35cqw 0;
  overflow: hidden;
}

.ps-consent-card > p {
  margin: 0 0 4.65cqw;
  color: #626267;
  font-size: 3.05cqw;
  line-height: 1.19;
  font-weight: 560;
  letter-spacing: 0em;
}

.ps-consent-row {
  min-height: 13.05cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: .17cqw solid #d9d9dc;
  color: #050505;
  font-size: 4.05cqw;
  line-height: 1.05;
  font-weight: 590;
  letter-spacing: 0em;
}

.profile-settings-live.is-trusted-invite .dc-scroll { background: #f2f2f7; }

.ps-dialog .dc-dialog-actions { grid-template-columns: 1fr; }

.profile-settings-live button:focus-visible,
.profile-settings-live select:focus-visible {
  outline: .5cqw solid var(--accent-color);
  outline-offset: .25cqw;
}

.profile-settings-live input:focus,
.profile-settings-live input:focus-visible {
  outline: none;
  outline-offset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .profile-settings-live .dc-switch,
  .profile-settings-live .dc-switch i,
  .profile-settings-live button,
  .pr-edit-backdrop,
  .pr-edit-sheet,
  .pr-photo-menu-layer,
  .pr-photo-menu { transition-duration: 1ms !important; }
}

.side-button {
  position: absolute;
  z-index: 0;
  display: block;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(#767980, #25272c 18%, #111216 82%, #64676e);
  box-shadow: 0 0 0 1px rgba(0,0,0,.34);
}
.action-button { left: -3px; top: 17%; height: 8%; }
.volume-up { left: -3px; top: 28%; height: 6.7%; }
.volume-down { left: -3px; top: 36%; height: 6.7%; }
.power-button { right: -3px; top: 28%; height: 13.5%; }

@media (max-aspect-ratio: 78 / 163.4) {
  .phone-shell { width: 96vw; height: auto; }
}

@media (max-width: 500px) {
  .phone-shell { height: min(96svh, 990px); width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .report-sheet { animation: none !important; }
  .report-spinner { animation: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .pl-navigation,
  .pl-menu-popover,
  .report-footer,
  .dc-navigation,
  .dc-dialog {
    background: #f8f8fa;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Live Finance ---------------------------------------------------------- */
.home-live:is(.is-finance, .is-financeMemories, .is-financeSavedMemories, .is-financeMemorySearch, .is-financeConnect) {
  background: #fff;
  color: #050505;
  touch-action: pan-y;
}

.finance-page,
.finance-connect-page,
.finance-memory-page {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
}

.finance-chat-header {
  position: absolute;
  z-index: 12;
  top: var(--bar-header-top);
  left: var(--bar-header-side-inset);
  right: var(--bar-header-side-inset);
  display: grid;
  grid-template-columns: var(--bar-orb-size) 1fr var(--bar-orb-size);
  align-items: center;
  height: var(--bar-header-height);
  pointer-events: none;
}

.finance-chat-header > * { pointer-events: auto; }

.finance-header h1 {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17pt;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0em;
}

.finance-menu-button {
  grid-column: 1;
  justify-self: start;
}

.finance-icon {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.finance-dashboard-scroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.finance-dashboard-scroll::-webkit-scrollbar { display: none; }

.finance-dashboard-content {
  position: relative;
  min-height: 246.4cqw;
}

.finance-hero {
  position: absolute;
  top: 36.9cqw;
  left: 8cqw;
  right: 8cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.finance-money-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 15.3cqw;
  height: 15.3cqw;
  border: .2cqw solid rgba(60,60,67,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 .3cqw 1.1cqw rgba(0,0,0,.045);
}

.finance-money-bloom {
  position: absolute;
  width: 3.45cqw;
  height: 3.45cqw;
  border-radius: 50%;
  background: #7bdc68;
  box-shadow:
    0 -1.9cqw 0 #7bdc68,
    1.4cqw -1.4cqw 0 #7bdc68,
    1.9cqw 0 0 #7bdc68,
    1.4cqw 1.4cqw 0 #7bdc68,
    0 1.9cqw 0 #7bdc68,
    -1.4cqw 1.4cqw 0 #7bdc68,
    -1.9cqw 0 0 #7bdc68,
    -1.4cqw -1.4cqw 0 #7bdc68;
  transform: rotate(-8deg) skewX(-6deg);
  transform-origin: center;
}

.finance-money-mark b {
  position: relative;
  z-index: 2;
  color: #2baa3b;
  font-size: 5.3cqw;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.05em;
}

.finance-hero h2 {
  margin: 7.25cqw 0 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 4.95cqw;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.025em;
}

.finance-hero p {
  margin: 2.7cqw 0 0;
  color: #5f5f62;
  font-size: calc(3.75cqw - 1pt);
  font-weight: 450;
  line-height: 1.25;
  letter-spacing: -.006em;
}

.finance-spending-card {
  position: absolute;
  top: 98.8cqw;
  left: 4.2cqw;
  right: 4.2cqw;
  height: 147.9cqw;
  overflow: hidden;
  border: .18cqw solid rgba(60,60,67,.12);
  border-radius: 6.9cqw 6.9cqw 0 0;
  background: #fff;
}

.finance-spending-card > header {
  position: absolute;
  top: 6.45cqw;
  left: 6.3cqw;
  right: 6.3cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.finance-spending-card h2,
.finance-spending-card > header strong {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 4.65cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
}

.finance-spending-card > header strong {
  font-size: calc(4.65cqw - 1pt);
  font-weight: 650;
}

.finance-spending-card h2 {
  font-size: calc(4.65cqw - 1pt);
  font-weight: 650;
}

.finance-card-divider {
  position: absolute;
  top: 16.65cqw;
  left: 6.3cqw;
  right: 6.3cqw;
  height: .15cqw;
  background: rgba(60,60,67,.2);
}

.finance-segment-chart {
  position: absolute;
  top: 22.1cqw;
  left: 6.3cqw;
  right: 6.3cqw;
  display: flex;
  gap: .7cqw;
  height: 10.75cqw;
  overflow: hidden;
  border-radius: 1.05cqw;
}

.finance-segment-chart i {
  flex: var(--finance-segment) 1 0;
  min-width: 0;
  border-radius: 1cqw;
  background: #00ad3e;
  transform: scaleX(0);
  transform-origin: left center;
  animation: finance-segment-in 520ms cubic-bezier(.18,.82,.2,1) forwards;
  animation-delay: calc(var(--finance-segment-index) * 54ms + 80ms);
}

.finance-segment-chart i:nth-child(2) { background: #40c775; }
.finance-segment-chart i:nth-child(3) { background: #86d894; }
.finance-segment-chart i:nth-child(4) { background: #8bb8ed; }
.finance-segment-chart i:nth-child(5) { background: #439df0; }
.finance-segment-chart i:nth-child(6) { background: #0878df; }
.finance-segment-chart i:nth-child(7) { background: #064ab8; }

@keyframes finance-segment-in { to { transform: scaleX(1); } }

.finance-spending-rows {
  position: absolute;
  top: 38.7cqw;
  left: 6.2cqw;
  right: 6.2cqw;
}

.finance-spending-row {
  display: grid;
  grid-template-columns: 7.6cqw minmax(0,1fr) 13.5cqw;
  align-items: center;
  gap: 3.2cqw;
  width: 100%;
  min-height: 12.2cqw;
  padding: 0;
  text-align: left;
  transition: transform 110ms ease-out, opacity 160ms ease-out;
}

.finance-spending-row.is-obscured {
  filter: blur(1.75cqw);
  opacity: .48;
  pointer-events: none;
}

.finance-category-icon {
  display: grid;
  place-items: center;
  width: 7.6cqw;
  height: 7.6cqw;
  padding: 1.7cqw;
  border-radius: 50%;
  color: #66686b;
  background: #f5f5f6;
}

.finance-category-copy { min-width: 0; }
.finance-category-copy b,
.finance-spending-row > strong {
  display: block;
  overflow: hidden;
  font-size: 3.35cqw;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.012em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finance-spending-row > strong { justify-self: end; font-weight: 590; }

.finance-category-copy > i {
  position: relative;
  display: block;
  height: .85cqw;
  margin-top: 1.55cqw;
  overflow: hidden;
  border-radius: .5cqw;
  background: #f0f0f1;
}

.finance-category-copy > i > span {
  display: block;
  width: calc(var(--finance-progress) * 1%);
  height: 100%;
  border-radius: inherit;
  background: #00ad3e;
}

.finance-connect-button {
  position: absolute;
  left: 2cqw;
  right: 2cqw;
  top: 112.9cqw;
  height: 15cqw;
  border-radius: 8cqw;
  color: #fff !important;
  background: #000 !important;
  font-size: 3.75cqw;
  font-weight: 680;
  line-height: 1;
  letter-spacing: -.01em;
}

/* Saved financial memories */
.home-live:is(.is-financeSavedMemories, .is-financeMemorySearch) { background: #d1d1d1; }

.finance-memory-page {
  background: #d1d1d1;
}

.finance-memory-page::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -2cqw;
  right: -1.5cqw;
  width: 35cqw;
  height: 24cqw;
  border-radius: 55% 0 0 55% / 65% 0 0 65%;
  background: rgba(255,255,255,.22);
}

.finance-memory-sheet {
  position: absolute;
  z-index: 1;
  top: 14.2cqw;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-radius: 11.5cqw 11.5cqw 0 0;
  background: #f2f2f7;
}

.finance-memory-page-title {
  position: absolute;
  top: 8.4cqw;
  left: 8cqw;
  right: 8cqw;
  margin: 0;
  text-align: center;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 4.45cqw;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.025em;
}

.finance-memory-results {
  position: absolute;
  inset: 0;
}

.finance-memory-empty {
  position: absolute;
  top: 97.1cqw;
  left: 6cqw;
  right: 6cqw;
  margin: 0;
  color: #9a9a9d;
  text-align: center;
  font-size: 3.7cqw;
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -.008em;
}

.finance-memory-page.is-searching .finance-memory-empty { top: 46.8cqw; }

.finance-memory-generating,
.finance-memory-result {
  position: absolute;
  top: 53cqw;
  left: 7cqw;
  right: 7cqw;
  display: grid;
  grid-template-columns: 10cqw minmax(0,1fr);
  align-items: center;
  gap: 3.2cqw;
  min-height: 18cqw;
  padding: 3cqw;
  border-radius: 5cqw;
  background: #fff !important;
  box-shadow: 0 3cqw 10cqw rgba(0,0,0,.055);
  text-align: left;
}

.finance-memory-generating > i {
  width: 9cqw;
  height: 9cqw;
  border-radius: 50%;
  background: #e4e4e7;
  animation: finance-memory-pulse 1.1s ease-in-out infinite alternate;
}

.finance-memory-generating > span { color: #8d8d91; font-size: 3.3cqw; font-weight: 600; }
.finance-memory-generating > b { position: absolute; left: 16cqw; right: 5cqw; height: 2.1cqw; border-radius: 1.1cqw; background: #e6e6e8; }
.finance-memory-generating > b:nth-of-type(1) { top: 10.4cqw; right: 14cqw; }
.finance-memory-generating > b:nth-of-type(2) { top: 13.7cqw; }
@keyframes finance-memory-pulse { to { opacity: .52; transform: scale(.94); } }

.finance-memory-result > span:first-child { display: grid; place-items: center; }
.finance-memory-result .finance-money-mark { width: 9cqw; height: 9cqw; }
.finance-memory-result .finance-money-bloom,
.finance-memory-result .finance-money-bloom::before,
.finance-memory-result .finance-money-bloom::after { width: 4cqw; height: 4cqw; }
.finance-memory-result .finance-money-mark b { font-size: 3.2cqw; }
.finance-memory-result b { display: block; font-size: 3.55cqw; font-weight: 680; }
.finance-memory-result small { display: block; margin-top: 1cqw; color: #8e8e93; font-size: 2.8cqw; font-weight: 500; line-height: 1.25; }

.finance-memory-search-dock {
  position: absolute;
  z-index: 3;
  left: 7.45cqw;
  right: 7.45cqw;
  bottom: 6.35cqw;
  display: grid;
  grid-template-columns: 6.2cqw 1fr;
  align-items: center;
  gap: 2.1cqw;
  height: 13.7cqw;
  padding: 0 5.3cqw;
  border-radius: 7.3cqw;
  background: #fff !important;
  box-shadow: 0 4cqw 11cqw rgba(0,0,0,.09);
  text-align: left;
}

.finance-memory-search-dock .finance-icon { width: 5.7cqw; height: 5.7cqw; stroke-width: 2.7; }
.finance-memory-search-dock span { color: #8d8d91; font-size: 4cqw; font-weight: 600; }

.finance-memory-search-form {
  position: absolute;
  z-index: 4;
  top: 96.5cqw;
  left: 3.2cqw;
  right: 3.2cqw;
  display: grid;
  grid-template-columns: minmax(0,1fr) 13cqw;
  align-items: center;
  gap: 3.2cqw;
}

.finance-memory-search-form label {
  display: grid;
  grid-template-columns: 6.2cqw minmax(0,1fr);
  align-items: center;
  gap: 1.5cqw;
  height: 13.2cqw;
  padding: 0 5.3cqw;
  border-radius: 7cqw;
  background: #fff;
}

.finance-memory-search-form label .finance-icon { width: 5.5cqw; height: 5.5cqw; stroke-width: 2.6; }
.finance-memory-search-form input {
  min-width: 0;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  color: #5f5f63;
  background: transparent;
  font-size: 3.85cqw;
  font-weight: 500;
  line-height: 1;
}
.finance-memory-search-form input::placeholder { color: #77777b; opacity: 1; }
.finance-memory-search-form input::-webkit-search-cancel-button { display: none; }
.finance-memory-search-form > button {
  display: grid;
  place-items: center;
  width: 13cqw;
  height: 13cqw;
  padding: 3.7cqw;
  border-radius: 50%;
  background: #fff !important;
}
.finance-memory-search-form > button .finance-icon { stroke-width: 3.6; }

.finance-keyboard {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88.1cqw;
  padding: 14.8cqw 1.7cqw 0;
  border-radius: 9.5cqw 9.5cqw 0 0;
  background: #dfe0e6;
  box-shadow: inset 0 .2cqw 0 rgba(255,255,255,.8);
}

.finance-keyboard-row {
  display: flex;
  justify-content: center;
  gap: 1.35cqw;
  margin-bottom: 2.8cqw;
}

.finance-keyboard-row button {
  width: 8.2cqw;
  height: 11.7cqw;
  padding: 0;
  border-radius: 1.35cqw;
  background: #fff !important;
  box-shadow: 0 .25cqw .25cqw rgba(0,0,0,.18);
  font-size: 4.8cqw;
  font-weight: 450;
  line-height: 1;
}

.finance-keyboard-row-2 { padding: 0 4.8cqw; }
.finance-keyboard-row-3 button:first-child,
.finance-keyboard-row-3 button:last-child { width: 11cqw; background: #c4c5cb !important; }
.finance-keyboard-bottom { gap: 1.5cqw; margin-top: .2cqw; }
.finance-keyboard-bottom button { width: 11.5cqw; font-size: 3.8cqw; font-weight: 600; }
.finance-keyboard-bottom .finance-space-key { flex: 1; }
.finance-keyboard-bottom .finance-search-submit { width: 22.6cqw; color: #a6a7ad; background: #babcc2 !important; padding: 3.5cqw 8cqw; }
.finance-keyboard-footer { display: flex; justify-content: space-between; align-items: center; padding: 2.3cqw 7.7cqw 0; font-size: 6cqw; }
.finance-keyboard-footer .finance-icon { width: 6.2cqw; height: 6.2cqw; stroke-width: 2.1; }

/* Connect accounts conversation */
.finance-chat-header { grid-template-columns: var(--bar-orb-size) 1fr var(--bar-orb-size); }
.finance-chat-actions {
  grid-column: 3;
  justify-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 28.8cqw;
  height: 12.2cqw;
  border-radius: 6.4cqw;
  background: rgba(255,255,255,.83);
  box-shadow: 0 4.7cqw 10cqw rgba(0,0,0,.085);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.finance-chat-actions button { display: grid; place-items: center; padding: 3.1cqw; }
.finance-chat-actions .finance-icon { width: 6cqw; height: 6cqw; }
.finance-chat-actions button:first-child .finance-icon { stroke-width: 2.7; }
.finance-chat-actions button:last-child .finance-icon { stroke-width: 0; fill: currentColor; }

.finance-chat-scroll {
  position: absolute;
  inset: 0 0 22cqw;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.finance-chat-scroll::-webkit-scrollbar { display: none; }

.finance-chat-scroll.has-conversation {
  top: 29.2cqw;
  padding: 4cqw 7.3cqw 10cqw;
}

.finance-chat-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.finance-chat-scroll.has-conversation .finance-benefits-card {
  position: relative;
  inset: auto;
  width: 100%;
  margin: 0 0 6cqw;
}

.finance-chat-content > .hl-conversation { padding-top: 0; }

.finance-user-message {
  position: absolute;
  top: 31.3cqw;
  right: 4.2cqw;
  width: 62.5cqw;
  min-height: 17.3cqw;
  margin: 0;
  padding: 3.4cqw 4.4cqw;
  border-radius: 5.8cqw;
  color: #0068cf;
  background: #e0f0fb;
  font-size: 4.05cqw;
  font-weight: 620;
  line-height: 1.45;
  letter-spacing: -.012em;
}

.finance-thinking-dot {
  position: absolute;
  top: 56.4cqw;
  left: 4.35cqw;
  width: 3.45cqw;
  height: 3.45cqw;
  border-radius: 50%;
  background: #148bf5;
  animation: finance-thinking 840ms ease-in-out infinite alternate;
}
@keyframes finance-thinking { to { opacity: .42; transform: scale(.78); } }

.finance-benefits-card {
  position: absolute;
  top: 59.9cqw;
  left: 4.2cqw;
  right: 4.2cqw;
  height: 50cqw;
  padding: 4.2cqw;
  border: .16cqw solid rgba(60,60,67,.16);
  border-radius: 6.3cqw;
  background: #fff;
}

.finance-benefits-brand {
  display: flex;
  align-items: center;
  gap: 2.1cqw;
  color: #747478;
  font-size: 3.75cqw;
  font-weight: 600;
}

.finance-forma-logo {
  display: block;
  width: 6cqw;
  height: 6cqw;
  border-radius: 1.25cqw;
  object-fit: contain;
}

.finance-benefits-card h2 {
  margin: 3.55cqw 0 0;
  font-size: 4.7cqw;
  font-weight: 450;
  line-height: 1;
  letter-spacing: 0;
}
.finance-benefits-card p { margin: 1.9cqw 0 0; color: #96969a; font-size: 3.45cqw; font-weight: 500; line-height: 1.2; }
.finance-benefits-card p.finance-connect-error { color: #ff3b30; }

.finance-benefit-types {
  display: flex;
  gap: 1.5cqw;
  margin-top: 2.5cqw;
}
.finance-benefit-types span {
  display: grid;
  min-width: 9.2cqw;
  height: 5cqw;
  padding: 0 2cqw;
  place-items: center;
  border-radius: 2.5cqw;
  color: #5f6065;
  background: #f0f0f2;
  font-size: 2.75cqw;
  font-weight: 650;
  letter-spacing: .01em;
}

.finance-benefits-actions {
  position: absolute;
  left: 4.2cqw;
  right: 4.2cqw;
  bottom: 3.7cqw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4cqw;
}
.finance-benefits-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3cqw;
  height: 8.5cqw;
  border: .25cqw solid rgba(60,60,67,.22) !important;
  border-radius: 4.5cqw;
  color: #66666a;
  font-size: 2.6cqw;
  font-weight: 620;
}
.finance-benefits-actions button.is-primary { color: #fff; border-color: #181818 !important; background: #181818 !important; }
.finance-benefits-actions button:disabled { opacity: 1; }
.finance-benefits-actions .finance-icon { width: 4cqw; height: 4cqw; stroke-width: 3; }
.finance-benefits-card.is-connected { border-color: rgba(52,199,89,.35); }

.finance-button-spinner {
  width: 3.5cqw;
  height: 3.5cqw;
  border: .45cqw solid rgba(255,255,255,.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: finance-spin 700ms linear infinite;
}
@keyframes finance-spin { to { transform: rotate(360deg); } }

.finance-benefits-card.is-skeleton { overflow: hidden; }
.finance-benefits-card.is-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.72) 48%, transparent 76%);
  transform: translateX(-100%);
  animation: finance-shimmer 1.05s ease-in-out infinite;
}
@keyframes finance-shimmer { to { transform: translateX(100%); } }
.finance-skeleton-brand { display: flex; gap: 2.4cqw; align-items: center; }
.finance-skeleton-brand i { width: 6cqw; height: 6cqw; border-radius: 1.3cqw; background: #e4e4e5; }
.finance-skeleton-brand b { width: 14cqw; height: 4.2cqw; border-radius: 1.5cqw; background: #e4e4e5; }
.finance-skeleton-lines { display: grid; gap: 1.1cqw; margin-top: 4.5cqw; }
.finance-skeleton-lines i { height: 4.8cqw; border-radius: 1.2cqw; background: #e4e4e5; }
.finance-skeleton-lines i:nth-child(1) { width: 61%; }
.finance-skeleton-lines i:nth-child(3) { width: 77%; }
.finance-skeleton-actions { position: absolute; left: 4.2cqw; right: 4.2cqw; bottom: 3.8cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; }
.finance-skeleton-actions i { height: 8.5cqw; border-radius: 4.5cqw; background: #e4e4e5; }

.finance-assistant-response {
  position: absolute;
  top: 117.2cqw;
  left: 4.2cqw;
  right: 4.2cqw;
}

.finance-assistant-message {
  margin: 0;
  font-size: 3.9cqw;
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: 0;
}

.finance-feedback {
  display: flex;
  align-items: center;
  gap: 3.1cqw;
  margin-top: 2.6cqw;
}
.finance-feedback button { width: 4.4cqw; height: 4.4cqw; padding: .25cqw; color: #66676a; }
.finance-feedback button.is-selected { color: #0a84ff; }
.finance-feedback .finance-icon { stroke-width: 2.15; }
.finance-feedback button:last-child .finance-icon { stroke-width: 0; fill: currentColor; }

.finance-composer {
  position: absolute;
  z-index: 14;
  left: 7.25cqw;
  right: 7.25cqw;
  bottom: 6.25cqw;
  display: grid;
  grid-template-columns: 10cqw minmax(0,1fr) 8cqw 8cqw;
  align-items: center;
  gap: .8cqw;
  height: 13.3cqw;
  padding: .8cqw 1.2cqw;
  border: .22cqw solid rgba(255,255,255,.9);
  border-radius: 7cqw;
  background: rgba(253,253,253,.94);
  box-shadow: 0 4.8cqw 11cqw rgba(0,0,0,.09);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}
.finance-composer button { display: grid; place-items: center; }
.finance-composer-add { width: 8.8cqw; height: 8.8cqw; padding: 1.8cqw; }
.finance-composer-add .finance-icon { stroke-width: 2.2; }
.finance-composer input { min-width: 0; padding: 0; border: 0; outline: 0; color: #111; background: transparent; font-size: 3.95cqw; font-weight: 450; letter-spacing: 0; }
.finance-composer input::placeholder { color: #98989c; opacity: 1; font-weight: 600; }
.finance-composer-mic { width: 7.2cqw; height: 7.2cqw; padding: 1cqw; }
.finance-composer-mic .finance-icon { stroke-width: 2.25; }
.finance-composer-primary { position: relative; width: 7.3cqw; height: 7.3cqw; border-radius: 50%; color: #fff !important; background: #0a84ff !important; }
.finance-composer-primary.is-stop i { width: 2.6cqw; height: 2.6cqw; border-radius: .35cqw; background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .finance-segment-chart i,
  .finance-thinking-dot,
  .finance-benefits-card.is-skeleton::after,
  .finance-button-spinner,
  .finance-memory-generating > i {
    animation: none !important;
    transform: none !important;
  }
}

@media (prefers-contrast: more) {
  .bar-skeleton-block { background: #d6d6da; }
  .bar-skeleton-card { border-color: #a8a8ad; }
}

@media (prefers-reduced-transparency: reduce) {
  .finance-round-button,
  .finance-chat-actions,
  .finance-composer {
    background: #fff !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Bar reference sidebar v2 ------------------------------------------------ */

.home-live.is-sidebar {
  background: #fff;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.home-live.is-sidebar .hl-status-bar { z-index: 20; }

.bar-sidebar-layout {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bar-sidebar-drawer {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 100cqw;
  overflow: hidden;
  background: #fff;
}

.bar-sidebar-header {
  position: absolute;
  z-index: 8;
  top: 13.4cqw;
  left: 0;
  right: 19.9cqw;
  height: 14.7cqw;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.bar-sidebar-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -13.4cqw;
  height: 13.4cqw;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.bar-sidebar-header::after {
  content: "";
  position: absolute;
  top: calc(100% - .1cqw);
  left: 0;
  right: 0;
  height: 7cqw;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.82), rgba(255,255,255,0));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
  transition: opacity 160ms ease-out;
}

.bar-sidebar-drawer.is-scrolled .bar-sidebar-header::after { opacity: 1; }

.bar-sidebar-header h1 {
  position: absolute;
  left: 6.2cqw;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 5.18cqw;
  font-weight: 620;
  line-height: 1;
  letter-spacing: -.022em;
}

.bar-search-button,
.bar-sidebar-close,
.bar-sidebar-add {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.78) !important;
  box-shadow: 0 3.5cqw 9cqw rgba(0,0,0,.075);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.bar-search-button {
  position: absolute;
  top: 50%;
  right: 6.05cqw;
  width: 11.7cqw;
  height: 11.7cqw;
  padding: 3.05cqw;
  transform: translateY(-50%);
}

.bar-search-button:active { transform: translateY(-50%) scale(.965); }

.bar-sidebar-scroll {
  position: absolute;
  top: 0;
  right: 19.9cqw;
  bottom: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 28.1cqw 0 29cqw;
  scrollbar-width: none;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.bar-sidebar-scroll::-webkit-scrollbar { display: none; }
.bar-sidebar-nav { display: grid; }

.bar-nav-row {
  position: relative;
  display: block;
  width: 100%;
  height: 12.4cqw;
  padding: 0;
  text-align: left;
}

.bar-nav-row:active { transform: none !important; opacity: .58; }

.bar-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.bar-nav-row > .bar-icon-frame {
  position: absolute;
  top: 50%;
  left: 6.2cqw;
  display: grid;
  place-items: center;
  width: 4.9cqw;
  height: 4.9cqw;
  transform: translateY(-50%);
}

.bar-icon-frame > .bar-icon {
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
}

.bar-icon-frame > .bar-icon--vector {
  position: absolute;
  left: calc(50% - 2.85cqw);
  top: calc(50% - 2.85cqw);
  width: 5.7cqw;
  height: 5.7cqw;
  mix-blend-mode: normal;
}

.bar-nav-row > .bar-nav-label {
  position: absolute;
  top: 50%;
  left: 14.3cqw;
  right: 3cqw;
  overflow: hidden;
  transform: translateY(-50%);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 4.05cqw;
  font-weight: 620;
  /* Keep SF Pro Text descenders (g, j, p, q, y) inside the clipped label box. */
  line-height: 1.18;
  letter-spacing: -.006em;
}

.bar-sidebar-section { margin-top: 6.5cqw; }

.bar-sidebar-section h2 {
  /* Align the visible letter edge with the logo and module drawings. */
  margin: 0 0 3.4cqw calc(6.2cqw - .06em);
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 4.05cqw;
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: -.006em;
}

.bar-pinned .bar-nav-row { height: 12.8cqw; }
.bar-pinned .bar-nav-row > .bar-nav-label {
  display: flex;
  align-items: center;
  height: 4.9cqw;
  transform: translateY(calc(-50% + .35cqw));
}

.bar-pinned .bar-nav-row > .bar-nav-label,
.home-live .bar-recents > button {
  font-family: "SF Pro Text", "SF Pro", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 4.533333cqw;
  font-weight: 450;
  line-height: 1.06;
  letter-spacing: 0em;
  font-synthesis: none;
}
.bar-pinned .bar-icon-frame > .bar-icon {
  width: 6.5cqw;
  height: 6.5cqw;
  max-width: none;
}

.bar-recents { margin-top: 6.4cqw; }
.bar-recents h2 { margin-bottom: 4.25cqw; }

.bar-recents > button {
  display: block;
  width: calc(100% - 6.2cqw);
  min-height: 11.5cqw;
  margin-left: 6.2cqw;
  padding: .8cqw 3cqw .8cqw 0;
  overflow: hidden;
  transform: none !important;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-recents > button:active { opacity: .56; }

.bar-recents-empty {
  margin: 0 6.2cqw;
  padding: 1cqw 0;
  color: var(--heylth-secondary, #747478);
  font-size: 3.7cqw;
  line-height: 1.4;
}

.bar-sidebar-footer {
  position: absolute;
  z-index: 12;
  left: 8cqw;
  right: 25.05cqw;
  bottom: 8cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.bar-sidebar-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8cqw;
  right: -5.15cqw;
  bottom: -8cqw;
  height: 27cqw;
  background: linear-gradient(to top, rgba(255,255,255,.96) 0%, rgba(255,255,255,.62) 52%, transparent 100%);
  pointer-events: none;
}

.bar-sidebar-footer > * { pointer-events: auto; }

.bar-chat-pill {
  display: grid;
  grid-template-columns: 6.13cqw auto;
  align-items: center;
  gap: 2.36cqw;
  width: 26cqw;
  height: 10.5cqw;
  padding: 0 4cqw;
  overflow: hidden;
  border: 0 !important;
  outline: 0;
  border-radius: 5.5cqw;
  color: #fff !important;
  background: #0584fe !important;
  box-shadow: 0 4cqw 10cqw rgba(5,132,254,.22);
}

.bar-chat-source-icon {
  display: block;
  width: 6.13cqw;
  height: 6.33cqw;
  object-fit: contain;
  clip-path: inset(8%);
  mix-blend-mode: lighten;
  pointer-events: none;
}

.bar-chat-pill span {
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 4.5cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.018em;
}

.bar-profile-button {
  display: grid;
  place-items: center;
  width: 10.85cqw;
  height: 10.85cqw;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
}

.bar-search-button,
.bar-profile-button {
  padding: 0;
  border: .2cqw solid rgba(60, 60, 67, .12) !important;
  color: #1c1c1e;
  background: linear-gradient(155deg, rgba(255, 255, 255, .96), rgba(253, 253, 254, .74) 65%, rgba(244, 244, 247, .9)) !important;
  box-shadow: 0 .4cqw 1.4cqw rgba(0, 0, 0, .055), inset 0 .15cqw .3cqw rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  backdrop-filter: blur(10px) saturate(115%);
}

.bar-control-icon {
  display: block;
  width: 5.8cqw;
  height: 5.8cqw;
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.bar-profile-avatar {
  width: 100% !important;
  height: 100% !important;
  font-size: 2.85cqw !important;
  font-weight: 430 !important;
}

.bar-profile-avatar.has-photo { background: #d8d8dc; }

.bar-sidebar-rail {
  position: absolute;
  z-index: 6;
  top: -1cqw;
  bottom: -1cqw;
  left: 80.1cqw;
  width: 100cqw;
  overflow: hidden;
  border-radius: 18cqw 0 0 18cqw;
  background: linear-gradient(90deg, rgba(252,252,253,.96) 0, #fff 18cqw, #fff 100%);
  box-shadow: -5.2cqw 0 14cqw rgba(0,0,0,.075);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}

.bar-sidebar-close {
  position: absolute;
  top: 14.65cqw;
  left: 4.1cqw;
  color: #8e8e93 !important;
}

.bar-sidebar-add {
  position: absolute;
  left: 7.7cqw;
  bottom: 5.2cqw;
  width: 11.8cqw;
  height: 11.8cqw;
  padding: 3.25cqw;
  color: #8e8e93 !important;
}

/* Search states */
.home-live.is-sidebar-search { background: #fff; }

.bar-search-page {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
}

.bar-search-main {
  position: absolute;
  inset: 11.5cqw 0 24cqw;
  overflow-x: hidden;
  overflow-y: auto;
}

.bar-search-empty {
  position: absolute;
  top: 43.5cqw;
  left: 0;
  right: 0;
  display: grid;
  justify-items: center;
  gap: 7.4cqw;
  color: #111;
}

.bar-search-empty .bar-icon {
  width: 7.1cqw;
  height: 7.1cqw;
  opacity: .62;
}

.bar-search-empty h1 {
  margin: 0;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 4.08cqw;
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0em;
}

.bar-search-results {
  display: grid;
  gap: .3cqw;
  padding: 7cqw 4cqw 12cqw;
}

.bar-search-results button {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 12cqw;
  padding: 0 4cqw;
  border-radius: 3cqw;
  background: #f5f5f7 !important;
  text-align: left;
  font-size: 3.85cqw;
  font-weight: 520;
}

.bar-search-results p {
  margin: 42cqw 0 0;
  color: #8e8e93;
  text-align: center;
  font-size: 3.7cqw;
}

.bar-search-dock {
  position: absolute;
  z-index: 5;
  left: 3.15cqw;
  right: 3.05cqw;
  bottom: 7.1cqw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12.8cqw;
  align-items: center;
  gap: 3.15cqw;
  transition: transform 300ms cubic-bezier(.18,.82,.2,1);
}

.bar-search-page.is-keyboard-open .bar-search-dock { bottom: 93.6cqw; }

.bar-search-dock label {
  display: grid;
  grid-template-columns: 7cqw minmax(0, 1fr);
  align-items: center;
  height: 13.15cqw;
  padding: 0 4.65cqw;
  border-radius: 7cqw;
  background: rgba(253,253,253,.94);
  box-shadow: 0 4.8cqw 11cqw rgba(0,0,0,.09);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.bar-search-dock label .bar-icon { width: 5.15cqw; height: 5.15cqw; }

.bar-search-dock input {
  min-width: 0;
  height: 8cqw;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 4.08cqw;
  font-weight: 430;
  line-height: 1;
  letter-spacing: -.006em;
}

.bar-search-dock input::placeholder { color: #c7c7ca; opacity: 1; }

.bar-search-close {
  display: grid;
  place-items: center;
  width: 12.8cqw;
  height: 12.8cqw;
  padding: 3.65cqw;
  border-radius: 50%;
  background: rgba(253,253,253,.94) !important;
  box-shadow: 0 4.8cqw 11cqw rgba(0,0,0,.09);
}

.bar-keyboard {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  height: 89.5cqw;
  padding: 4.2cqw 1.7cqw 2cqw;
  border-radius: 11cqw 11cqw 0 0;
  background: #d3d6da;
  box-shadow: 0 -1.5cqw 7cqw rgba(0,0,0,.06);
}

.bar-keyboard-suggestions {
  display: grid;
  grid-template-columns: repeat(7, 1fr) 4.5cqw;
  align-items: center;
  height: 10.1cqw;
  padding: 0 1.1cqw;
  font-size: 4.55cqw;
  font-weight: 520;
  text-align: center;
}

.bar-keyboard-suggestions button {
  padding: 0;
  font-size: 5.5cqw;
  line-height: 1;
}

.bar-keyboard-rows { display: grid; gap: 2.1cqw; }

.bar-keyboard-row {
  display: flex;
  justify-content: center;
  gap: 1.25cqw;
}

.bar-keyboard-row button {
  display: grid;
  place-items: center;
  width: 8.25cqw;
  height: 11.7cqw;
  padding: 0;
  border-radius: 1.35cqw;
  background: #fff !important;
  box-shadow: 0 .35cqw .25cqw rgba(0,0,0,.18);
  font-size: 5.25cqw;
  font-weight: 430;
  line-height: 1;
  text-transform: lowercase;
}

.bar-keyboard-row-2 { padding: 0 4.2cqw; }
.bar-keyboard-row-3 button:first-child,
.bar-keyboard-row-3 button:last-child { width: 11.2cqw; background: #abb0b6 !important; }

.bar-keyboard-bottom button { width: 10.8cqw; font-size: 4.4cqw; font-weight: 560; }
.bar-keyboard-bottom .bar-space-key { flex: 1; max-width: 43cqw; }
.bar-keyboard-bottom .bar-search-key { width: 23cqw; background: #0a84ff !important; }
.bar-keyboard-bottom .bar-search-key .bar-icon { width: 6cqw; height: 6cqw; filter: brightness(0) invert(1); }

.bar-keyboard-foot {
  display: flex;
  justify-content: space-between;
  padding: 2.4cqw 5.2cqw 0;
  font-size: 6cqw;
  line-height: 1;
}

@media (prefers-reduced-transparency: reduce) {
  .bar-sidebar-header,
  .bar-search-button,
  .bar-profile-button,
  .bar-sidebar-close,
  .bar-sidebar-add,
  .bar-sidebar-rail,
  .bar-search-dock label,
  .bar-search-close {
    background: #fff !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .pl-menu-popover { border-color: #777; background: rgba(255,255,255,.98); }
}

/* Profile and settings typography — SF Pro, 16 pt baseline. */
.profile-settings-live,
#dataControlsLive,
.pr-edit-layer,
.pr-photo-menu-layer {
  --profile-type-16: 4.266667cqw;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-optical-sizing: auto;
  font-synthesis: none;
}

.profile-settings-live :is(button, input, textarea, select),
#dataControlsLive :is(button, input, textarea, select),
.pr-edit-layer :is(button, input, textarea, select),
.pr-photo-menu-layer :is(button, input, textarea, select) {
  font-family: inherit;
  font-optical-sizing: inherit;
}

/* Bold: page, navigation, and modal titles. */
.profile-settings-live .dc-navigation h1,
#dataControlsLive .dc-navigation h1 {
  font-size: var(--settings-nav-title-size);
  font-weight: var(--settings-nav-title-weight);
}

#dataControlsLive :is(.dc-dialog h2, .dc-archived-empty strong) {
  font-size: var(--profile-type-16);
  font-weight: 700;
}

/* Semibold: section headings. */
.profile-settings-live .pr-section-title,
.profile-settings-live .ps-detail-title,
#dataControlsLive :is(
  .dc-section-title, .dc-child-section-title
) {
  font-size: var(--profile-type-16);
  font-weight: 450;
  letter-spacing: 0em;
}

.profile-settings-live.is-profile-root .pr-section-title {
  font-weight: 600;
  letter-spacing: 0em;
}

/* Variable 450: primary row titles. */
.profile-settings-live :is(
  .pr-row,
  .pr-row-label,
  .ps-list-row,
  .ps-channel-row,
  .ps-trusted-start,
  .ps-add-contact,
  .ps-consent-row
),
#dataControlsLive :is(
  .dc-toggle-row > span,
  .dc-group-row,
  .dc-disclosure-row,
  .dc-action-row,
  .dc-empty-card
) {
  font-size: var(--profile-type-16);
  font-weight: 450;
}

#dataControlsLive .dc-dialog-actions button,
.pr-photo-menu button,
.pr-edit-cancel {
  font-size: var(--profile-type-16);
  font-weight: 500;
}

/* Regular: values, explanatory copy, and editable content. */
.profile-settings-live :is(
  .pr-row-value,
  .ps-list-value,
  .ps-info,
  .ps-detail-info,
  .ps-trusted-intro,
  .ps-trusted-invite-copy,
  .ps-consent-card > p,
  .ps-trusted-field input,
  .ps-trusted-field select
),
#dataControlsLive :is(
  .dc-row-value,
  .dc-info,
  .dc-child-copy,
  .dc-dialog p,
  .dc-archived-empty span,
  .dc-search-shell input
),
.pr-edit-field input,
.pr-edit-note {
  font-size: var(--profile-type-16);
  font-weight: 400;
}

.profile-settings-live .pr-identity > strong {
  font-size: var(--profile-type-16);
  font-weight: 600;
}

.profile-settings-live :is(.ps-link, .ps-trusted-learn),
#dataControlsLive .dc-link {
  font-size: inherit;
  font-weight: 600;
}

.pr-edit-field > span {
  font-size: var(--profile-type-16);
  font-weight: 600;
}

.pr-edit-save {
  font-size: var(--profile-type-16);
  font-weight: 700;
}

/* Profile editor glass correction — final cascade. */

.pr-edit-sheet {
  top: 74.5cqw;
  bottom: 2.1cqw;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 15.4cqw 4.2cqw 4.1cqw;
  overflow: hidden;
  border: 0.24cqw solid rgba(255, 255, 255, 0.88);
  border-radius: 6.35cqw;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.58),
    rgba(248, 248, 251, 0.42) 52%,
    rgba(239, 239, 244, 0.52)
  );
  box-shadow:
    inset 0 0.22cqw 0 rgba(255, 255, 255, 0.92),
    inset 0 -0.18cqw 0 rgba(255, 255, 255, 0.65),
    0 -1.1cqw 5cqw rgba(0, 0, 0, 0.08),
    0 2.6cqw 8cqw rgba(0, 0, 0, 0.14);
  -webkit-backdrop-filter: blur(34px) saturate(138%);
  backdrop-filter: blur(34px) saturate(138%);
}

.pr-edit-field input {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2),
    rgba(244, 244, 248, 0.14)
  );
  border: 0.22cqw solid rgba(118, 118, 128, 0.3);
  box-shadow:
    inset 0 0.18cqw 0.45cqw rgba(255, 255, 255, 0.55),
    0 0.12cqw 0.45cqw rgba(0, 0, 0, 0.03);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}

.profile-settings-live .pr-edit-note,
.pr-edit-note {
  display: block;
  width: 100%;
  max-width: none;
  margin: 6.1cqw 0 0;
  font-size: 3.2cqw;
  line-height: 1.15;
  letter-spacing: 0em;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  text-wrap: nowrap;
}

.profile-settings-live .pr-edit-field > span,
.pr-edit-field > span {
  margin: 0 3.4cqw .8cqw;
  font-size: 3.2cqw;
  line-height: 1.15;
  font-weight: 400;
}

.profile-settings-live .pr-edit-field input,
.pr-edit-field input {
  font-size: var(--profile-type-16);
  font-weight: 400;
}

.profile-settings-live .pr-edit-save,
.pr-edit-save {
  margin-top: 9.4cqw;
  font-size: var(--profile-type-16);
  font-weight: 600;
}

.profile-settings-live .pr-edit-cancel,
.pr-edit-cancel {
  margin-top: 3.5cqw;
  font-size: var(--profile-type-16);
  font-weight: 400;
}

@media (prefers-reduced-transparency: reduce) {
  .pr-edit-sheet {
    background: #f5f5f8;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .pr-edit-field input {
    background: #f2f2f5;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Live Plugins experience — replaces the old full-screen screenshots. */
.profile-settings-live.is-plugin-settings .dc-navigation {
  background: rgba(242, 242, 247, .94);
}

.ps-page--plugins-settings,
.ps-page--plugin-permissions {
  min-height: 265cqw;
  padding: var(--settings-content-top) 4.25cqw 13cqw;
  background: var(--settings-page-surface);
}

.plugin-settings-content,
.plugin-permissions-content {
  width: 100%;
  color: #050505;
  letter-spacing: 0em;
}

.plugin-permission-summary,
.plugin-browse-link {
  width: 100%;
  min-height: 13.05cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3cqw;
  padding: 0 4.35cqw;
  appearance: none;
  border: 0;
  border-radius: 6.4cqw;
  color: #050505;
  background: #fff;
  font-size: 4.266667cqw;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  transition: background-color 100ms linear, transform 105ms ease-out;
}

.plugin-permission-summary:active,
.plugin-browse-link:active,
.plugin-settings-row:active { background: #f5f5f7; transform: scale(.995); }

.plugin-permission-summary strong,
.plugin-browse-link strong { font-weight: 450; }

.plugin-permission-summary > strong,
.plugin-settings-name,
.plugin-browse-link > strong {
  font-size: var(--profile-type-16);
  font-weight: 450;
  letter-spacing: 0em;
}

.plugin-permission-summary > span {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.7cqw;
  color: #a2a2a7;
  white-space: nowrap;
}

.plugin-permission-summary b {
  overflow: hidden;
  font-weight: 400;
  text-overflow: ellipsis;
}

.plugin-chevron {
  flex: 0 0 auto;
  width: 2.35cqw;
  height: 2.35cqw;
  display: inline-block;
  border-top: .62cqw solid #c2c2c6;
  border-right: .62cqw solid #c2c2c6;
  border-radius: .18cqw;
  transform: rotate(45deg);
}

.plugin-settings-info,
.plugin-permissions-content > p {
  margin: 2.55cqw 4.35cqw 0;
  color: #929297;
  font-size: 3.55cqw;
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: 0em;
}

.plugin-settings-content > h2 {
  margin: 7.55cqw 4.35cqw 3.4cqw;
  color: #929297;
  font-size: 4.266667cqw;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0em;
}

.plugin-settings-card {
  overflow: hidden;
  border-radius: 6.4cqw;
  background: #fff;
}

.plugin-settings-row {
  position: relative;
  width: 100%;
  min-height: 13.05cqw;
  display: grid;
  grid-template-columns: 7.2cqw minmax(0, 1fr) 2.35cqw;
  align-items: center;
  column-gap: 2.7cqw;
  padding: 0 4.35cqw;
  appearance: none;
  border: 0;
  color: #050505;
  background: transparent;
  font-size: 4.266667cqw;
  line-height: 1.05;
  font-weight: 450;
  letter-spacing: 0em;
  text-align: left;
  cursor: pointer;
  transition: background-color 90ms linear, transform 105ms ease-out;
}

.plugin-settings-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13.95cqw;
  right: 4.35cqw;
  bottom: 0;
  height: .17cqw;
  background: #dedee1;
}

.plugin-logo-frame {
  width: 7.2cqw;
  height: 7.2cqw;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 1.65cqw;
  --plugin-artwork-scale: 1;
}

.plugin-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 1.65cqw;
  transform: scale(var(--plugin-artwork-scale));
  transform-origin: center;
}

/* Optical normalization: match visible artwork, not just each file's canvas. */
.plugin-logo-frame[data-plugin-icon="teladoc-health"] { --plugin-artwork-scale: 1.12; }
.plugin-logo-frame[data-plugin-icon="maven-clinic"] { --plugin-artwork-scale: 1.38; }
.plugin-logo-frame[data-plugin-icon="gmail"] { --plugin-artwork-scale: 1.2; }
.plugin-logo-frame[data-plugin-icon="google-calendar"] { --plugin-artwork-scale: 1.45; }
.plugin-logo-frame[data-plugin-icon="bright-horizons"] { --plugin-artwork-scale: 1.12; }
.plugin-logo-frame[data-plugin-icon="aetna"] { --plugin-artwork-scale: 1.08; }

.plugin-logo--template {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1.55cqw);
  grid-template-rows: repeat(2, 1.55cqw);
  place-content: center;
  gap: .65cqw;
  background: #111;
}

.plugin-logo--template i {
  display: block;
  border: .34cqw solid #fff;
  border-radius: .45cqw;
}

.plugin-logo--template i:nth-child(1),
.plugin-logo--template i:nth-child(4) { transform: rotate(45deg) scale(.78); }

.plugin-browse-link {
  display: grid;
  grid-template-columns: 7.2cqw minmax(0, 1fr) 2.35cqw;
  column-gap: 2.7cqw;
  margin-top: 9.65cqw;
}

.plugin-browse-symbol {
  position: relative;
  width: 7.2cqw;
  height: 7.2cqw;
  display: block;
}

.plugin-browse-dot {
  position: absolute;
  width: 2.25cqw;
  height: 2.25cqw;
  border: .52cqw solid #0b0b0c;
  border-radius: 50%;
}

.plugin-browse-dot--top-left { top: .65cqw; left: .65cqw; }
.plugin-browse-dot--top-right { top: .65cqw; right: .65cqw; }
.plugin-browse-dot--bottom-left { bottom: .65cqw; left: .65cqw; }

.plugin-browse-plus {
  position: absolute;
  right: .4cqw;
  bottom: .4cqw;
  width: 3.15cqw;
  height: 3.15cqw;
}

.plugin-browse-plus::before,
.plugin-browse-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.05cqw;
  height: .55cqw;
  border-radius: 999px;
  background: #0b0b0c;
  transform: translate(-50%, -50%);
}

.plugin-browse-plus::after { transform: translate(-50%, -50%) rotate(90deg); }

.plugin-permissions-card {
  overflow: hidden;
  border-radius: 6.4cqw;
  background: #fff;
}

.plugin-permission-option {
  position: relative;
  width: 100%;
  min-height: 20.3cqw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8cqw;
  align-items: center;
  column-gap: 3cqw;
  padding: 3.6cqw 4.35cqw;
  appearance: none;
  border: 0;
  color: #050505;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 90ms linear;
}

.plugin-permission-option:active { background: #f6f6f8; }

.plugin-permission-option:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 4.35cqw;
  right: 4.35cqw;
  bottom: 0;
  height: .17cqw;
  background: #dedee1;
}

.plugin-permission-copy { min-width: 0; }

.plugin-permission-copy strong {
  display: block;
  font-size: 4.266667cqw;
  line-height: 1.08;
  font-weight: 450;
  letter-spacing: 0em;
}

.plugin-permission-copy small {
  display: block;
  margin-top: 1.5cqw;
  color: #626267;
  font-size: 3.55cqw;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0em;
}

.plugin-learn-more { color: #050505; font-weight: 600; white-space: nowrap; }

.plugin-radio {
  position: relative;
  justify-self: end;
  width: 5.15cqw;
  height: 5.15cqw;
  border: .55cqw solid #626267;
  border-radius: 50%;
  background: transparent;
}

.plugin-permission-option.is-selected .plugin-radio {
  border-color: #3f8df7;
  background: #3f8df7;
}

.plugin-permission-option.is-selected .plugin-radio i::before {
  content: "";
  position: absolute;
  top: 1.05cqw;
  left: 1.55cqw;
  width: 1.1cqw;
  height: 2.05cqw;
  border-right: .55cqw solid #fff;
  border-bottom: .55cqw solid #fff;
  border-radius: .12cqw;
  transform: rotate(42deg);
}

.plugin-permissions-content > p { margin-top: 2.8cqw; }

/* The browsable catalog shares content, but its leading control depends on entry point. */
.profile-settings-live.is-plugin-browse,
.profile-settings-live.is-plugin-browse .dc-scroll,
.profile-settings-live.is-plugin-browse .ps-page { background: #fff; }

.profile-settings-live.is-plugin-browse .dc-status-bar {
  background: #fff;
}

.profile-settings-live.is-plugin-browse .dc-status-bar::after { display: none; }

.dc-navigation.is-plugin-browse {
  height: 13.1cqw;
  background: rgba(255, 255, 255, .9);
}

.dc-navigation.is-plugin-browse.is-scrolled {
  border-bottom: 0;
  box-shadow: none;
}

.dc-navigation.is-plugin-browse h1 {
  display: block;
  justify-self: center;
  margin: 0;
  overflow: visible;
  font-size: var(--settings-nav-title-size);
  line-height: var(--settings-nav-title-line-height);
  font-weight: var(--settings-nav-title-weight);
  letter-spacing: 0em;
}

/* Bar roots reuse the exact Home menu orb and component. */
.profile-settings-live .ps-navigation-back.is-bar-menu {
  position: absolute;
  top: calc((var(--bar-header-height) - var(--bar-orb-size)) / 2);
  left: 4.1cqw;
}

/* The shared Bar menu orb lives inside a legacy back button on Plugins.
   Keep the menu artwork out of the legacy chevron span geometry. */
.profile-settings-live .ps-navigation-back.is-bar-menu .hl-menu-icon-frame {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 50%;
  transform: none;
}

.ps-page--plugin-browse {
  min-height: 365cqw;
  padding: 34.6cqw 7.4cqw 31cqw;
  background: #fff;
}

.profile-settings-live.is-plugin-connections,
.profile-settings-live.is-plugin-connections .dc-scroll,
.profile-settings-live.is-plugin-connections .ps-page {
  background: #fff;
}

.ps-page--plugin-connections {
  min-height: 232cqw;
  padding: 34.6cqw 7.4cqw 20cqw;
  background: #fff;
}

.plugin-connections-content {
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0em;
}

.plugin-connections-content > .plugin-health-accounts {
  margin-top: 0;
}

.plugin-connections-content .plugin-connected-services {
  margin-top: 9.2cqw;
}

.plugin-browse-content { letter-spacing: 0em; }

.plugin-installed-heading {
  display: inline-flex;
  align-items: center;
  gap: 2.45cqw;
  padding: 0;
  appearance: none;
  border: 0;
  color: #929297;
  background: transparent;
  font-size: var(--profile-type-16);
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
}

.plugin-installed-heading strong { font-weight: inherit; }
.plugin-installed-heading .plugin-chevron,
.plugin-browse-section h2 .plugin-chevron { border-color: #929297; }

.plugin-installed-strip {
  display: flex;
  align-items: center;
  gap: 3.15cqw;
  margin-top: 7.1cqw;
}

.plugin-installed-strip .plugin-logo-frame,
.plugin-installed-more {
  width: 12.65cqw;
  height: 12.65cqw;
  flex: 0 0 auto;
  border-radius: 3.35cqw;
}

.plugin-installed-strip .plugin-logo { border-radius: 3.35cqw; }

.plugin-installed-more {
  display: grid;
  place-items: center;
  color: #5d5d61;
  background: #e7e7e9;
  font-size: 3.65cqw;
  line-height: 1;
  font-weight: 700;
}

.plugin-browse-section { margin-top: 8.9cqw; }

.plugin-installed-strip + .plugin-health-accounts { margin-top: 8.9cqw; }
.plugin-health-account-row .health-logo {
  width: 10.8cqw;
  height: 10.8cqw;
  border-radius: 2.85cqw;
}
.plugin-health-account-action.is-connected { color: #0a84ff; }
.plugin-health-account-overlay {
  position: absolute;
  z-index: 80;
  inset: 0;
  overflow: hidden;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0em;
}
.plugin-health-account-overlay *,
.plugin-health-account-overlay *::before,
.plugin-health-account-overlay *::after {
  font-family: inherit !important;
  letter-spacing: 0em !important;
}

.plugin-browse-section h2 {
  margin: 0;
  color: #929297;
  font-size: var(--profile-type-16);
  line-height: 1;
  font-weight: 600;
}

.plugin-browse-section h2 > button {
  display: inline-flex;
  align-items: center;
  gap: 2.5cqw;
  min-width: 0;
  min-height: 7cqw;
  padding: 0;
  appearance: none;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: 0em;
  text-align: left;
  cursor: pointer;
}

.plugin-browse-section h2 > button:disabled { cursor: default; }
.plugin-browse-section h2 > button:not(:disabled):active { opacity: .55; }
.plugin-browse-section h2 .plugin-chevron {
  transition: transform 280ms cubic-bezier(.2, .8, .2, 1);
}
.plugin-browse-section.is-expanded h2 .plugin-chevron { transform: rotate(135deg); }

.plugin-browse-section > div { margin-top: 4.4cqw; }

.plugin-browse-row {
  min-height: 24.4cqw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11.2cqw;
  align-items: center;
  gap: 1cqw;
}

.plugin-browse-row.is-revealed {
  transform-origin: 50% 0;
  animation: plugin-row-reveal 360ms cubic-bezier(.2, .82, .2, 1) both;
}

@keyframes plugin-row-reveal {
  from { opacity: 0; transform: translate3d(0, -2.5cqw, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.plugin-browse-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: 10.8cqw minmax(0, 1fr);
  align-items: center;
  gap: 3.8cqw;
  padding: 0;
  appearance: none;
  border: 0;
  color: #050505;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.plugin-browse-copy:active { opacity: .56; }
.plugin-browse-copy .plugin-logo-frame { width: 10.8cqw; height: 10.8cqw; border-radius: 2.85cqw; }
.plugin-browse-copy .plugin-logo { border-radius: 2.85cqw; }
.plugin-browse-copy > span { min-width: 0; }

.plugin-browse-row--system .plugin-logo-frame {
  border: .16cqw solid rgba(60, 60, 67, .12);
  background: #f5f5f7;
  box-shadow: 0 .35cqw 1.2cqw rgba(0, 0, 0, .06);
}

.plugin-browse-row--system .plugin-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plugin-browse-copy strong,
.plugin-browse-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plugin-browse-copy strong {
  font-size: var(--profile-type-16);
  line-height: 1.1;
  font-weight: 450;
  letter-spacing: 0em;
}

.plugin-browse-copy small {
  margin-top: 2.15cqw;
  color: #a1a1a6;
  font-size: 3.55cqw;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0em;
}

.plugin-browse-action {
  width: 11.2cqw;
  height: 11.2cqw;
  display: grid;
  place-items: center;
  padding: 0;
  appearance: none;
  border: 0;
  border-radius: 50%;
  color: #929297;
  background: transparent;
  font-size: 6.6cqw;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
}

.plugin-browse-action.is-connected { font-size: 3.8cqw; font-weight: 700; letter-spacing: .35cqw; }
.plugin-system-action.is-configured,
.plugin-system-action.is-authorized,
.plugin-system-action.is-limited {
  width: 7.8cqw;
  height: 7.8cqw;
  justify-self: center;
  color: #0a84ff;
  background: rgba(10, 132, 255, .11);
  font-size: 3.65cqw;
  font-weight: 700;
}

.plugin-system-action.is-denied,
.plugin-system-action.is-unavailable {
  width: 7.8cqw;
  height: 7.8cqw;
  justify-self: center;
  border: .16cqw solid rgba(60, 60, 67, .18);
  font-size: 4.4cqw;
  font-weight: 600;
}

.plugin-system-action.is-notRequested { font-weight: 300; }
.plugin-browse-action.is-installing {
  cursor: wait;
  pointer-events: none;
}

.plugin-browse-action.is-installing span {
  width: 4.5cqw;
  height: 4.5cqw;
  display: block;
  border: .52cqw solid rgba(146, 146, 151, .28);
  border-top-color: #929297;
  border-radius: 50%;
  animation: plugin-install-spin .7s linear infinite;
}

@keyframes plugin-install-spin { to { transform: rotate(1turn); } }

.plugin-browse-action:active { background: #f1f1f3; transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
  .plugin-browse-action.is-installing span,
  .plugin-browse-row.is-revealed { animation: none; }
  .plugin-browse-section h2 .plugin-chevron { transition: none; }
}

.plugin-empty-results {
  margin: 24cqw 0 0;
  color: #929297;
  font-size: 4.266667cqw;
  text-align: center;
}

.plugin-search-controls {
  position: absolute;
  left: 7.4cqw;
  right: 7.4cqw;
  bottom: 5.1cqw;
  z-index: 7;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12.8cqw;
  align-items: center;
  gap: 3.15cqw;
}

.plugin-search-controls[hidden] { display: none !important; }

.plugin-search-dock {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 12.65cqw;
  display: grid;
  grid-template-columns: 7.4cqw minmax(0, 1fr);
  align-items: center;
  padding: 0 4.2cqw;
  border: .16cqw solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: rgba(250, 250, 252, .86);
  box-shadow: 0 4cqw 12cqw rgba(0, 0, 0, .12), inset 0 .16cqw 0 rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
}

.plugin-search-launch {
  appearance: none;
  border: 0;
  color: #929297;
  text-align: left;
  cursor: text;
}

.plugin-search-launch > span:last-child {
  font-size: 4.266667cqw;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0em;
}

.plugin-search-close {
  position: relative;
  display: grid;
  place-items: center;
  width: 12.8cqw;
  height: 12.8cqw;
  padding: 0;
  border: .16cqw solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  color: #050505;
  background: rgba(250, 250, 252, .86);
  box-shadow: 0 4cqw 12cqw rgba(0, 0, 0, .12), inset 0 .16cqw 0 rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
}

.plugin-search-close span,
.plugin-search-close span::before,
.plugin-search-close span::after {
  display: block;
}

.plugin-search-close span {
  position: relative;
  width: 5.2cqw;
  height: 5.2cqw;
}

.plugin-search-close span::before,
.plugin-search-close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6cqw;
  height: .62cqw;
  border-radius: 999px;
  background: currentColor;
}

.plugin-search-close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.plugin-search-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.plugin-search-close:active { transform: scale(.96); }

.plugin-search-icon {
  position: relative;
  width: 4.2cqw;
  height: 4.2cqw;
  display: block;
  border: .55cqw solid #929297;
  border-radius: 50%;
}

.plugin-search-icon::after {
  content: "";
  position: absolute;
  right: -1.55cqw;
  bottom: -1.05cqw;
  width: 2.1cqw;
  height: .55cqw;
  border-radius: 999px;
  background: #929297;
  transform: rotate(45deg);
}

.plugin-search-dock input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  appearance: none;
  border: 0;
  outline: 0;
  color: #050505;
  background: transparent;
  font-size: 4.266667cqw;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0em;
}

.plugin-search-dock input::placeholder { color: #929297; opacity: 1; }
.plugin-search-dock input::-webkit-search-cancel-button { display: none; }

.profile-settings-live .plugin-search-dock input:focus,
.profile-settings-live .plugin-search-dock input:focus-visible {
  outline: none;
  outline-offset: 0;
  box-shadow: none;
}

@media (prefers-reduced-transparency: reduce) {
  .plugin-search-dock,
  .plugin-search-close,
  .dc-navigation.is-plugin-browse { background: #f8f8fa; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Explicit provider authorization flow for third-party MCP plugins. */
.plugin-auth-overlay {
  position: absolute;
  z-index: 95;
  inset: 0;
  overflow: hidden;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: 0em;
  pointer-events: none;
}

.plugin-auth-overlay *,
.plugin-auth-overlay *::before,
.plugin-auth-overlay *::after {
  box-sizing: border-box;
  font-family: inherit;
  letter-spacing: 0em;
}

.plugin-auth-overlay.is-visible { pointer-events: auto; }

.plugin-auth-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .2);
  opacity: 0;
  -webkit-backdrop-filter: blur(1.6cqw);
  backdrop-filter: blur(1.6cqw);
  transition: opacity 260ms ease-out;
}

.plugin-auth-overlay.is-visible .plugin-auth-scrim { opacity: 1; }

.plugin-auth-sheet {
  position: absolute;
  right: 2.4cqw;
  bottom: 2.4cqw;
  left: 2.4cqw;
  min-height: 132cqw;
  padding: 10.5cqw 6.4cqw 5.2cqw;
  border: .16cqw solid rgba(255, 255, 255, .84);
  border-radius: 9.2cqw;
  color: #111;
  background: rgba(252, 252, 253, .97);
  box-shadow: 0 6cqw 20cqw rgba(0, 0, 0, .2), inset 0 .16cqw 0 rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(32px) saturate(165%);
  backdrop-filter: blur(32px) saturate(165%);
  opacity: 0;
  transform: translate3d(0, 13cqw, 0) scale(.975);
  transform-origin: 50% 100%;
  transition: opacity 260ms ease-out, transform 520ms cubic-bezier(.2, .9, .22, 1);
}

.plugin-auth-overlay.is-visible .plugin-auth-sheet {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.plugin-auth-close {
  position: absolute;
  top: 4.2cqw;
  right: 4.2cqw;
  width: 9.2cqw;
  height: 9.2cqw;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #616166;
  background: #ededf0;
}

.plugin-auth-close span,
.plugin-auth-close span::before,
.plugin-auth-close span::after { display: block; }
.plugin-auth-close span { position: relative; width: 100%; height: 100%; }
.plugin-auth-close span::before,
.plugin-auth-close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.1cqw;
  height: .48cqw;
  border-radius: 999px;
  background: currentColor;
}
.plugin-auth-close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.plugin-auth-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.plugin-auth-close:active { transform: scale(.92); }

.plugin-auth-hero,
.plugin-auth-progress > div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18cqw;
}

.plugin-auth-logo,
.plugin-auth-heylth {
  width: 14cqw;
  height: 14cqw;
  flex: 0 0 auto;
  border-radius: 3.7cqw;
  box-shadow: 0 1.2cqw 4.4cqw rgba(0, 0, 0, .11);
}

.plugin-auth-logo .plugin-logo { border-radius: 3.7cqw; }

.plugin-auth-heylth {
  display: grid;
  place-items: center;
  color: #fff;
  background: #111;
  font-size: 7.1cqw;
  line-height: 1;
  font-weight: 650;
}

.plugin-auth-link-mark {
  width: 17.8cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5cqw;
}

.plugin-auth-link-mark i,
.plugin-auth-progress > div > span:nth-child(2) i {
  width: 1.65cqw;
  height: 1.65cqw;
  border-radius: 50%;
  background: #aaaab0;
}

.plugin-auth-sheet > header,
.plugin-auth-provider header {
  margin-top: 4.4cqw;
  text-align: center;
}

.plugin-auth-sheet h2 {
  margin: 0;
  font-size: 6.15cqw;
  line-height: 1.08;
  font-weight: 600;
}

.plugin-auth-sheet header p,
.plugin-auth-progress > p {
  margin: 2.6cqw auto 0;
  max-width: 68cqw;
  color: #6d6d72;
  font-size: 3.8cqw;
  line-height: 1.3;
  font-weight: 400;
}

.plugin-auth-access {
  margin-top: 5.2cqw;
  padding: 4.5cqw;
  border: .16cqw solid rgba(60, 60, 67, .11);
  border-radius: 4.6cqw;
  background: rgba(245, 245, 247, .88);
}

.plugin-auth-access h3 {
  margin: 0 0 3.3cqw;
  color: #6d6d72;
  font-size: 3.5cqw;
  line-height: 1;
  font-weight: 500;
}

.plugin-auth-access p {
  display: grid;
  grid-template-columns: 5.4cqw minmax(0, 1fr);
  align-items: center;
  gap: 2cqw;
  margin: 0;
  color: #232326;
  font-size: 3.8cqw;
  line-height: 1.25;
  font-weight: 450;
}
.plugin-auth-access p + p { margin-top: 3.1cqw; }
.plugin-auth-access p i {
  width: 5.4cqw;
  height: 5.4cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0a84ff;
  background: rgba(10, 132, 255, .11);
  font-size: 3cqw;
  font-style: normal;
  font-weight: 650;
}

.plugin-auth-note,
.plugin-auth-account {
  margin: 3.6cqw 2cqw 0;
  color: #85858a;
  font-size: 3.15cqw;
  line-height: 1.3;
  font-weight: 400;
  text-align: center;
}

.plugin-auth-actions {
  position: absolute;
  right: 6.4cqw;
  bottom: 5.2cqw;
  left: 6.4cqw;
}

.plugin-auth-actions button {
  width: 100%;
  min-height: 12.2cqw;
  padding: 2.4cqw 4cqw;
  border: 0;
  border-radius: 6.3cqw;
  color: #0a84ff;
  background: transparent;
  font-size: 4.05cqw;
  line-height: 1.1;
  font-weight: 500;
}
.plugin-auth-actions button.is-primary {
  color: #fff;
  background: #111;
}
.plugin-auth-actions button:active { transform: scale(.985); opacity: .75; }

.plugin-auth-provider-bar {
  height: 11cqw;
  display: grid;
  grid-template-columns: 8cqw 1fr 8cqw;
  align-items: center;
  margin: -5.4cqw -1cqw 0;
  color: #6d6d72;
}
.plugin-auth-provider-bar span { font-size: 8cqw; font-weight: 300; }
.plugin-auth-provider-bar b { overflow: hidden; font-size: 3.55cqw; font-weight: 500; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.plugin-auth-provider { margin-top: 4cqw; text-align: center; }
.plugin-auth-provider .plugin-auth-logo { display: inline-flex; }
.plugin-auth-provider .plugin-auth-access { text-align: left; }

.plugin-auth-sheet.is-connecting,
.plugin-auth-sheet.is-success {
  min-height: 94cqw;
  display: grid;
  place-items: center;
  padding: 8cqw;
}
.plugin-auth-progress { text-align: center; }
.plugin-auth-progress > div > span:nth-child(2) {
  width: 17.8cqw;
  display: flex;
  justify-content: center;
  gap: 1.5cqw;
}
.plugin-auth-progress > div > span:nth-child(2) i {
  animation: plugin-auth-pulse 1s ease-in-out infinite;
}
.plugin-auth-progress > div > span:nth-child(2) i:nth-child(2) { animation-delay: 150ms; }
.plugin-auth-progress > div > span:nth-child(2) i:nth-child(3) { animation-delay: 300ms; }
.plugin-auth-progress h2 { margin-top: 5.2cqw; }

.plugin-auth-success {
  width: 17cqw;
  height: 17cqw;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #30c65a;
  box-shadow: 0 2cqw 5cqw rgba(48, 198, 90, .22);
  font-size: 8cqw;
  font-weight: 650;
  animation: plugin-auth-success 520ms cubic-bezier(.16, 1.28, .3, 1) both;
}

@keyframes plugin-auth-pulse {
  0%, 70%, 100% { opacity: .32; transform: scale(.78); }
  35% { opacity: 1; transform: scale(1); }
}

@keyframes plugin-auth-success {
  from { opacity: 0; transform: scale(.5) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .plugin-auth-scrim,
  .plugin-auth-sheet { transition: opacity 150ms ease-out; transform: none; }
  .plugin-auth-progress > div > span:nth-child(2) i,
  .plugin-auth-success { animation: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .plugin-auth-scrim { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .plugin-auth-sheet { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* General settings — live Profile route matching the supplied iOS reference. */
.ps-page--general {
  min-height: 217.2cqw;
  padding: 42.6cqw 4.25cqw 13cqw;
}

.profile-settings-live.is-general .dc-navigation h1 {
  max-width: 68cqw;
  margin-top: .35cqw;
  font-size: var(--settings-nav-title-size);
  line-height: var(--settings-nav-title-line-height);
  font-weight: var(--settings-nav-title-weight);
  letter-spacing: 0em;
}

.gs-card { overflow: hidden; }

.gs-row {
  position: relative;
  width: 100%;
  min-height: 13.05cqw;
  display: grid;
  grid-template-columns: 5.55cqw minmax(0, 1fr) auto 2.2cqw;
  align-items: center;
  column-gap: 3.45cqw;
  padding: 0 4.35cqw;
  color: #050505;
  background: #fff;
  font-size: var(--profile-type-16);
  line-height: 1.3;
  font-weight: 450;
  letter-spacing: 0em;
}

button.gs-row {
  appearance: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: background-color 90ms linear, transform 105ms ease-out;
}

button.gs-row:active { background: #f3f3f5; transform: scale(.995); }

.gs-card > .gs-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13.15cqw;
  right: 4.35cqw;
  bottom: 0;
  height: .17cqw;
  background: #dedee1;
}

.gs-row-icon {
  grid-column: 1;
  width: 5.55cqw;
  height: 5.55cqw;
  display: block;
  object-fit: contain;
}

.gs-row-copy {
  grid-column: 2;
  min-width: 0;
  display: block;
}

.gs-row-copy strong {
  display: block;
  /* Keep descenders inside the vertically clipped ellipsis box. */
  line-height: 1.3;
  overflow: hidden;
  font-weight: 450;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-row-copy small {
  display: block;
  margin-top: .8cqw;
  overflow: hidden;
  color: #929297;
  font-size: 3.65cqw;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-row.has-detail { min-height: 17.25cqw; }

.gs-row-value {
  grid-column: 3;
  justify-self: end;
  color: #929297;
  font-size: var(--profile-type-16);
  line-height: 1.3;
  font-weight: 400;
  white-space: nowrap;
}

.gs-row .dc-chevron {
  grid-column: 4;
  justify-self: end;
  border-color: #c1c1c5;
}

.gs-section-title {
  margin: 8.35cqw 4.35cqw 3.1cqw;
  color: #929297;
  font-size: var(--profile-type-16);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0em;
}


.gs-switch {
  grid-column: 3 / 5;
  justify-self: end;
  width: 16.9cqw;
  height: 7.5cqw;
}

.gs-switch::before {
  content: "";
  position: absolute;
  inset: -2.1cqw 0;
}

.gs-switch i {
  top: .45cqw;
  left: .45cqw;
  width: 9.6cqw;
  height: 6.6cqw;
  border-radius: 999px;
}

.gs-switch.is-on i { transform: translate3d(6.4cqw, 0, 0); }
.gs-switch:active i { width: 10.15cqw; }
.gs-switch.is-on:active i { transform: translate3d(5.85cqw, 0, 0); }

@media (prefers-reduced-motion: reduce) {
  .gs-switch,
  .gs-switch i { transition-duration: 1ms !important; }
}

.gs-language-row .gs-row-value {
  margin-right: .363333cqw;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: var(--profile-type-16);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0em;
}

/* Profile navigation material: content fades beneath every settings header without a hard seam. */
.profile-settings-live .dc-navigation,
.data-controls-live .dc-navigation,
.personalization-live .pl-navigation,
.report-live .report-navigation {
  --profile-nav-surface: 242, 242, 247;
}

.profile-settings-live.is-plugin-browse .dc-navigation,
.data-controls-live.is-white-page .dc-navigation,
.report-live .report-navigation {
  --profile-nav-surface: 255, 255, 255;
}

.profile-settings-live .dc-navigation.is-scrolled,
.data-controls-live .dc-navigation.is-scrolled,
.personalization-live .pl-navigation.is-scrolled {
  box-shadow: none;
}

.profile-settings-live .dc-navigation::after,
.data-controls-live .dc-navigation::after,
.personalization-live .pl-navigation::after,
.report-live .report-navigation::after {
  content: "";
  position: absolute;
  top: calc(100% - .2cqw);
  left: 0;
  right: 0;
  height: 4.4cqw;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(var(--profile-nav-surface), .58) 0%,
    rgba(var(--profile-nav-surface), .26) 38%,
    rgba(var(--profile-nav-surface), .08) 70%,
    rgba(var(--profile-nav-surface), 0) 100%
  );
  -webkit-backdrop-filter: blur(4.8px) saturate(125%);
  backdrop-filter: blur(4.8px) saturate(125%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .58) 48%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .58) 48%, transparent 100%);
  transition: opacity 150ms ease-out;
}

/* Edge material only appears after content starts moving beneath the header. */
.profile-settings-live .dc-navigation.is-scrolled::after,
.data-controls-live .dc-navigation.is-scrolled::after,
.personalization-live .pl-navigation.is-scrolled::after,
.report-live .report-navigation.is-scrolled::after {
  opacity: 1;
}

.profile-settings-live .dc-navigation > .ps-nav-action {
  z-index: 2;
}

@media (prefers-reduced-transparency: reduce) {
  .profile-settings-live .dc-navigation::after,
  .data-controls-live .dc-navigation::after,
  .personalization-live .pl-navigation::after,
  .report-live .report-navigation::after {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Keep the full-screen Bar search states above the drawer defaults below. */
.home-live.is-sidebar.is-sidebar-search { background: #fff; }
.home-live.is-sidebar .hl-status-bar { z-index: 20; }
.home-live .bar-search-button:active { transform: translateY(-50%) scale(.965) !important; }

/* Live Home and Sidebar --------------------------------------------------- */
.home-live {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  color: #080808;
  background: #fff;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-optical-sizing: auto;
  font-synthesis: none;
  letter-spacing: 0;
  touch-action: pan-y;
}

.home-live button,
.home-live input,
.home-live textarea {
  font: inherit;
  font-optical-sizing: auto;
}

/* Bar child chrome contract. Home remains the source of truth. */
.finance-chat-header.hl-header { grid-template-columns: var(--bar-orb-size) 1fr var(--bar-orb-size); }

.hl-primary-button.is-stop .hl-primary-send-symbol { opacity: 0 !important; }

.bar-child-stop-symbol {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.55cqw;
  height: 2.55cqw;
  border-radius: .3cqw;
  background: #fff;
  transform: translate(-50%, -50%);
}

.home-live button {
  appearance: none;
  border: 0;
  color: inherit;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.home-live button.is-pressed,
.home-live button:active { transform: scale(.965); }

.home-live:is(.is-chat, .is-plan) .hl-header > .hl-menu-button[data-bar-menu] {
  align-self: center;
}

.hl-menu-button[data-bar-menu] {
  /* Keep the existing layout center; 12.2cqw × this scale matches the
     search button's 11.7cqw visible diameter, including its glyph. */
  --bar-orb-scale: .9590163934;
  --bar-orb-pressed-scale: .9254508196;
  transform: scale(var(--bar-orb-scale));
  transform-origin: 50% 50%;
}

.hl-menu-button[data-bar-menu].is-pressed,
.hl-menu-button[data-bar-menu]:active { transform: scale(var(--bar-orb-pressed-scale)); }

/* Trailing Bar actions retain their existing diameter and center line. */
.hl-header > .bar-more-button {
  width: var(--bar-orb-size);
  height: var(--bar-orb-size);
  align-self: center;
  overflow: hidden;
  isolation: isolate;
  transform: scale(var(--bar-orb-scale));
  transform-origin: 50% 50%;
}

.hl-header > .bar-more-button {
  position: relative;
}

.hl-header > .bar-more-button > * {
  position: relative;
  z-index: 2;
}

.hl-header > .bar-more-button.is-pressed,
.hl-header > .bar-more-button:active {
  transform: scale(var(--bar-orb-pressed-scale));
}

.home-live button:focus-visible {
  outline: .5cqw solid #0a84ff;
  outline-offset: .3cqw;
}

.home-live input:focus,
.home-live input:focus-visible {
  outline: none;
  outline-offset: 0;
  box-shadow: none;
}

.home-live .hl-composer-field textarea:focus,
.home-live .hl-composer-field textarea:focus-visible {
  outline: 0;
  box-shadow: none;
}

.hl-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.hl-status-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: var(--system-status-height);
  pointer-events: none;
}

.global-status-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--system-status-height);
  overflow: hidden;
  color: #050505;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  pointer-events: none;
}

.global-status-time {
  position: absolute;
  top: var(--system-status-time-top);
  left: var(--system-status-time-left);
  font-size: 4.35cqw;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -.015em;
  font-variant-numeric: tabular-nums;
}

.global-status-right {
  position: absolute;
  top: var(--system-status-right-top);
  right: var(--system-status-right-inset);
  display: block;
  width: var(--system-status-right-width);
  height: var(--system-status-right-height);
}

.global-status-right-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}


.hl-header {
  position: absolute;
  z-index: 5;
  top: var(--bar-header-top);
  left: var(--bar-header-side-inset);
  right: var(--bar-header-side-inset);
  display: grid;
  grid-template-columns: var(--bar-orb-size) 1fr var(--bar-orb-size);
  align-items: center;
  justify-items: center;
  height: var(--bar-header-height);
  pointer-events: none;
}

.hl-header > * { pointer-events: auto; }

.hl-header-spacer { grid-column: 3; width: var(--bar-orb-size); height: var(--bar-orb-size); }

.hl-round-button {
  appearance: none;
  display: grid;
  place-items: center;
  width: var(--bar-orb-size);
  height: var(--bar-orb-size);
  padding: 3.15cqw;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.76) !important;
  box-shadow: 0 4.8cqw 10cqw rgba(0,0,0,.09);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  transition: transform 110ms ease-out, background-color 160ms ease-out;
}

/* Shared Bar overflow orb; geometry and ring come from the Bar shell contract. */
.bar-more-button {
  padding: 0;
  background: #fff !important;
}

.bar-more-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.05cqw;
  transform: scale(.9);
  transform-origin: 50% 50%;
  pointer-events: none;
}

.bar-more-dots > i {
  display: block;
  width: 1.15cqw;
  height: 1.15cqw;
  flex: 0 0 1.15cqw;
  border-radius: 50%;
  background: #050505;
}

.hl-menu-button {
  position: relative;
  overflow: visible;
  padding: 0;
  background: rgba(255, 255, 255, .84) !important;
  box-shadow: 0 4.8cqw 10cqw rgba(0, 0, 0, .09);
}

/* Trailing options controls share this CSS-authored optical ring.
   Leading Bar menu controls use their own single thin border below. */
.hl-header > .bar-more-button {
  outline: var(--bar-orb-ring-width) solid var(--bar-orb-ring-color);
  outline-offset: calc(0cqw - var(--bar-orb-ring-width));
}

.hl-menu-icon-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  pointer-events: none;
}

.hl-menu-icon-frame::before,
.hl-menu-icon-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  height: .58cqw;
  border-radius: 999px;
  background: #1c1c1e;
  transform: translateX(-50%);
}

.hl-menu-icon-frame::before {
  top: 43.5%;
  width: 4.65cqw;
}

.hl-menu-icon-frame::after {
  top: 56.5%;
  width: 3.25cqw;
  margin-left: -.7cqw;
}

/* Only leading Bar controls use this material; the shared orb geometry and
   trailing options controls retain their existing contracts. */
.device .hl-menu-button[data-bar-menu] {
  border: .2cqw solid rgba(60, 60, 67, .12) !important;
  outline: 0;
  outline-offset: 0;
  color: var(--heylth-label, #1c1c1e) !important;
  background: linear-gradient(155deg, rgba(255, 255, 255, .96), rgba(253, 253, 254, .74) 65%, rgba(244, 244, 247, .9)) !important;
  box-shadow: 0 .4cqw 1.4cqw rgba(0, 0, 0, .055), inset 0 .15cqw .3cqw rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  backdrop-filter: blur(10px) saturate(115%);
}

.device .hl-menu-button[data-bar-menu]:focus-visible {
  outline: .5cqw solid var(--heylth-blue, #0a84ff);
  outline-offset: .3cqw;
}

.hl-menu-button[data-bar-menu] .hl-menu-icon-frame::before,
.hl-menu-button[data-bar-menu] .hl-menu-icon-frame::after {
  content: none !important;
  display: none !important;
}

.hl-menu-button[data-bar-menu] .hl-menu-icon-frame > :is(img, .hl-icon):not(.hl-menu-symbol) {
  display: none !important;
}

.hl-menu-button[data-bar-menu] .hl-menu-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 8cqw;
  height: 8cqw;
  overflow: visible;
  transform: translate(-50%, -50%);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

@media (prefers-reduced-transparency: reduce) {
  .device .hl-menu-button[data-bar-menu] {
    background: #fff !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.bar-menu-change-badge {
  position: absolute;
  z-index: 5;
  top: -1.6cqw;
  right: -1.6cqw;
  display: grid;
  place-items: center;
  min-width: 5.1cqw;
  height: 5.1cqw;
  padding: 0 1cqw;
  border-radius: 3cqw;
  color: #fff;
  background: #0a84ff;
  box-shadow: 0 0 0 .42cqw #fff;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3.2cqw;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}

.hl-main-content {
  position: absolute;
  inset: 29.2cqw 0 22.8cqw;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 4cqw 7.3cqw 18cqw;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

/* Health onboarding now belongs to the empty Home Chat state. Its geometry is
   preserved from the former Health carousel, but it participates in Home's
   real scroll hierarchy instead of being a route-sized overlay. */
.hl-main-content.has-get-started {
  padding: 6.8cqw 0 18cqw;
}

.home-get-started {
  width: 100%;
  min-height: 35cqw;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0em;
}

.home-get-started-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.8cqw;
  padding: 0 5.1cqw 0 4.2cqw;
}

.home-get-started-heading h1 {
  margin: 0;
  font-size: 4.42cqw;
  font-weight: 730;
  line-height: 1;
  letter-spacing: 0em;
}

.home-get-started-heading button {
  display: grid;
  place-items: center;
  width: 6.4cqw;
  height: 6.4cqw;
  margin-right: -1.1cqw;
  padding: 1.85cqw;
  border: 0;
  border-radius: 50%;
  color: #9b9b9d;
  background: transparent !important;
  transition: opacity 110ms ease-out, transform 110ms ease-out;
}

.home-get-started-heading button:active {
  opacity: .55;
  transform: scale(.94);
}

.home-starter-strip {
  display: flex;
  gap: 2.5cqw;
  width: 100%;
  margin-top: 3.1cqw;
  padding: 0 4.25cqw 2cqw;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4.25cqw;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

.home-starter-strip::-webkit-scrollbar { display: none; }

.home-starter-card {
  flex: 0 0 85.5cqw;
  display: grid;
  grid-template-columns: 14.6cqw minmax(0, 1fr);
  align-items: center;
  gap: 3.1cqw;
  height: 25.2cqw;
  padding: 2.8cqw 5.1cqw;
  border: .18cqw solid #e5e5e7 !important;
  border-radius: 6.6cqw;
  background: rgba(255,255,255,.98) !important;
  box-shadow: none;
  text-align: left;
  scroll-snap-align: start;
  transition: transform 120ms ease-out, background-color 160ms ease-out;
}

.home-starter-card:active {
  background: #f7f7f8 !important;
  transform: scale(.985);
}

.home-starter-card > span:last-child { min-width: 0; }
.home-starter-card strong,
.home-starter-card small { display: block; letter-spacing: 0em; }

.home-starter-card strong {
  margin-bottom: .7cqw;
  font-size: 3.7cqw;
  font-weight: 690;
  line-height: 1.15;
}

.home-starter-card small {
  color: #656567;
  font-size: 3.45cqw;
  font-weight: 480;
  line-height: 1.28;
}

.home-starter-art {
  display: grid;
  place-items: center;
  width: 12cqw;
  height: 12cqw;
}

.home-starter-art svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-starter-art .is-fill { fill: currentColor; stroke: currentColor; }
.home-starter-art.is-history { color: #25b9df; }
.home-starter-art.is-history svg { fill: #c8f0f8; stroke-width: 2.6; }
.home-starter-art.is-heart { color: #ff575b; }
.home-starter-art.is-weight { color: #ff765f; }
.home-starter-art.is-weight svg { color: #ff765f; }
.home-starter-art.is-weight path:not(.is-fill) { color: #3f8cd8; stroke: #3f8cd8; }
.home-starter-art.is-sleep { color: #7c6df0; }
.home-starter-art.is-sleep path:last-child { color: #ffbf33; fill: #ffbf33; stroke: #ffbf33; }
.home-starter-art.is-bulb { color: #f7b928; }
.home-starter-art.is-bulb path:last-child { color: #7a72e8; stroke: #7a72e8; }

/* Home Plan is the execution layer for today's enabled health routines. */
.home-live.is-plan .hl-main-content {
  inset: 29.2cqw 0 22.8cqw;
  padding: 1.8cqw 0 18cqw;
}

.home-live.is-plan,
.home-live.is-plan * {
  font-family: var(--heylth-font-text) !important;
  font-kerning: normal;
  font-optical-sizing: auto;
  letter-spacing: 0em !important;
}

.home-live.is-plan ::placeholder {
  font-family: var(--heylth-font-text) !important;
  letter-spacing: 0em !important;
}

.home-plan-today {
  width: 100%;
  color: var(--heylth-label);
}

.home-plan-date-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .7cqw;
  margin: 0 4.3cqw;
}

.home-plan-date {
  display: grid;
  place-items: center;
  align-content: center;
  gap: .65cqw;
  min-width: 0;
  height: 13.2cqw;
  padding: 1.1cqw .3cqw;
  border-radius: 0;
  color: var(--heylth-secondary) !important;
  background: transparent !important;
  transition: color 140ms ease-out, opacity 100ms ease-out;
}

.home-plan-date small,
.home-plan-date strong {
  display: block;
  line-height: 1;
}

.home-plan-date small {
  overflow: hidden;
  width: 100%;
  font-size: 2.55cqw;
  font-weight: 580;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}

.home-plan-date strong {
  display: grid;
  place-items: center;
  width: 7.15cqw;
  height: 7.15cqw;
  border-radius: 50%;
  font-size: 3.65cqw;
  font-weight: 600;
  transition: color 140ms ease-out, background-color 140ms ease-out;
}

.home-plan-date.is-selected {
  color: var(--heylth-blue) !important;
  background: transparent !important;
}

.home-plan-date.is-selected strong {
  color: #fff;
  background: var(--heylth-blue);
}

.home-plan-date:is(:active, .is-pressed) {
  opacity: .52;
  transform: none !important;
}

.home-plan-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4cqw;
  margin: 4.5cqw 5.3cqw 3.6cqw;
}

.home-plan-summary > span { min-width: 0; }

.home-plan-summary h1 {
  margin: 0;
  font-size: 5.05cqw;
  font-weight: 720;
  line-height: 1;
}

.home-plan-summary p {
  margin: 1.25cqw 0 0;
  color: var(--heylth-secondary);
  font-size: 3.05cqw;
  font-weight: 400;
  line-height: 1;
}

.home-plan-summary > strong {
  flex: 0 0 auto;
  color: var(--heylth-blue);
  font-size: 3.05cqw;
  font-weight: 600;
  line-height: 1;
}

.home-plan-periods {
  display: grid;
  gap: 3.8cqw;
  padding: 0 5.25cqw 4cqw;
}

.home-plan-period {
  display: grid;
  gap: 2.35cqw;
}

.home-plan-period > h2 {
  margin: 0 1cqw;
  color: var(--heylth-secondary);
  font-size: 3.55cqw;
  font-weight: 600;
  line-height: 1;
}

.home-plan-up-next > h2 { color: var(--heylth-label); }
.home-plan-up-next .home-plan-card {
  overflow: hidden;
  border-radius: 3.2cqw;
  background: var(--heylth-surface);
}

.home-plan-attention > h2 { color: var(--heylth-red); }

.home-plan-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-plan-item {
  position: relative;
  display: grid;
  grid-template-columns: 12.4cqw minmax(0, 1fr) 11.6cqw;
  align-items: stretch;
  min-height: 16.2cqw;
  margin: 0;
  padding: 0 1cqw;
  border-radius: 3.2cqw;
  transition: background-color 100ms ease-out;
}

.home-plan-item + .home-plan-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 13.4cqw;
  right: 11.6cqw;
  height: .17cqw;
  background: var(--heylth-separator);
}

.home-plan-item:has(> button:is(:active, .is-pressed)) {
  background: var(--heylth-surface);
}

.home-plan-up-next .home-plan-item:has(> button:is(:active, .is-pressed)) {
  background: var(--heylth-surface-pressed);
}

.home-plan-completion {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 11.6cqw;
  min-height: 11.6cqw;
  padding: 0;
}

.home-plan-completion-symbol {
  display: block;
  width: 6.15cqw;
  height: 6.15cqw;
  color: var(--heylth-tertiary);
  transition: color 180ms ease-out, transform 220ms cubic-bezier(.18,.9,.24,1);
}

.home-plan-completion-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.home-plan-completion-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.home-plan-completion-fill {
  fill: currentColor;
  stroke: none;
}

.home-plan-completion-check {
  fill: none;
  stroke: #fff;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-plan-completion:is(:active, .is-pressed) {
  transform: none !important;
}

.home-plan-completion:is(:active, .is-pressed) .home-plan-completion-symbol {
  transform: scale(.88);
}

.home-plan-item.is-completed .home-plan-completion-symbol {
  color: var(--heylth-blue);
}

.home-plan-item.is-just-completed .home-plan-completion-symbol {
  animation: home-plan-complete 360ms cubic-bezier(.18,.9,.24,1) both;
}

.home-plan-icon,
.home-plan-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-plan-icon svg {
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-plan-item-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2cqw;
  min-width: 0;
  min-height: 16.2cqw;
  padding: 2.3cqw 0;
  text-align: left;
}

.home-plan-item-body:is(:active, .is-pressed) { transform: none !important; }

.home-plan-item-copy { min-width: 0; }

.home-plan-item-title,
.home-plan-item-detail {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-plan-item-title {
  font-size: 3.8cqw;
  font-weight: 450;
  line-height: 1.12;
  transition: color 180ms ease-out, opacity 180ms ease-out;
}

.home-plan-item-detail {
  margin-top: 1.05cqw;
  color: var(--heylth-secondary);
  font-size: 3.05cqw;
  font-weight: 400;
  line-height: 1.12;
}

.home-plan-item time {
  color: var(--heylth-secondary);
  font-size: 3.05cqw;
  font-weight: 400;
  line-height: 1;
}

.home-plan-item.is-next time { color: var(--heylth-blue); }

.home-plan-item.needs-attention time { color: var(--heylth-red); }

.home-plan-more {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 11.6cqw;
  min-height: 11.6cqw;
  padding: 0;
}

.home-plan-more-symbol,
.home-plan-more-symbol svg {
  display: block;
  width: 5cqw;
  height: 5cqw;
  pointer-events: none;
}

.home-plan-more-symbol {
  color: var(--heylth-secondary);
  transition: transform 100ms ease-out;
}

.home-plan-more-symbol svg { overflow: visible; }
.home-plan-more-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
}
.home-plan-more-dots {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.45;
  stroke-linecap: round;
}

.home-plan-more:is(:active, .is-pressed) { transform: none !important; }
.home-plan-more:is(:active, .is-pressed) .home-plan-more-symbol { transform: scale(.88); }

.home-plan-completed {
  gap: 0;
  border-top: .17cqw solid var(--heylth-separator);
}

.home-plan-completed-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.4cqw;
  align-items: center;
  width: 100%;
  min-height: 11.6cqw;
  padding: 0 1cqw;
  color: var(--heylth-secondary) !important;
  text-align: left;
  font-size: 3.55cqw;
  font-weight: 600;
  line-height: 1;
}

.home-plan-completed-toggle small {
  margin-left: 1.2cqw;
  font-size: inherit;
  font-weight: 400;
}

.home-plan-completed-toggle > .home-plan-icon {
  justify-self: end;
  width: 3.4cqw;
  height: 3.4cqw;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}

.home-plan-completed.is-expanded .home-plan-completed-toggle > .home-plan-icon {
  transform: rotate(180deg);
}

.home-plan-completed-toggle:is(:active, .is-pressed) {
  opacity: .55;
  transform: none !important;
}

.home-plan-completed .home-plan-card {
  opacity: .72;
}

.home-plan-item.is-completed .home-plan-item-title {
  color: var(--heylth-secondary);
  text-decoration: line-through;
  text-decoration-thickness: .22cqw;
}

.home-plan-empty {
  display: grid;
  justify-items: center;
  padding: 15cqw 10cqw 8cqw;
  color: var(--heylth-secondary);
  text-align: center;
}

.home-plan-empty > .home-plan-icon {
  width: 10cqw;
  height: 10cqw;
}

.home-plan-empty h2 {
  margin: 3cqw 0 0;
  color: var(--heylth-label);
  font-size: 4.1cqw;
  font-weight: 680;
  line-height: 1;
}

.home-plan-empty p {
  max-width: 62cqw;
  margin: 2cqw 0 0;
  font-size: 3.3cqw;
  font-weight: 500;
  line-height: 1.3;
}

.home-plan-action-layer {
  position: absolute;
  z-index: 60;
  inset: 0;
  font-family: var(--heylth-font-text);
  letter-spacing: var(--heylth-letter-spacing);
}

.home-plan-action-dismiss {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
  background: var(--heylth-scrim) !important;
  animation: home-plan-scrim-in 180ms ease-out both;
}

.home-live button.home-plan-action-dismiss:is(:active, .is-pressed) {
  transform: none !important;
}

.home-plan-action-sheet {
  position: absolute;
  z-index: 2;
  left: 2.1cqw;
  right: 2.1cqw;
  bottom: 2.1cqw;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--heylth-label);
  background: transparent;
  box-shadow: none;
  animation: home-plan-sheet-in 300ms cubic-bezier(.18,.9,.24,1) both;
}

.home-plan-action-panel {
  overflow: hidden;
  border: .14cqw solid rgba(255,255,255,.78);
  border-radius: 3.65cqw;
  background: rgba(248,248,249,.92);
  box-shadow: 0 3cqw 11cqw rgba(0,0,0,.12);
  -webkit-backdrop-filter: blur(30px) saturate(155%);
  backdrop-filter: blur(30px) saturate(155%);
}

.home-plan-action-panel > header {
  padding: 3.6cqw 5cqw 3.2cqw;
  text-align: center;
}

.home-plan-action-panel > header small {
  display: block;
  color: var(--heylth-secondary);
  font-size: 2.9cqw;
  font-weight: 400;
  line-height: 1.1;
}

.home-plan-action-panel > header h2 {
  margin: 1.1cqw 0 0;
  font-size: 3.55cqw;
  font-weight: 600;
  line-height: 1.15;
}

.home-plan-action-panel > header p {
  margin: 1cqw 0 0;
  color: var(--heylth-secondary);
  font-size: 3.15cqw;
  font-weight: 400;
  line-height: 1.2;
}

.home-plan-detail-list {
  margin: 0;
  border-top: .17cqw solid var(--heylth-separator);
}

.home-plan-detail-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4cqw;
  min-height: 12.5cqw;
  margin-left: 5cqw;
  padding: 0 5cqw 0 0;
}

.home-plan-detail-list > div + div { border-top: .17cqw solid var(--heylth-separator); }

.home-plan-detail-list dt,
.home-plan-detail-list dd {
  margin: 0;
  font-size: 3.75cqw;
  line-height: 1.15;
}

.home-plan-detail-list dt {
  color: var(--heylth-label);
  font-weight: 450;
}

.home-plan-detail-list dd {
  color: var(--heylth-secondary);
  font-weight: 400;
  text-align: right;
}

.home-plan-action-group {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-plan-action-group > button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 12.5cqw;
  padding: 0 5cqw;
  color: var(--heylth-blue) !important;
  background: transparent !important;
  text-align: center;
  font-size: 4.35cqw;
  font-weight: 400;
  line-height: 1;
  transition: background-color 100ms ease-out, opacity 100ms ease-out;
}

.home-plan-action-group > button + button { border-top: .17cqw solid var(--heylth-separator); }
.home-live .home-plan-action-group > button:is(:active, .is-pressed) {
  background: rgba(118,118,128,.12) !important;
  transform: none !important;
}

.home-plan-sheet-cancel {
  width: 100%;
  min-height: 12.5cqw;
  margin-top: 2.1cqw;
  border: .14cqw solid rgba(255,255,255,.78);
  border-radius: 3.65cqw;
  color: var(--heylth-blue) !important;
  background: rgba(248,248,249,.94) !important;
  box-shadow: 0 2cqw 8cqw rgba(0,0,0,.09);
  -webkit-backdrop-filter: blur(30px) saturate(155%);
  backdrop-filter: blur(30px) saturate(155%);
  font-size: 4.35cqw !important;
  font-weight: 600 !important;
  line-height: 1;
  transition: background-color 100ms ease-out, opacity 100ms ease-out;
}

.home-live .home-plan-sheet-cancel:is(:active, .is-pressed) {
  background: rgba(229,229,234,.94) !important;
  transform: none !important;
}

.home-plan-toast {
  position: absolute;
  z-index: 58;
  top: 30.5cqw;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 2cqw;
  min-height: 9.8cqw;
  padding: 2cqw 3.6cqw;
  border: .14cqw solid rgba(255,255,255,.78);
  border-radius: 5.2cqw;
  color: var(--heylth-label);
  background: var(--heylth-material-heavy);
  box-shadow: 0 3cqw 9cqw rgba(0,0,0,.10);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
  transform: translateX(-50%);
  animation: home-plan-toast-in 220ms cubic-bezier(.18,.9,.24,1) both;
}

.home-plan-toast > i { display: none; }

.home-plan-toast.is-loading > i {
  display: block;
  width: 3.8cqw;
  height: 3.8cqw;
  border: .42cqw solid color-mix(in srgb, var(--heylth-blue) 22%, transparent);
  border-top-color: var(--heylth-blue);
  border-radius: 50%;
  animation: home-plan-spin 680ms linear infinite;
}

.home-plan-toast > span {
  white-space: nowrap;
  font-size: 3.2cqw;
  font-weight: 600;
  line-height: 1;
}

@keyframes home-plan-complete {
  0% { transform: scale(.72); }
  58% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

@keyframes home-plan-scrim-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes home-plan-sheet-in {
  from { opacity: 0; transform: translateY(5cqw); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-plan-toast-in {
  from { opacity: 0; transform: translate(-50%, -1.2cqw) scale(.96); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@keyframes home-plan-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .home-plan-date,
  .home-plan-completion-symbol,
  .home-plan-more-symbol,
  .home-plan-completed-toggle > .home-plan-icon,
  .home-plan-item-title,
  .home-plan-action-group > button,
  .home-plan-action-dismiss,
  .home-plan-action-sheet,
  .home-plan-toast,
  .home-plan-toast.is-loading > i,
  .home-plan-item.is-just-completed .home-plan-completion-symbol {
    animation: none !important;
    transition: none !important;
  }

  .home-plan-date:active,
  .home-plan-completion:active,
  .home-plan-item-body:active,
  .home-plan-more:active,
  .home-plan-completed-toggle:active,
  .home-plan-action-group > button:active,
  .home-plan-sheet-cancel:active { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .home-plan-action-panel,
  .home-plan-sheet-cancel,
  .home-plan-toast {
    background: var(--heylth-surface) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .home-plan-action-panel,
  .home-plan-sheet-cancel { border-width: .32cqw; }

  .home-plan-completion-ring { stroke-width: 2.4; }
}

.hl-main-content::-webkit-scrollbar,
.hl-sidebar-scroll::-webkit-scrollbar { display: none; }

.hl-empty-conversation { min-height: 100%; }

.hl-conversation {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6cqw;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-top: 3cqw;
}

.hl-message {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: var(--heylth-label, #111);
  font-size: 4cqw;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hl-message--user {
  align-self: flex-end;
  max-width: 86%;
  padding: 2.9cqw 3.9cqw;
  border-radius: 5cqw;
  background: #f0f0f2;
}

.hl-message--assistant {
  align-self: stretch;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hl-message-content {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hl-message-content p { margin: 0 0 .8em; }
.hl-message-content p:last-child { margin-bottom: 0; }

.hl-message-content h3 {
  margin: 1.1em 0 .45em;
  font-size: 1.05em;
  font-weight: 650;
  line-height: 1.4;
}

.hl-message-content > h3:first-child { margin-top: 0; }

.hl-message-content :is(ul, ol) {
  margin: .25em 0 .8em;
  padding-left: 1.35em;
}

.hl-message-content li + li { margin-top: .3em; }
.hl-message-content strong { font-weight: 650; }

.home-live .hl-conversation .hl-message-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: .88em;
}

.hl-message-content :not(pre) > code {
  padding: .12em .3em;
  border-radius: .35em;
  background: var(--heylth-surface, #f5f5f6);
}

.hl-message-content pre {
  min-width: 0;
  max-width: 100%;
  margin: .8em 0;
  padding: 3cqw;
  overflow-x: auto;
  border-radius: 2.4cqw;
  background: var(--heylth-surface, #f5f5f6);
  white-space: pre;
  overscroll-behavior-x: contain;
}

.hl-message-content pre > code {
  display: block;
  width: max-content;
  min-width: 100%;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
}

.hl-message-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7cqw;
  min-width: 0;
  margin: 1.2cqw 0 0 -2cqw;
}

.hl-message-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2cqw;
  min-width: max(10.4cqw, 44px);
  min-height: max(10.4cqw, 44px);
  padding: 2cqw;
  border: 0;
  border-radius: 2.6cqw;
  color: var(--heylth-secondary, #717175);
  background: transparent !important;
  font-size: 3.2cqw;
  font-weight: 450;
  line-height: 1.25;
}

.hl-message-actions button > :is(svg, img, .hl-icon) {
  display: block;
  flex: 0 0 auto;
  width: 4.6cqw;
  height: 4.6cqw;
  pointer-events: none;
}

.hl-message-actions button[aria-pressed="true"] {
  color: var(--heylth-blue, #0a84ff);
}

.hl-message-actions button:disabled {
  opacity: .38;
  cursor: default;
}

.hl-message-actions button:not(:disabled):active {
  background: #f0f0f2 !important;
}

.hl-message-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4cqw;
  min-width: 0;
  margin-top: 1.8cqw;
  color: var(--heylth-secondary, #717175);
  font-size: 3.2cqw;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hl-message-status button {
  min-height: 44px;
  padding: 1cqw 1.4cqw;
  border: 0;
  border-radius: 2cqw;
  color: var(--heylth-blue, #0a84ff);
  background: transparent !important;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
}

.hl-message.is-error .hl-message-status,
.hl-message-status.is-error {
  color: var(--heylth-red, #c62828);
}

.hl-chat-pending {
  display: flex;
  align-items: center;
  gap: 1.15cqw;
  min-height: 6cqw;
  padding: 1.8cqw 0;
  color: var(--heylth-secondary, #717175);
}

.hl-chat-pending > i {
  display: block;
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: currentColor;
  animation: hl-chat-pulse 1.2s ease-in-out infinite;
}

.hl-chat-pending > i:nth-child(2) { animation-delay: 160ms; }
.hl-chat-pending > i:nth-child(3) { animation-delay: 320ms; }

@keyframes hl-chat-pulse {
  0%, 70%, 100% { opacity: .35; transform: translateY(0); }
  35% { opacity: .85; transform: translateY(-.65cqw); }
}

.hl-message:is(.is-streaming, [data-chat-state="streaming"]) .hl-message-content::after {
  content: "";
  display: inline-block;
  width: .45cqw;
  height: 1em;
  margin-left: .5cqw;
  vertical-align: -.12em;
  background: currentColor;
  animation: hl-chat-caret 1s steps(2, start) infinite;
}

@keyframes hl-chat-caret { to { opacity: 0; } }

.hl-stop-symbol { display: none; }

.hl-primary-button.is-stop {
  color: #fff;
  background: #0a84ff;
}

.hl-primary-button.is-stop .hl-stop-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 2.75cqw;
  height: 2.75cqw;
  border-radius: .4cqw;
  background: #fff;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .hl-message-actions button:not(:disabled):hover {
    background: #f0f0f2 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-chat-pending > i,
  .hl-message:is(.is-streaming, [data-chat-state="streaming"]) .hl-message-content::after {
    animation: none;
  }
}

.hl-attachment-chip {
  position: absolute;
  right: 7.3cqw;
  bottom: 2cqw;
  display: grid;
  grid-template-columns: 4cqw minmax(0, 1fr) 4cqw;
  align-items: center;
  gap: 1.5cqw;
  max-width: 63cqw;
  min-height: 9cqw;
  padding: 1.5cqw 2cqw;
  border-radius: 3cqw;
  background: #f1f1f3;
  font-size: 3.25cqw;
  font-weight: 500;
}

.hl-attachment-chip > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hl-attachment-chip button { width: 4cqw; height: 4cqw; padding: .7cqw; }

.hl-composer {
  position: absolute;
  z-index: 7;
  left: 7.25cqw;
  right: 7.25cqw;
  bottom: 6.45cqw;
  display: grid;
  grid-template-columns: 11.3cqw minmax(0, 1fr) 9.2cqw;
  align-items: center;
  min-height: 12.4cqw;
  padding: .55cqw 1.2cqw .55cqw 1.05cqw;
  border: .26cqw solid rgba(255,255,255,.88);
  border-radius: 6.4cqw;
  background: rgba(253,253,253,.93);
  box-shadow: 0 4.8cqw 11cqw rgba(0,0,0,.09);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  transition: min-height 320ms cubic-bezier(.2,.8,.2,1), padding 320ms cubic-bezier(.2,.8,.2,1), border-radius 320ms cubic-bezier(.2,.8,.2,1);
}

.hl-composer.has-primary-action {
  grid-template-columns: 11.3cqw minmax(0, 1fr) 9.2cqw 9.2cqw;
}

.hl-composer:not(.has-primary-action) > .hl-primary-button { display: none; }
.hl-composer:not(.has-primary-action) > .hl-mic-button { justify-self: end; }

.hl-composer-button {
  display: grid;
  place-items: center;
  width: 9.7cqw;
  height: 9.7cqw;
  padding: 2.25cqw;
  border-radius: 50%;
  transition: transform 100ms ease-out, background-color 180ms ease-out;
}

.hl-add-button { justify-self: start; padding: 1.65cqw; }
.hl-add-button .hl-icon {
  transform-origin: 50% 50%;
  transition: transform 380ms cubic-bezier(.2,.8,.2,1);
}
.hl-mic-button {
  position: relative;
  width: 7.35cqw;
  height: 7.35cqw;
  padding: .6cqw;
  overflow: hidden;
}
.hl-mic-button .hl-icon {
  transition: opacity 180ms ease-out, transform 320ms cubic-bezier(.2,.8,.2,1);
}
.hl-mic-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.45cqw;
  height: 2.45cqw;
  border-radius: .25cqw;
  background: #0b0b0b;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.55);
  transition: opacity 180ms ease-out, transform 320ms cubic-bezier(.2,.8,.2,1);
}
.hl-primary-button {
  position: relative;
  justify-self: end;
  width: 7.35cqw;
  height: 7.35cqw;
  padding: 0;
  overflow: hidden;
}
.hl-primary-button.is-ready .hl-icon,
.hl-chat-pill .hl-icon { filter: brightness(0) invert(1); }
.hl-primary-button.is-send { background: #a1a1a4; padding: 0; }
.hl-primary-button.is-send.is-ready { background: #0a84ff; }

.hl-primary-button .hl-primary-symbol {
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  display: block;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease-out, transform 320ms cubic-bezier(.2,.8,.2,1);
}
.hl-primary-send-symbol {
  width: 5.55cqw;
  height: 5.55cqw;
  transform: translate(-50%, -38%) scale(.62);
}
.hl-primary-button.is-send .hl-primary-send-symbol {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hl-composer-field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 100%;
}

.hl-composer-field textarea {
  width: 100%;
  height: 5.2cqw;
  padding: 0;
  border: 0;
  outline: 0;
  resize: none;
  overflow: hidden;
  color: #111;
  background: transparent;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 4cqw;
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: 0em;
  transition: opacity 180ms ease-out, transform 320ms cubic-bezier(.2,.8,.2,1);
}

.hl-composer-field textarea::placeholder { color: #99999d; opacity: 1; }

.hl-inline-dictation-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scaleX(.9);
  transform-origin: 50% 50%;
  pointer-events: none;
  transition: opacity 180ms ease-out, transform 320ms cubic-bezier(.2,.8,.2,1);
}

.hl-composer.is-dictating .hl-add-button .hl-icon { transform: rotate(45deg); }
.hl-composer.is-dictating .hl-composer-field textarea {
  opacity: 0;
  transform: scaleX(.96);
}
.hl-composer.is-dictating .hl-inline-dictation-wave {
  opacity: 1;
  transform: scaleX(1);
}
.hl-composer.is-dictating .hl-mic-button { background: #f0f0f1; }
.hl-composer.is-dictating .hl-mic-button .hl-icon {
  opacity: 0;
  transform: scale(.55);
}
.hl-composer.is-dictating .hl-mic-button::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.hl-composer.is-dictating .hl-primary-button {
  color: #fff;
  background: #0a84ff;
}

.home-live.is-typing .hl-composer {
  grid-template-columns: 11.3cqw minmax(0, 1fr) 9.7cqw 9.7cqw 9.7cqw;
  grid-template-rows: 10.2cqw 10.2cqw;
  min-height: 23.2cqw;
  padding: 1.4cqw 2cqw;
  border-radius: 5.8cqw;
}

.home-live.is-typing .hl-composer .hl-composer-field {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: stretch;
  padding: 1cqw 1.7cqw 0;
}

.home-live.is-typing .hl-composer .hl-composer-field textarea {
  height: 8.5cqw;
  font-size: 4cqw;
  font-weight: 450;
  letter-spacing: 0em;
}

.home-live.is-typing .hl-composer .hl-add-button { grid-column: 1; grid-row: 2; }
.home-live.is-typing .hl-composer .hl-mic-button {
  grid-column: 4;
  grid-row: 2;
  justify-self: center;
  width: 7.35cqw;
  height: 7.35cqw;
  padding: .6cqw;
  translate: .625cqw .46cqw;
}

.home-live.is-typing .hl-composer:not(.has-primary-action) .hl-mic-button {
  grid-column: 5;
  justify-self: end;
  translate: 0 .46cqw;
}

.home-live.is-typing .hl-composer .hl-primary-button {
  grid-column: 5;
  grid-row: 2;
  width: 6.55cqw;
  height: 6.55cqw;
}
.home-live.is-typing .hl-composer .hl-primary-button.is-send { padding: 0; }

.hl-tools-dismiss {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
}

.hl-tool-sheet {
  position: absolute;
  z-index: 9;
  left: 5.35cqw;
  bottom: 6.25cqw;
  width: 70.9cqw;
  min-height: 96cqw;
  padding: 5.6cqw 6.1cqw;
  border: .25cqw solid rgba(255,255,255,.92);
  border-radius: 11.5cqw;
  background: rgba(250,250,250,.92);
  box-shadow: 0 4.5cqw 14cqw rgba(0,0,0,.13);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
  transform-origin: 12cqw 88cqw;
  animation: hl-tool-sheet-in 280ms cubic-bezier(.18,.82,.2,1) both;
}

.hl-tool-sheet button {
  display: grid;
  grid-template-columns: 11.3cqw 1fr 4.8cqw;
  align-items: center;
  gap: 4.7cqw;
  width: 100%;
  min-height: 17cqw;
  padding: 0;
  text-align: left;
}

.hl-tool-sheet strong {
  font-size: 4.45cqw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.012em;
}

.hl-tool-sheet button.is-selected strong,
.hl-tool-sheet button.is-selected .hl-tool-check { color: #0a84ff; }

.hl-tool-sheet button.is-selected .hl-tool-icon .hl-icon {
  filter: invert(43%) sepia(93%) saturate(3490%) hue-rotate(198deg) brightness(104%);
}

.hl-tool-check {
  justify-self: center;
  color: #0a84ff;
  font-size: 4.9cqw;
  font-weight: 620;
  line-height: 1;
}

.hl-tool-icon {
  display: grid;
  place-items: center;
  width: 11.3cqw;
  height: 11.3cqw;
  padding: 2.6cqw;
  border-radius: 50%;
  background: #ededee;
}

@keyframes hl-tool-sheet-in {
  from { opacity: 0; transform: scale(.94) translate3d(-1cqw, 3cqw, 0); }
  to { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
}

.hl-dictation-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .62cqw;
  height: 8cqw;
  overflow: hidden;
}

.hl-dictation-wave i {
  width: .72cqw;
  height: calc(var(--hl-wave) * .18cqw);
  min-height: 1.2cqw;
  border-radius: 1cqw;
  background: #8f8f92;
  animation: hl-wave-pulse 820ms ease-in-out infinite alternate;
  animation-delay: calc(var(--hl-wave) * -17ms);
}

@keyframes hl-wave-pulse {
  from { transform: scaleY(.58); opacity: .72; }
  to { transform: scaleY(1); opacity: 1; }
}

/* Sidebar */
.home-live.is-sidebar { background: #fff; }
.home-live.is-sidebar .hl-status-bar { z-index: 7; }

.hl-sidebar-layout { position: absolute; inset: 0; overflow: hidden; }

.hl-sidebar-drawer {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 80.2cqw;
  overflow: hidden;
  background: #fff;
  box-shadow: 4.5cqw 0 14cqw rgba(0,0,0,.08);
}

.hl-sidebar-header {
  position: absolute;
  z-index: 4;
  top: 14.7cqw;
  left: 5.8cqw;
  right: 5.9cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 11.8cqw;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.hl-sidebar-header h1 {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 5.18cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.022em;
}

.hl-sidebar-search {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 11.7cqw;
  height: 11.7cqw;
  margin-right: .1cqw;
  padding: 3cqw;
  border-radius: 50%;
  background: #fafafa !important;
  box-shadow: 0 3.2cqw 8cqw rgba(0,0,0,.08);
}

.hl-sidebar-search-field {
  display: grid;
  grid-template-columns: 5.4cqw 1fr;
  align-items: center;
  gap: 1.8cqw;
  width: 51cqw;
  height: 9.8cqw;
  padding: 0 2.2cqw;
  border-radius: 5cqw;
  background: #f1f1f3;
}

.hl-sidebar-search-field .hl-icon { width: 4.7cqw; height: 4.7cqw; }

.hl-sidebar-search-field input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 3.7cqw;
  font-weight: 430;
}

.hl-sidebar-scroll {
  position: absolute;
  inset: 28.6cqw 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 29cqw;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hl-sidebar-nav { display: grid; }

.hl-sidebar-nav button,
.hl-sidebar-thread {
  position: relative;
  width: 100%;
  height: 13.25cqw;
  padding: 0;
  text-align: left;
}

.hl-sidebar-nav .hl-icon,
.hl-sidebar-thread .hl-icon {
  position: absolute;
  top: 50%;
  left: 5.8cqw;
  width: 5.35cqw;
  height: 5.35cqw;
  transform: translateY(-50%);
}

.hl-sidebar-nav button:active .hl-icon,
.hl-sidebar-thread:active .hl-icon { transform: translateY(-50%); }

.hl-sidebar-nav span,
.hl-sidebar-thread span {
  position: absolute;
  top: 50%;
  left: 14.3cqw;
  right: 3cqw;
  overflow: hidden;
  transform: translateY(-50%);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 3.909091cqw;
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: 0;
}

.hl-sidebar-section { margin-top: 7.6cqw; }

.hl-sidebar-section h2 {
  margin: 0 0 3.1cqw 5.8cqw;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 4.15cqw;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.014em;
}

.hl-sidebar-thread { height: 13.6cqw; }
.hl-sidebar-thread span { font-size: 4.05cqw; font-weight: 620; }
.hl-sidebar-thread--brand .hl-icon { filter: invert(45%) sepia(95%) saturate(4000%) hue-rotate(195deg) brightness(102%); }

.hl-sidebar-recents { margin-top: 7.2cqw; }
.hl-sidebar-recents h2 { margin-bottom: 4.4cqw; }

.hl-sidebar-recents > button {
  display: block;
  width: calc(100% - 5.8cqw);
  min-height: 11.3cqw;
  margin-left: 5.8cqw;
  padding: 1.1cqw 3cqw 1.1cqw 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 3.75cqw;
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: 0;
}

.hl-sidebar-recents p {
  margin: 2cqw 5.8cqw;
  color: #8e8e93;
  font-size: 3.6cqw;
}

.hl-sidebar-footer {
  position: absolute;
  z-index: 6;
  left: 5.4cqw;
  right: 5.3cqw;
  bottom: 3.7cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hl-sidebar-footer > * { pointer-events: auto; }

.hl-chat-pill {
  display: grid;
  grid-template-columns: 6.2cqw 1fr;
  align-items: center;
  gap: 2.1cqw;
  width: 27.2cqw;
  height: 11cqw;
  padding: 0 3.4cqw;
  border-radius: 6cqw;
  color: #fff !important;
  background: #0a8df7 !important;
  box-shadow: 0 4cqw 10cqw rgba(0,122,255,.22);
}

.hl-chat-pill .hl-icon { width: 5.5cqw; height: 5.5cqw; }
.hl-chat-pill span { font-size: 4.05cqw; font-weight: 700; letter-spacing: -.012em; }

.hl-profile-avatar {
  display: grid;
  place-items: center;
  width: 10.8cqw;
  height: 10.8cqw;
  border: 1.35cqw solid #fff !important;
  border-radius: 50%;
  color: #fff !important;
  background: #d3372d !important;
  box-shadow: 0 3cqw 9cqw rgba(0,0,0,.12);
  font-size: 2.85cqw;
  font-weight: 520;
}

.hl-sidebar-rail {
  position: absolute;
  z-index: 1;
  top: -1cqw;
  right: -1cqw;
  bottom: -1cqw;
  width: 21.8cqw;
  overflow: hidden;
  border-radius: 18cqw 0 0 18cqw;
  background: rgba(255,255,255,.72);
  box-shadow: -4cqw 0 12cqw rgba(0,0,0,.07);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}

.hl-sidebar-close {
  position: absolute;
  top: 15.5cqw;
  left: 4.2cqw;
  display: grid;
  place-items: center;
  width: 12cqw;
  height: 12cqw;
  padding: 3.4cqw;
  border-radius: 50%;
  color: #8e8e93 !important;
  background: rgba(255,255,255,.7) !important;
}

.hl-sidebar-rail-actions {
  position: absolute;
  top: 154cqw;
  left: 5.3cqw;
  display: grid;
  gap: 8.8cqw;
  width: 50cqw;
}

.hl-sidebar-rail-actions button {
  display: grid;
  grid-template-columns: 6.3cqw 1fr;
  align-items: center;
  gap: 3.5cqw;
  width: 50cqw;
  padding: 0;
  color: #a2a2a5;
  text-align: left;
  font-size: 3.75cqw;
  font-weight: 560;
  white-space: nowrap;
}

.hl-sidebar-rail-actions .hl-icon { width: 6.1cqw; height: 6.1cqw; opacity: .75; }

.hl-sidebar-add {
  position: absolute;
  left: 4.2cqw;
  bottom: 5.2cqw;
  display: grid;
  place-items: center;
  width: 12cqw;
  height: 12cqw;
  padding: 3.3cqw;
  border-radius: 50%;
  color: #8e8e93 !important;
  background: rgba(255,255,255,.76) !important;
}

@media (prefers-reduced-motion: reduce) {
  .home-live *,
  .home-live *::before,
  .home-live *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .hl-round-button,
  .hl-composer,
  .hl-tool-sheet,
  .hl-sidebar-header,
  .hl-sidebar-rail {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}


.bar-child-loading-overlay {
  position: absolute;
  z-index: 12;
  top: 27.3cqw;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  padding: 5.25cqw 5.25cqw 26cqw;
  background: #fff;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 180ms ease-out;
}

.profile-settings-live > .bar-child-loading-overlay {
  z-index: 3;
  top: 33.55cqw;
  padding: 4.2cqw 7.4cqw 28cqw;
}

.bar-child-loading-overlay.is-resolving {
  opacity: 0;
  pointer-events: none;
}

.bar-child-loading-content {
  width: 100%;
  height: 100%;
}

.bar-skeleton-block {
  display: block;
  height: 2.8cqw;
  border-radius: 1.5cqw;
  background: linear-gradient(100deg, #ededf0 15%, #fafafa 40%, #ededf0 65%);
  background-size: 250% 100%;
  animation: bar-skeleton-shimmer 1.1s ease-in-out infinite;
}

.bar-skeleton-block.is-width-0 { width: 52%; }
.bar-skeleton-block.is-width-1 { width: 72%; }
.bar-skeleton-block.is-width-2 { width: 88%; }

.bar-child-loading-overlay.is-list .bar-child-loading-content {
  display: grid;
  align-content: start;
  gap: 2.8cqw;
}

.bar-skeleton-list-row {
  display: grid;
  grid-template-columns: 12.2cqw minmax(0, 1fr);
  align-items: center;
  gap: 3.4cqw;
  min-height: 16.4cqw;
}

.bar-skeleton-list-row > span {
  display: grid;
  gap: 2.1cqw;
}

.bar-skeleton-block.is-list-icon {
  width: 10.5cqw;
  height: 10.5cqw;
  border-radius: 3cqw;
}

.bar-skeleton-block.is-list-title { height: 3.65cqw; }
.bar-skeleton-block.is-list-copy { height: 2.8cqw; }

.bar-child-loading-overlay.is-cards .bar-child-loading-content {
  display: grid;
  align-content: start;
  gap: 3.05cqw;
}

.bar-skeleton-card {
  min-height: 29.7cqw;
  padding: 5.35cqw 5.25cqw 4.6cqw;
  border: .27cqw dashed #d2d2d5;
  border-radius: 7.6cqw;
  background: #fff;
}

.bar-skeleton-card-heading {
  display: grid;
  grid-template-columns: 7.3cqw minmax(0, 1fr) 5.2cqw;
  align-items: center;
  column-gap: 1.25cqw;
  min-height: 6.35cqw;
}

.bar-skeleton-card-copy {
  display: grid;
  gap: 1.6cqw;
  margin: 2.05cqw 0 0 8.55cqw;
}

.bar-skeleton-block.is-card-icon {
  width: 6.35cqw;
  height: 6.35cqw;
  border-radius: 2cqw;
}

.bar-skeleton-block.is-card-title { height: 3.5cqw; }

.bar-skeleton-block.is-card-action {
  width: 4.1cqw;
  height: 4.1cqw;
  justify-self: center;
  border-radius: 50%;
}

.bar-skeleton-card-copy .bar-skeleton-block:first-child { width: 94%; }

.bar-child-loading-overlay.is-dashboard .bar-child-loading-content {
  display: grid;
  align-content: start;
  gap: 4cqw;
}

.bar-skeleton-dashboard-hero {
  display: grid;
  align-content: center;
  gap: 3cqw;
  min-height: 39cqw;
  padding: 5.2cqw;
  border-radius: 8cqw;
  background: #f5f5f7;
}

.bar-skeleton-block.is-dashboard-kicker { width: 36%; height: 3.2cqw; }
.bar-skeleton-block.is-dashboard-value { width: 58%; height: 7.2cqw; border-radius: 2.2cqw; }
.bar-skeleton-block.is-dashboard-copy { width: 82%; }

.bar-skeleton-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.2cqw;
}

.bar-skeleton-dashboard-grid > div {
  display: grid;
  align-content: start;
  gap: 2.4cqw;
  min-height: 27cqw;
  padding: 4.2cqw;
  border-radius: 6.2cqw;
  background: #f5f5f7;
}

.bar-skeleton-block.is-dashboard-icon { width: 6.5cqw; height: 6.5cqw; border-radius: 2cqw; }
.bar-skeleton-block.is-dashboard-title { width: 62%; height: 3.2cqw; }

.bar-skeleton-dashboard-list {
  display: grid;
  gap: 1.2cqw;
}
@keyframes bar-skeleton-shimmer {
  from { background-position: 180% 0; }
  to { background-position: -80% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bar-skeleton-block {
    animation: none !important;
  }

  .bar-child-loading-overlay { transition: none !important; }
}

/* Finance typography contract: only font-size and font-weight may vary. */
.home-live:is(
  .is-finance, .is-financeMemories, .is-financeSavedMemories, .is-financeMemorySearch, .is-financeConnect),
  .home-live:is(.is-finance, .is-financeMemories, .is-financeSavedMemories, .is-financeMemorySearch, .is-financeConnect
) * {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif !important;
  font-kerning: normal;
  font-optical-sizing: auto;
  letter-spacing: 0em !important;
}

/* Shared top-page title contract: Plugins is the canonical reference. */
#profileSettingsLive .dc-navigation.is-plugin-browse h1,
#homeLive .finance-header h1 {
  font-family: var(--shared-top-title-font-family) !important;
  font-size: var(--shared-top-title-size) !important;
  font-weight: var(--shared-top-title-weight) !important;
  line-height: var(--shared-top-title-line-height) !important;
  letter-spacing: var(--shared-top-title-letter-spacing) !important;
  color: #000 !important;
  text-align: center !important;
  font-kerning: normal;
  font-optical-sizing: auto;
}

/* Finance spending typography experiment requested for visual review. */
#homeLive:is(.is-finance, .is-financeMemories) .finance-spending-row:not(.is-obscured) .finance-category-copy > b {
  font-weight: 450;
  letter-spacing: 0em !important;
}

/* Shared compact-menu material — canonical reference: Memory summary overflow.
   Profile keeps its existing popup coverage. Bar child pages intentionally
   opt in only their compact role=menu popovers; full-screen sheets, pickers,
   dialogs and transient status surfaces keep their native component material. */
:is(
  #personalizationLive [role="menu"],
  #dataControlsLive :is([role="menu"], [role="dialog"], [role="alertdialog"]),
  #profileSettingsLive :is([role="menu"], [role="dialog"], [role="alertdialog"]),
  #homeLive [role="menu"],
  .pl-menu-popover,
  .dc-dialog,
  .pr-photo-menu,
  .pr-edit-sheet
) {
  isolation: isolate;
  border-color: var(--popup-material-border);
  background: var(--popup-material-surface);
  box-shadow: var(--popup-material-shadow);
  -webkit-backdrop-filter: var(--popup-material-backdrop);
  backdrop-filter: var(--popup-material-backdrop);
}

:is(
  .dc-dialog
) {
  border-width: .16cqw;
  border-style: solid;
}

/* Report is a solid modal task surface; its scroll region stays opaque so
   controls cannot visually disappear into the live Profile behind it. */
#reportLive .report-scroll {
  background: #fff;
}

.pl-menu-popover::after {
  border-color: rgba(255, 255, 255, .7);
  box-shadow: inset 0 .12cqw 0 rgba(255, 255, 255, .82);
}

@media (prefers-reduced-transparency: reduce) {
  :is(
    #personalizationLive [role="menu"],
    #dataControlsLive :is([role="menu"], [role="dialog"], [role="alertdialog"]),
    #profileSettingsLive :is([role="menu"], [role="dialog"], [role="alertdialog"]),
    #homeLive [role="menu"],
    .pl-menu-popover,
    .dc-dialog,
    .pr-photo-menu,
    .pr-edit-sheet
  ) {
    background: #f8f8fa !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :is(
    #personalizationLive [role="menu"],
    #dataControlsLive :is([role="menu"], [role="dialog"], [role="alertdialog"]),
    #profileSettingsLive :is([role="menu"], [role="dialog"], [role="alertdialog"]),
    #homeLive [role="menu"],
    .pl-menu-popover,
    .dc-dialog,
    .pr-photo-menu,
    .pr-edit-sheet
  ) {
    border-color: rgba(60, 60, 67, .42);
    background: rgba(255, 255, 255, .98);
  }
}

/* Personalization option menus keep their established compact-menu geometry.
   Copy length remains content-driven within the shared selection column and
   option title typography. */
#personalizationMenuPopover.pl-menu-popover {
  left: auto;
  right: 8.3cqw;
  width: 66cqw;
  padding: 3cqw 0;
  border-width: .16cqw;
  border-radius: 8cqw;
  transform-origin: 78% 42%;
}

#personalizationMenuPopover.pl-menu-popover::after {
  inset: .12cqw;
  border-width: .1cqw;
  border-radius: inherit;
  box-shadow:
    inset 0 .14cqw 0 rgba(255, 255, 255, .88),
    inset 0 -.12cqw 0 rgba(255, 255, 255, .34);
}

#personalizationMenuPopover .pl-menu-option,
#personalizationMenuPopover.is-base-style .pl-menu-option {
  min-height: 9.2cqw;
  grid-template-columns: 5cqw minmax(0, 1fr);
  column-gap: 2.1cqw;
  padding: 1.1cqw 5.6cqw;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 4.266667cqw;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0em;
}

#personalizationMenuPopover .pl-menu-check {
  grid-column: 1;
  align-self: center;
  font-size: 4.4cqw;
  line-height: 1;
  font-weight: 760;
}

#personalizationMenuPopover .pl-menu-option-copy {
  grid-column: 2;
  gap: .55cqw;
}

#personalizationMenuPopover .pl-menu-option-title {
  color: var(--option-menu-title-color);
  font-family: var(--option-menu-title-font-family);
  font-size: var(--option-menu-title-size);
  line-height: var(--option-menu-title-line-height);
  font-weight: var(--option-menu-title-weight);
  letter-spacing: var(--option-menu-title-letter-spacing);
  font-optical-sizing: auto;
}

#personalizationMenuPopover .pl-menu-option-subtitle {
  margin-top: 0;
  color: #929297;
  font-family: inherit;
  font-size: 3.733333cqw;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: 0em;
}

#personalizationMenuPopover .pl-menu-option:active {
  background: rgba(118, 118, 128, .075);
}

/* One canonical first-line style for every Personalization option menu. */
#personalizationMenuPopover .pl-menu-option-title {
  color: var(--option-menu-title-color);
  font-family: var(--option-menu-title-font-family);
  font-size: var(--option-menu-title-size);
  line-height: var(--option-menu-title-line-height);
  font-weight: var(--option-menu-title-weight);
  letter-spacing: var(--option-menu-title-letter-spacing);
  font-optical-sizing: auto;
}

/* Personalization reference rhythm.
   The title + description form one tight information group; each option is a
   separate, generously spaced tap target. Base style uses seven equal rows,
   while the More / Default / Less menus expand only when copy wraps. */
#personalizationMenuPopover.pl-menu-popover {
  left: 25cqw;
  right: auto;
  padding: 0;
}

#personalizationMenuPopover .pl-menu-option {
  min-height: 14cqw;
  grid-template-columns: 6cqw minmax(0, 1fr);
  column-gap: 0;
  padding: 1.25cqw 3.4cqw 1.15cqw 4.8cqw;
}

#personalizationMenuPopover.is-base-style .pl-menu-option {
  min-height: 14.3cqw;
}

#personalizationMenuPopover .pl-menu-check {
  font-size: 4.3cqw;
  font-weight: 730;
}

#personalizationMenuPopover .pl-menu-option-copy {
  gap: 0;
}

#personalizationMenuPopover .pl-menu-option-subtitle {
  margin-top: .72cqw;
  font-size: 3.72cqw;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: 0em;
}

/* Give the first two-line choice optical breathing room beneath the glass cap
   without changing the established three-row popover geometry. */
#personalizationMenuPopover:not(.is-base-style) .pl-menu-option:first-child :is(
  .pl-menu-check,
  .pl-menu-option-copy
) {
  transform: translateY(1.2cqw);
}

/* Profile is a foreground sheet over the actual Bar sidebar, not a flat gray
   page. The inert backdrop reuses the native Bar DOM so its rail, status-area
   geometry and avatar remain visible through the exposed top corners. */
.profile-bar-backdrop {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.profile-bar-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, .18);
  pointer-events: none;
}

.device.profile-sheet-active :is(#personalizationLive, #dataControlsLive, #profileSettingsLive) {
  --profile-foreground-surface: var(--settings-page-surface);
  isolation: isolate;
  background: transparent;
}

.device.profile-sheet-active #dataControlsLive.is-white-page,
.device.profile-sheet-active #profileSettingsLive.is-plugin-browse {
  --profile-foreground-surface: #fff;
}

.device.profile-sheet-active :is(#personalizationLive, #dataControlsLive, #profileSettingsLive)::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: var(--settings-nav-top);
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: var(--settings-nav-radius) var(--settings-nav-radius) 0 0;
  background: var(--profile-foreground-surface);
  pointer-events: none;
}

.device.profile-sheet-active :is(
  .pl-status-bar, .pl-scroll, .dc-status-bar),
  .device.profile-sheet-active :is(#dataControlsLive, #profileSettingsLive) :is(.dc-scroll, .dc-page, .ps-page
) {
  background: transparent;
}

/* The scroll view remains full-height so content can move beneath the glass
   navigation bar, but its painted output is clipped to the rounded Profile
   sheet. This prevents pull-down/bounce frames from leaking into the exposed
   Bar backdrop above the sheet. */
.device.profile-sheet-active :is(
  #personalizationLive .pl-scroll,
  #dataControlsLive .dc-scroll,
  #profileSettingsLive .dc-scroll
) {
  -webkit-clip-path: inset(var(--settings-nav-top) 0 0 0 round var(--settings-nav-radius) var(--settings-nav-radius) 0 0);
  clip-path: inset(var(--settings-nav-top) 0 0 0 round var(--settings-nav-radius) var(--settings-nav-radius) 0 0);
}

@media (prefers-reduced-transparency: reduce) {
  .profile-bar-backdrop::after { background: rgba(0, 0, 0, .24); }
}
