/*
 * Connector's Edge frontend design foundation.
 */

:root {
  --cedge-theme-primary: #a24b2a;
  --cedge-theme-secondary: #22604a;
  --cedge-theme-accent: #c9b49a;
  --cedge-theme-background: #f6f1ea;
  --cedge-theme-surface: #fffdf9;
  --cedge-theme-primary-rgb: 162, 75, 42;
  --cedge-theme-secondary-rgb: 34, 96, 74;
  --cedge-theme-accent-rgb: 201, 180, 154;
  --cedge-bg: #f6f1ea;
  --cedge-bg-soft: linear-gradient(180deg, #fbf7f1 0%, #f4ede4 100%);
  --cedge-surface: #fffdf9;
  --cedge-surface-strong: #ffffff;
  --cedge-border: #dccfbe;
  --cedge-border-strong: #c9b49a;
  --cedge-text: #2b241f;
  --cedge-text-soft: #64584b;
  --cedge-heading: #1d1612;
  --cedge-accent: #a24b2a;
  --cedge-accent-strong: #7f361a;
  --cedge-accent-soft: #f3dfd4;
  --cedge-success: #22604a;
  --cedge-success-soft: #dff3ea;
  --cedge-warning: #8d5b16;
  --cedge-warning-soft: #f9edcf;
  --cedge-danger: #8d2f2f;
  --cedge-danger-soft: #f8dede;
  --cedge-shadow: 0 20px 45px rgba(62, 37, 18, 0.08);
  --cedge-shadow-soft: 0 10px 24px rgba(62, 37, 18, 0.06);
  --cedge-focus-ring: rgba(162, 75, 42, 0.18);
  --cedge-link: var(--cedge-accent);
  --cedge-link-hover: var(--cedge-accent-strong);
  --cedge-radius-xl: 28px;
  --cedge-radius-lg: 20px;
  --cedge-radius-md: 14px;
  --cedge-radius-sm: 10px;
  --cedge-font-heading: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --cedge-font-body: Aptos, "Segoe UI", "Helvetica Neue", sans-serif;
}

.cedge-shell {
  background: var(--cedge-bg-soft);
  border: 1px solid var(--cedge-border-strong);
  border-radius: 32px;
  color: var(--cedge-text);
  font-family: var(--cedge-font-body);
  margin: 1.5rem 0;
  padding: clamp(0.75rem, 1.35vw, 1rem);
  box-shadow: var(--cedge-shadow-soft);
}

.cedge-shell--with-navigation {
  padding-top: 0.2rem;
}

.cedge-shell--with-greeting {
  margin-top: 0.3rem;
}

.cedge-shell--pre-alpha-frame {
  background-color: #dcc6af;
  background-image:
    linear-gradient(135deg, rgba(255, 251, 245, 0.86), rgba(228, 208, 184, 0.7)),
    var(--cedge-pre-alpha-shell-image, none),
    radial-gradient(circle at 18% 20%, rgba(255, 197, 74, 0.36) 0, rgba(255, 197, 74, 0.36) 12%, transparent 13%),
    radial-gradient(circle at 82% 24%, rgba(69, 67, 64, 0.16) 0, rgba(69, 67, 64, 0.16) 10%, transparent 11%),
    repeating-linear-gradient(118deg, rgba(183, 109, 47, 0.2) 0 12px, transparent 12px 86px),
    linear-gradient(180deg, #efe4d5 0%, #d9c2a7 100%);
  background-position: center, center, left top, right top, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, no-repeat;
  background-size: cover, cover, 220px 220px, 240px 240px, 220px 220px, cover;
  padding: clamp(0.85rem, 1.75vw, 1rem);
}

.cedge-shell--pre-alpha-start {
  margin-top: 0.15rem;
}

.cedge-shell--pre-alpha-start.cedge-shell--pre-alpha-frame {
  padding-top: 0.3rem;
}

.cedge-shell__inner {
  margin: 0 auto;
  max-width: 1120px;
}

.cedge-app-content {
  display: contents;
}

.cedge-shell--pre-alpha-frame .cedge-shell__inner {
  max-width: 1120px;
}

.cedge-page-header {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cedge-shell--pre-alpha-start .cedge-page-header {
  gap: 0.35rem 1rem;
  margin-bottom: 0.35rem;
}

.cedge-page-header__copy {
  flex: 1 1 320px;
}

.cedge-page-header__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 0.3rem;
}

.cedge-page-greeting {
  align-items: center;
  background: var(--cedge-surface-strong);
  border: 1px solid rgba(var(--cedge-theme-primary-rgb), 0.14);
  border-radius: 14px;
  box-shadow: var(--cedge-shadow-soft);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto 0;
  max-width: 1168px;
  padding: 0.35rem 1rem;
}

.cedge-page-greeting__link {
  align-items: center;
  color: var(--cedge-heading);
  display: inline-flex;
  font-weight: 700;
  min-height: 28px;
  padding: 0;
  text-decoration: none;
}

.cedge-page-greeting__actions {
  align-items: center;
  display: inline-flex;
  gap: 0.85rem;
}

.cedge-page-greeting__events {
  color: var(--cedge-text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.cedge-page-greeting__link:hover,
.cedge-page-greeting__link:focus-visible,
.cedge-page-greeting__events:hover,
.cedge-page-greeting__events:focus-visible,
.cedge-page-greeting__logout:hover,
.cedge-page-greeting__logout:focus-visible {
  color: var(--cedge-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.cedge-page-greeting__logout {
  color: var(--cedge-text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.cedge-mobile-alpha-notice {
  background: #fff8d8;
  border: 1px solid #d2a328;
  border-radius: 10px;
  color: #4f3900;
  display: none;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 auto 0.65rem;
  max-width: 1168px;
  padding: 0.65rem 0.85rem;
}

.cedge-shell-topbar {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 0.45rem 0.8rem;
  grid-template-columns: auto auto auto minmax(0, 1fr);
  justify-content: start;
  margin-bottom: 1rem;
  overflow: visible;
  padding: 0;
  z-index: 6;
}

.cedge-shell--with-navigation .cedge-shell-topbar {
  margin-bottom: 0.7rem;
}

.cedge-shell--pre-alpha-start .cedge-shell-topbar {
  margin-bottom: 0.45rem;
}

.cedge-shell-topbar__toggle {
  align-items: center;
  appearance: none;
  background: var(--cedge-surface);
  border: 1px solid var(--cedge-border-strong);
  border-radius: 999px;
  color: var(--cedge-heading);
  cursor: pointer;
  display: none;
  gap: 0.7rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.6rem 0.95rem;
}

.cedge-shell-topbar__toggle-lines {
  display: inline-grid;
  gap: 0.22rem;
}

.cedge-shell-topbar__toggle-lines span {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 18px;
}

.cedge-shell-topbar__toggle-label {
  font-size: 0.92rem;
  font-weight: 700;
}

.cedge-shell-topbar__panel {
  flex: 1 1 auto;
  grid-column: 4;
  min-width: 0;
  overflow: visible;
}

.cedge-shell-topbar__status-wrap {
  grid-column: 1;
}

.cedge-shell-topbar__notifications-wrap {
  grid-column: 3;
  position: relative;
}

.cedge-shell-topbar__messages-wrap {
  display: none;
}

.cedge-shell-topbar__bug-report-wrap {
  grid-column: 2;
}

.cedge-shell-topbar__notifications {
  position: relative;
}

.cedge-shell-topbar__notifications-button {
  align-items: center;
  appearance: none;
  background: var(--cedge-surface);
  border: 1px solid var(--cedge-border-strong);
  border-radius: 999px;
  color: var(--cedge-heading);
  cursor: pointer;
  display: inline-flex;
  gap: 0.4rem;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  padding: 0.6rem 0.7rem;
  position: relative;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.cedge-shell-topbar__notifications-button:hover,
.cedge-shell-topbar__notifications-button:focus-visible,
.cedge-shell-topbar__notifications-button.is-unread {
  border-color: var(--cedge-accent);
  box-shadow: 0 10px 22px rgba(var(--cedge-theme-primary-rgb), 0.12);
}

.cedge-shell-topbar__notifications-icon {
  font-size: 1.08rem;
  line-height: 1;
}

.cedge-shell-topbar__notifications-badge {
  align-items: center;
  background: var(--cedge-accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 1.35rem;
  min-width: 1.35rem;
  padding: 0 0.35rem;
}

.cedge-shell-topbar__notifications-badge.is-hidden {
  display: none;
}

.cedge-shell-topbar__notifications-panel {
  background: var(--cedge-surface, #fffdf8);
  border: 1px solid var(--cedge-border-strong);
  border-radius: 18px;
  box-shadow: var(--cedge-shadow-soft);
  overflow: visible;
  padding: 0.75rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: min(360px, calc(100vw - 2rem));
  z-index: 18;
}

.cedge-shell-topbar__notifications-header {
  align-items: flex-start;
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.cedge-shell-topbar__notifications-heading {
  display: grid;
  gap: 0.15rem;
}

.cedge-shell-topbar__notifications-meta {
  color: var(--cedge-text-soft);
  font-size: 0.84rem;
}

.cedge-shell-topbar__notifications-mark-all {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--cedge-link);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
}

.cedge-shell-topbar__notifications-mark-all:hover,
.cedge-shell-topbar__notifications-mark-all:focus-visible {
  color: var(--cedge-link-hover);
}

.cedge-shell-topbar__notifications-mark-all.is-hidden {
  display: none;
}

.cedge-shell-topbar__notifications-empty {
  color: var(--cedge-text-soft);
  margin: 0;
}

.cedge-shell-topbar__notifications-body-shell {
  min-height: 2.5rem;
}

.cedge-shell-topbar__notifications-body-shell.is-loading:empty::before {
  color: var(--cedge-text-soft);
  content: "Loading notifications...";
  display: block;
  font-size: 0.84rem;
}

.cedge-shell-topbar__notifications-list {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  max-height: 22rem;
  overflow-y: auto;
  padding: 0;
}

.cedge-shell-topbar__notifications-item {
  margin: 0;
}

.cedge-shell-topbar__notifications-item.is-unread .cedge-shell-topbar__notifications-link {
  border-color: rgba(var(--cedge-theme-primary-rgb), 0.32);
  box-shadow: inset 3px 0 0 var(--cedge-accent);
}

.cedge-shell-topbar__notifications-link {
  background: var(--cedge-surface);
  border: 1px solid var(--cedge-border);
  border-radius: 14px;
  color: var(--cedge-heading);
  display: grid;
  gap: 0.28rem;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
}

.cedge-shell-topbar__notifications-link:hover,
.cedge-shell-topbar__notifications-link:focus-visible {
  border-color: rgba(var(--cedge-theme-primary-rgb), 0.45);
  transform: translateY(-1px);
}

.cedge-shell-topbar__notifications-category {
  color: var(--cedge-link);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cedge-shell-topbar__notifications-topline {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  justify-content: space-between;
}

.cedge-shell-topbar__notifications-state {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.28rem 0.45rem;
}

.cedge-shell-topbar__notifications-state.is-unread {
  background: var(--cedge-accent-soft);
  color: var(--cedge-accent-strong);
}

.cedge-shell-topbar__notifications-state.is-read {
  background: rgba(var(--cedge-theme-secondary-rgb), 0.11);
  color: var(--cedge-text-soft);
}

.cedge-shell-topbar__notifications-title {
  font-size: 0.94rem;
  font-weight: 700;
}

.cedge-shell-topbar__notifications-body {
  color: var(--cedge-text-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.cedge-shell-topbar__notifications-item.is-read .cedge-shell-topbar__notifications-link {
  background: rgba(var(--cedge-theme-secondary-rgb), 0.03);
}

.cedge-shell-topbar__notifications-time {
  color: var(--cedge-text-soft);
  font-size: 0.8rem;
}

.cedge-shell-topbar__links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  overflow: visible;
}

.cedge-shell-topbar__group {
  margin: 0;
  position: relative;
}

.cedge-shell-topbar__group-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--cedge-heading);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.97rem;
  font-weight: 700;
  gap: 0.45rem;
  line-height: 1.2;
  list-style: none;
  min-height: 40px;
  padding: 0.3rem 0;
  text-decoration: none;
  transition: border-color 120ms ease, color 120ms ease;
}

.cedge-shell-topbar__group-trigger::-webkit-details-marker {
  display: none;
}

.cedge-shell-topbar__group-label {
  display: inline-block;
}

.cedge-shell-topbar__stacked-label {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.05;
  text-align: center;
}

.cedge-shell-topbar__stacked-label span {
  display: block;
}

.cedge-shell-topbar__group-caret {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  display: inline-block;
  flex: 0 0 auto;
  transition: transform 120ms ease;
}

.cedge-shell-topbar__group[open] .cedge-shell-topbar__group-caret {
  transform: rotate(180deg);
}

.cedge-shell-topbar__group-menu {
  background: var(--cedge-surface);
  border: 1px solid var(--cedge-border-strong);
  border-radius: 18px;
  box-shadow: var(--cedge-shadow-soft);
  display: none;
  gap: 0.2rem;
  left: 0;
  min-width: 220px;
  padding: 0.5rem 0.75rem;
  position: absolute;
  top: calc(100% + 0.5rem);
  z-index: 15;
}

.cedge-shell-topbar__group[open] .cedge-shell-topbar__group-menu {
  display: grid;
}

.cedge-shell-topbar__link {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--cedge-heading);
  display: inline-flex;
  font-size: 0.97rem;
  gap: 0.45rem;
  font-weight: 700;
  line-height: 1.2;
  min-height: 40px;
  padding: 0.3rem 0;
  text-decoration: none;
  transition: border-color 120ms ease, color 120ms ease;
}

.cedge-shell-topbar__group-link {
  background: transparent;
  border: 1px solid transparent;
  border-bottom-width: 0;
  border-radius: 12px;
  font-size: 0.93rem;
  justify-content: flex-start;
  padding: 0.45rem 0.55rem;
}

.cedge-shell-topbar__group-link:hover,
.cedge-shell-topbar__group-link:focus-visible,
.cedge-shell-topbar__group-link.cedge-shell-topbar__link--current {
  background: var(--cedge-accent-soft);
  border-color: rgba(var(--cedge-theme-primary-rgb), 0.24);
  color: #fff;
}

.cedge-shell-topbar__link--prominent {
  background: var(--cedge-surface);
  border: 1px solid rgba(var(--cedge-theme-primary-rgb), 0.42);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(var(--cedge-theme-primary-rgb), 0.12);
  min-height: 44px;
  padding: 0.5rem 0.85rem;
}

.cedge-shell-topbar__link--prominent .cedge-shell-topbar__link-label,
.cedge-shell-topbar__link--prominent {
  font-weight: 800;
}

.cedge-shell-topbar__link-label {
  display: inline-block;
}

.cedge-shell-topbar__link-label--alert {
  color: #b42318;
  font-weight: 800;
}

.cedge-shell-topbar__link-badge {
  align-items: center;
  background: var(--cedge-accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-height: 1.3rem;
  min-width: 1.3rem;
  padding: 0 0.34rem;
}

.cedge-shell-topbar__link:hover,
.cedge-shell-topbar__link:focus-visible,
.cedge-shell-topbar__group-trigger:hover,
.cedge-shell-topbar__group-trigger:focus-visible {
  border-color: rgba(var(--cedge-theme-primary-rgb), 0.55);
  color: var(--cedge-accent-strong);
  outline: none;
}

.cedge-shell-topbar__link--current,
.cedge-shell-topbar__group--current > .cedge-shell-topbar__group-trigger {
  border-color: var(--cedge-accent);
  color: var(--cedge-accent-strong);
}

.cedge-shell-topbar__group-link:hover,
.cedge-shell-topbar__group-link:focus-visible,
.cedge-shell-topbar__group-link.cedge-shell-topbar__link--current {
  color: #fff;
}

.cedge-shell-topbar__status-wrap {
  align-self: center;
  flex: 0 0 auto;
  grid-column: 1;
}

.cedge-shell-topbar__bug-report-wrap {
  align-self: center;
  grid-column: 2;
  justify-self: start;
}

.cedge-shell-topbar__bug-report {
  align-items: center;
  appearance: none;
  background: linear-gradient(180deg, rgba(var(--cedge-theme-accent-rgb), 0.18) 0%, rgba(var(--cedge-theme-accent-rgb), 0.3) 100%);
  border: 1px solid rgba(var(--cedge-theme-secondary-rgb), 0.24);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(var(--cedge-theme-secondary-rgb), 0.12);
  color: var(--cedge-heading);
  cursor: pointer;
  display: inline-flex;
  gap: 0.45rem;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  padding: 0.55rem 0.95rem;
  text-align: center;
}

.cedge-shell-topbar__bug-report:hover,
.cedge-shell-topbar__bug-report:focus-visible {
  border-color: rgba(var(--cedge-theme-primary-rgb), 0.34);
  box-shadow: 0 12px 24px rgba(var(--cedge-theme-primary-rgb), 0.16);
  outline: 2px solid rgba(var(--cedge-theme-primary-rgb), 0.22);
  outline-offset: 2px;
}

.cedge-shell-topbar__bug-icon {
  display: inline-flex;
  font-size: 1.05rem;
  line-height: 1;
}

.cedge-shell-topbar__bug-label,
.cedge-health-indicator__label--stacked {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  gap: 0.02rem;
  line-height: 1.05;
  text-align: center;
}

.cedge-shell-topbar__bug-label span,
.cedge-health-indicator__label--stacked span {
  display: block;
}

.cedge-shell-topbar__bug-label {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.cedge-shell-topbar__status {
  min-height: 0;
}

.cedge-shell-topbar__group--help > .cedge-shell-topbar__group-trigger {
  white-space: nowrap;
}

.cedge-shell-topbar__link--questions {
  justify-content: center;
  min-width: 0;
}

.cedge-skip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cedge-skip-links__link {
  background: #fff;
  border: 1px solid var(--cedge-border-strong);
  border-radius: 999px;
  color: var(--cedge-heading);
  left: -9999px;
  padding: 0.7rem 1rem;
  position: absolute;
  text-decoration: none;
  top: auto;
}

.cedge-skip-links__link:focus {
  box-shadow: 0 0 0 4px var(--cedge-focus-ring);
  left: auto;
  outline: none;
  position: relative;
}

.cedge-skip-links__link--inline {
  left: auto;
  position: relative;
}

.cedge-inline-help {
  border-bottom: 1px dotted rgba(20, 90, 180, 0.45);
  color: var(--cedge-link);
  cursor: help;
  display: inline-block;
  font-weight: 600;
  position: relative;
}

.cedge-inline-help:focus {
  outline: 2px solid rgba(20, 90, 180, 0.24);
  outline-offset: 2px;
}

.cedge-inline-help__tooltip {
  background: #17324f;
  border-radius: var(--cedge-radius-sm);
  box-shadow: var(--cedge-shadow-soft);
  color: #fff;
  font-size: 0.95rem;
  left: 0;
  max-width: min(34rem, calc(100vw - 4rem));
  opacity: 0;
  padding: 0.8rem 0.95rem;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  transform: translateY(0.2rem);
  transition: opacity 160ms ease, transform 160ms ease;
  width: max-content;
  z-index: 12;
}

.cedge-inline-help:hover .cedge-inline-help__tooltip,
.cedge-inline-help:focus .cedge-inline-help__tooltip {
  opacity: 1;
  transform: translateY(0);
}

.cedge-page-kicker,
.cedge-eyebrow,
.cedge-status-list__label,
.cedge-meta {
  color: var(--cedge-text-soft);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.cedge-page-title,
.cedge-title,
.cedge-section-title {
  color: var(--cedge-heading);
  font-family: var(--cedge-font-heading);
  line-height: 1.1;
  margin: 0;
}

.cedge-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.cedge-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin-bottom: 0.45rem;
}

.cedge-title--compact,
.cedge-section-title {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  margin-bottom: 0.5rem;
}

.cedge-page-lead,
.cedge-lead,
.cedge-support-copy,
.cedge-shell p,
.cedge-shell li,
.cedge-shell label,
.cedge-shell input,
.cedge-shell select,
.cedge-shell textarea,
.cedge-shell button {
  font-size: 1rem;
  line-height: 1.65;
}

.cedge-page-lead,
.cedge-lead {
  color: var(--cedge-text-soft);
  max-width: 64ch;
}

.cedge-stack > * + * {
  margin-top: 1rem;
}

.cedge-card {
  background: var(--cedge-surface);
  border: 1px solid var(--cedge-border);
  border-radius: var(--cedge-radius-lg);
  box-shadow: var(--cedge-shadow-soft);
  margin-bottom: 1rem;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.cedge-shell--pre-alpha-frame .cedge-card {
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(2px);
}

.cedge-card--soft {
  background: rgba(255, 253, 249, 0.96);
}

.cedge-question-explainer {
  position: relative;
  z-index: 3;
}

.cedge-questions-status {
  position: relative;
  z-index: 1;
}

.cedge-card--hero {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(244, 231, 214, 0.9));
}

.cedge-card--neutral {
  background: #f8f4ef;
}

.cedge-card--warning {
  background: var(--cedge-warning-soft);
  border-color: rgba(141, 91, 22, 0.28);
}

.cedge-card--empty {
  background: linear-gradient(180deg, #fffdfa 0%, #f7efe5 100%);
  text-align: left;
}

.cedge-card-copy > * + * {
  margin-top: 0.8rem;
}

.cedge-consent-details {
  overflow: hidden;
}

.cedge-consent-details__summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
}

.cedge-consent-details__summary::-webkit-details-marker {
  display: none;
}

.cedge-consent-details__summary-copy {
  min-width: 0;
}

.cedge-consent-details__body {
  margin-top: 1rem;
}

.cedge-start-here-intro {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.cedge-start-here-intro__headline {
  margin: 0;
}

.cedge-start-here-intro__toggle {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(244, 231, 214, 0.94));
  border: 0;
  color: var(--cedge-heading);
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 44px;
  padding: 1rem 1.25rem;
  text-align: left;
  width: 100%;
}

.cedge-start-here-intro__toggle:hover,
.cedge-start-here-intro__toggle:focus-visible {
  background: linear-gradient(135deg, rgba(255, 250, 243, 1), rgba(241, 225, 201, 0.98));
}

.cedge-start-here-intro__headline-text {
  display: block;
  flex: 1 1 auto;
  font-family: var(--cedge-font-heading);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
}

.cedge-start-here-intro__caret {
  border-bottom: 3px solid currentColor;
  border-right: 3px solid currentColor;
  display: inline-block;
  flex: 0 0 auto;
  height: 0.95rem;
  margin-right: 0.2rem;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  width: 0.95rem;
}

.cedge-start-here-intro.is-expanded .cedge-start-here-intro__caret {
  transform: rotate(225deg);
}

.cedge-start-here-intro__body {
  border-top: 1px solid rgba(141, 91, 22, 0.18);
  padding: 1.1rem 1.25rem 1.25rem;
}

.cedge-start-here-intro__body > *:first-child {
  margin-top: 0;
}

.cedge-start-here-intro__body > *:last-child {
  margin-bottom: 0;
}

.cedge-card-callout {
  margin-top: 1rem;
}

.cedge-status-strip,
.cedge-highlight-row,
.cedge-recommendation-card__header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cedge-status-strip__value,
.cedge-highlight-row__value {
  color: var(--cedge-heading);
  font-family: var(--cedge-font-heading);
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0;
}

.cedge-badge {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
}

.cedge-badge--good {
  background: var(--cedge-success-soft);
  border-color: rgba(34, 96, 74, 0.24);
  color: var(--cedge-success);
}

.cedge-badge--neutral {
  background: var(--cedge-accent-soft);
  border-color: rgba(162, 75, 42, 0.18);
  color: var(--cedge-accent-strong);
}

.cedge-membership-badge {
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 4px 12px rgba(28, 34, 38, 0.14);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.08em;
  line-height: 1;
  min-height: 0;
  padding: 0.18rem 0.65rem;
  text-transform: uppercase;
}

.cedge-membership-badge--premium {
    background: linear-gradient(135deg, #27b36a 0%, #0f7a47 100%);
}

.cedge-membership-badge--founder {
  background: linear-gradient(135deg, #e6a400 0%, #bf6d00 100%);
}

.cedge-profile-photo-stack {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  gap: 0;
}

.cedge-profile-photo-stack__badge {
  display: flex;
  justify-content: center;
  margin-top: -0.38rem;
  position: relative;
  width: auto;
  z-index: 1;
}

.cedge-status-list {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.cedge-status-list strong {
  color: var(--cedge-heading);
  display: block;
  font-size: 1.05rem;
}

.cedge-start-here-actions-block {
  margin-bottom: 1rem;
}

.cedge-start-here-actions-heading {
  margin-bottom: 0.75rem;
}

.cedge-start-here-actions-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.cedge-start-here-action-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cedge-start-here-action-card .cedge-card-copy {
  flex: 1 1 auto;
}

.cedge-start-here-action-card .cedge-actions {
  justify-content: center;
  margin-top: auto;
}

.cedge-start-here-action-card .cedge-button {
  min-width: min(100%, 220px);
}

.cedge-member-identity {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cedge-member-preview-trigger {
  align-items: inherit;
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  margin: 0;
  padding: 0;
  text-align: left;
}

.cedge-member-preview-trigger:hover .cedge-match-name__label,
.cedge-member-preview-trigger:focus-visible .cedge-match-name__label {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.cedge-member-preview-trigger:focus-visible {
  border-radius: var(--cedge-radius-sm);
  box-shadow: 0 0 0 4px rgba(162, 75, 42, 0.16);
  outline: none;
}

.cedge-profile-medals {
  display: grid;
  gap: 0.45rem;
}

.cedge-profile-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cedge-profile-header__photo {
  flex: 0 0 auto;
}

.cedge-profile-header__copy {
  flex: 1 1 220px;
}

.cedge-profile-photo__image,
.cedge-profile-photo-preview__image {
  border: 1px solid var(--cedge-border);
  border-radius: 20px;
  box-shadow: var(--cedge-shadow-soft);
  display: block;
  height: 120px;
  object-fit: cover;
  width: 120px;
}

.cedge-profile-photo__placeholder {
  align-items: center;
  background: linear-gradient(145deg, #f5efe5 0%, #d9e7f2 100%);
  border: 1px dashed var(--cedge-border-strong);
  border-radius: 20px;
  box-shadow: var(--cedge-shadow-soft);
  color: var(--cedge-text-soft);
  display: flex;
  height: 120px;
  justify-content: center;
  overflow: hidden;
  width: 120px;
}

.cedge-profile-photo__placeholder-art {
  display: block;
  height: 100%;
  width: 100%;
}

.cedge-profile-photo-field {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cedge-profile-photo-field__preview {
  flex: 0 0 auto;
}

.cedge-profile-photo-field__controls {
  flex: 1 1 260px;
}

.cedge-profile-photo-preview__placeholder {
  align-items: center;
  background: linear-gradient(180deg, #fffdfa 0%, #f1e5d7 100%);
  border: 1px dashed var(--cedge-border-strong);
  border-radius: 20px;
  color: var(--cedge-text-soft);
  display: flex;
  font-size: 0.95rem;
  height: 120px;
  justify-content: center;
  padding: 0.75rem;
  text-align: center;
  width: 120px;
}

.cedge-button--file {
  cursor: pointer;
  display: inline-flex;
}

.cedge-input--file {
  height: 1px;
  left: -9999px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.cedge-modal {
  inset: 0;
  position: fixed;
  z-index: 9999;
}

.cedge-modal[hidden] {
  display: none;
}

.cedge-modal__backdrop {
  background: rgba(31, 25, 20, 0.64);
  inset: 0;
  position: absolute;
}

.cedge-modal__dialog {
  background: var(--cedge-surface);
  border: 1px solid var(--cedge-border);
  border-radius: var(--cedge-radius-lg);
  box-shadow: var(--cedge-shadow-soft);
  inset: 50% auto auto 50%;
  max-height: min(88vh, 920px);
  overflow: auto;
  position: absolute;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100vw - 2rem));
}

.cedge-modal__header {
  align-items: center;
  border-bottom: 1px solid var(--cedge-border);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

.cedge-modal__header h2 {
  margin: 0;
}

.cedge-modal__close {
  appearance: none;
  background: none;
  border: 0;
  color: var(--cedge-heading);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
}

.cedge-modal__body {
  padding: 1.25rem;
}

.cedge-modal__dialog--bug-report {
  width: min(780px, calc(100vw - 2rem));
}

.cedge-modal__dialog--guest-auth {
  width: min(560px, calc(100vw - 2rem));
}

.cedge-page-header--guest-profile {
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cedge-page-header__actions--guest-profile {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: auto;
}

.cedge-page-lead--guest-profile {
  margin: 0;
}

.cedge-guest-auth {
  display: grid;
  gap: 18px;
}

.cedge-guest-auth__form {
  display: grid;
  gap: 12px;
}

.cedge-guest-auth__checkbox {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.cedge-guest-auth__divider {
  align-items: center;
  color: var(--cedge-color-text-muted, #5b6470);
  display: flex;
  gap: 12px;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.cedge-guest-auth__divider::before,
.cedge-guest-auth__divider::after {
  background: rgba(0, 0, 0, 0.12);
  content: '';
  flex: 1 1 auto;
  height: 1px;
}

.cedge-guest-auth__status {
  margin: 0;
}

.cedge-bug-report-form {
  display: grid;
  gap: 0.9rem;
}

.cedge-bug-report-list {
  display: grid;
  gap: 1rem;
}

.cedge-bug-report-card {
  display: grid;
  gap: 1rem;
}

.cedge-bug-report-card__header {
  align-items: start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: space-between;
}

.cedge-bug-report-card__meta {
  align-items: end;
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.cedge-bug-report-card__copy {
  color: var(--cedge-copy);
}

.cedge-bug-report-card__screenshot {
  display: grid;
  gap: 0.5rem;
}

.cedge-bug-report-card__image {
  border: 1px solid var(--cedge-border);
  border-radius: var(--cedge-radius-md);
  display: block;
  height: auto;
  max-width: min(100%, 520px);
}

.cedge-bug-report-card__admin-note {
  margin-top: 0.25rem;
}

.cedge-pill.cedge-pill--status-submitted {
  background: #fff1bf;
  color: #7a4f00;
}

.cedge-pill.cedge-pill--status-reviewed {
  background: #dcecff;
  color: #184f99;
}

.cedge-pill.cedge-pill--status-resolved {
  background: #d9f5df;
  color: #1f6b34;
}

.cedge-pill.cedge-pill--status-dismissed {
  background: #efefef;
  color: #4b5563;
}

.cedge-member-preview {
  display: grid;
  gap: 1rem;
}

.cedge-member-preview__header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cedge-member-preview__photo {
  flex: 0 0 auto;
}

.cedge-member-preview__copy {
  min-width: 0;
}

.cedge-member-preview__details > * + * {
  margin-top: 0.6rem;
}

.cedge-quickconnect-card__content {
  gap: 0.6rem;
  margin: 0 auto;
  max-width: 52rem;
}

.cedge-quickconnect-card__decision-block {
  margin-top: 0.25rem;
}

.cedge-quickconnect-card__decision-meta,
.cedge-quickconnect-card__queue-meta {
  margin-bottom: 0;
  margin-top: 0.75rem;
}

.cedge-quickconnect-card__header {
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.cedge-quickconnect-card__header .cedge-member-preview__copy {
  flex: 1 1 0;
}

.cedge-quickconnect-card__header .cedge-member-preview__photo img,
.cedge-quickconnect-card__header .cedge-profile-photo__placeholder {
  border-radius: 18px;
  height: 108px;
  width: 108px;
}

.cedge-quickconnect-card__header .cedge-title {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1.08;
  margin-bottom: 0.15rem;
}

.cedge-quickconnect-card__match-summary {
  border-top: 1px solid var(--cedge-border);
  margin-top: 0.2rem;
  padding-top: 0.45rem;
}

.cedge-quickconnect-card__match-percentage {
  color: var(--cedge-heading);
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

.cedge-quickconnect-card__match-row {
  align-items: baseline;
  display: grid;
  gap: 0.15rem 0.8rem;
  grid-template-columns: auto 1fr;
}

.cedge-quickconnect-card__match-copy {
  margin: 0;
}

.cedge-quickconnect-card__details {
  margin-top: -0.2rem;
}

.cedge-quickconnect-card__details p {
  line-height: 1.45;
  margin: 0;
}

.cedge-quickconnect-card__details > * + * {
  margin-top: 0.4rem;
}

.cedge-quickconnect-card__reason-inline {
  margin-bottom: 0;
  margin-top: 0;
}

.cedge-quickconnect-card__medals {
  border-bottom: 1px solid var(--cedge-border);
  margin-top: 0.05rem;
  padding-bottom: 0.85rem;
}

.cedge-quickconnect-card__medals .cedge-medals {
  gap: 0.5rem;
}

.cedge-quickconnect-card__medals .cedge-medals--medium .cedge-medal,
.cedge-quickconnect-card__medals .cedge-medals--medium .cedge-medal-overflow {
  border-radius: 18px;
  min-height: 75px;
  min-width: 75px;
}

.cedge-quickconnect-card__medals .cedge-medals--medium .cedge-medal img {
  border-radius: 18px;
  height: 75px;
  width: 75px;
}

.cedge-quickconnect-card__conversation-starter {
  margin-top: 0.15rem;
}

.cedge-quickconnect-card__queue-summary {
  margin-top: 0;
}

@media (max-width: 640px) {
  .cedge-quickconnect-card__header {
    flex-wrap: wrap;
  }

  .cedge-quickconnect-card__match-row {
    grid-template-columns: 1fr;
  }
}

.cedge-quickconnect-card__actions .cedge-form {
  margin: 0;
}

body.cedge-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .cedge-mobile-alpha-notice {
    display: block;
  }

  .cedge-page-greeting {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .cedge-modal__dialog {
    max-height: calc(100vh - 1.5rem);
    width: calc(100vw - 1rem);
  }

  .cedge-page-header--guest-profile {
    flex-direction: column;
  }

  .cedge-page-header__actions--guest-profile {
    margin-left: 0;
    width: 100%;
  }

  .cedge-modal__header,
  .cedge-modal__body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cedge-magic-link-form__row {
    flex-direction: column;
  }

  .cedge-shell-topbar {
    align-items: stretch;
    background: rgba(var(--cedge-theme-secondary-rgb), 0.04);
    border: 1px solid var(--cedge-border-strong);
    border-radius: 24px;
    box-shadow: var(--cedge-shadow-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: space-between;
    padding: 0.5rem;
  }

  .cedge-shell-topbar__hello-wrap {
    order: 0;
  }

  .cedge-shell-topbar__bug-report-wrap {
    order: 1;
  }

  .cedge-shell-topbar__notifications-wrap {
    order: 2;
  }

  .cedge-shell-topbar__toggle {
    display: inline-flex;
    order: 3;
  }

  .cedge-shell-topbar__panel {
    display: none;
    flex-basis: 100%;
    order: 4;
  }

  .cedge-shell-topbar__notifications-panel {
    right: auto;
    width: min(360px, calc(100vw - 3rem));
  }

  .cedge-shell-topbar__panel.is-open {
    display: block;
  }

  .cedge-shell-topbar__links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
  }

  .cedge-shell-topbar__link,
  .cedge-shell-topbar__group-trigger {
    background: var(--cedge-surface);
    border-color: var(--cedge-border);
    border-radius: 16px;
    min-height: 42px;
    padding: 0.6rem 0.8rem;
    text-align: left;
  }

  .cedge-shell-topbar__link--prominent {
    justify-content: center;
    min-height: 46px;
    text-align: center;
  }

  .cedge-shell-topbar__group {
    width: 100%;
  }

  .cedge-shell-topbar__group-menu {
    box-shadow: none;
    left: auto;
    min-width: 0;
    padding: 0.35rem 0 0 0.85rem;
    position: static;
    top: auto;
  }

  .cedge-shell-topbar__group-link {
    background: var(--cedge-surface);
    border: 1px solid var(--cedge-border);
    min-height: 40px;
  }

  .cedge-shell-topbar__status {
    min-width: 44px;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .cedge-shell-topbar__status .cedge-health-indicator__label {
    display: none;
  }

  .cedge-share-card__link-row {
    align-items: stretch;
    flex-direction: column;
  }

  .cedge-share-card__input {
    width: 100%;
  }

  .cedge-bug-report-card__header,
  .cedge-bug-report-card__meta {
    justify-items: start;
  }
}

.cedge-medals {
  align-items: flex-start;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cedge-medal,
.cedge-medal-overflow {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--cedge-shadow-soft);
  color: var(--cedge-heading);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
  min-height: 75px;
  min-width: 75px;
  overflow: visible;
  padding: 0;
}

.cedge-medal {
  cursor: default;
  position: relative;
}

.cedge-medal img {
  border-radius: 18px;
  display: block;
  flex: 0 0 auto;
  height: 75px;
  object-fit: cover;
  width: 75px;
}

.cedge-medal:focus {
  outline: 2px solid rgba(162, 75, 42, 0.5);
  outline-offset: 3px;
}

.cedge-medal-overflow {
  background: #fff8ee;
  border: 1px dashed rgba(162, 75, 42, 0.32);
}

.cedge-medal__meta {
  display: none;
}

.cedge-medals--small .cedge-medal,
.cedge-medals--small .cedge-medal-overflow,
.cedge-medals--medium .cedge-medal,
.cedge-medals--medium .cedge-medal-overflow {
  border-radius: 18px;
  min-height: 75px;
  min-width: 75px;
}

.cedge-medals--small .cedge-medal img,
.cedge-medals--medium .cedge-medal img {
  border-radius: 18px;
  height: 75px;
  width: 75px;
}

.cedge-medal__tooltip {
  background: rgba(34, 24, 17, 0.96);
  border-radius: 14px;
  bottom: calc(100% + 10px);
  box-shadow: 0 18px 36px rgba(34, 24, 17, 0.24);
  color: #fffdf9;
  display: grid;
  gap: 0.25rem;
  left: 50%;
  max-width: 16rem;
  opacity: 0;
  padding: 0.75rem 0.9rem;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 140ms ease, transform 140ms ease;
  visibility: hidden;
  width: max-content;
  z-index: 20;
}

.cedge-medal__tooltip::after {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(34, 24, 17, 0.96);
  content: "";
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
}

.cedge-medal__tooltip-name {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.cedge-medal__tooltip-description {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.35;
}

.cedge-medal:hover .cedge-medal__tooltip,
.cedge-medal:focus-within .cedge-medal__tooltip,
.cedge-medal:focus .cedge-medal__tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

.cedge-medals--large .cedge-medal,
.cedge-medals--large .cedge-medal-overflow {
  border-radius: 28px;
  min-height: 150px;
  min-width: 150px;
}

.cedge-medals--large .cedge-medal img {
  border-radius: 28px;
  height: 150px;
  width: 150px;
}

.cedge-medals-empty {
  color: var(--cedge-text-soft);
  margin: 0;
}

.cedge-form,
.cedge-question-form {
  position: relative;
}

.cedge-form--stacked {
  display: block;
}

.cedge-recommendation-feedback-form {
  display: grid;
  gap: 0.55rem;
  max-width: 26rem;
}

.cedge-recommendation-feedback-form .cedge-button {
  justify-self: start;
}

.cedge-form--inline {
  display: inline-flex;
}

.cedge-form-grid,
.cedge-duo-grid {
  display: grid;
  gap: 1rem 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cedge-shell-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
}

.cedge-shell-layout__sidebar,
.cedge-shell-layout__main,
.cedge-messages-layout__sidebar,
.cedge-messages-layout__main {
  min-width: 0;
}

.cedge-messages-layout {
  --cedge-messages-panel-height: clamp(34rem, 72vh, 46rem);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.cedge-messages-layout__sidebar {
  display: flex;
  flex-direction: column;
  height: var(--cedge-messages-panel-height);
  min-height: 0;
  overflow: hidden;
  padding: 0;
  scrollbar-gutter: stable;
}

[data-cedge-thread-sidebar="true"] {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.cedge-messages-thread-toolbar {
  background: rgba(var(--cedge-theme-secondary-rgb), 0.04);
  border-bottom: 1px solid var(--cedge-border);
  flex: 0 0 auto;
  padding-top: 0.15rem;
}

.cedge-messages-thread-tools {
  padding: 0.75rem 0.85rem 0;
}

.cedge-messages-thread-search {
  width: 100%;
}

.cedge-messages-refresh-button {
  white-space: nowrap;
}

.cedge-messages-refresh-status {
  margin: 0 0 0.85rem;
  min-height: 1.35em;
  padding: 0 0.85rem;
}

.cedge-messages-thread-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cedge-messages-thread-list {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 0;
  overflow: visible;
  padding: 0.55rem;
}

.cedge-messages-search-empty,
.cedge-messages-empty-sidebar {
  margin: 0.55rem;
}

.cedge-message-panel {
  display: flex;
  flex-direction: column;
  height: var(--cedge-messages-panel-height);
  min-height: 0;
  overflow: hidden;
}

.cedge-message-panel__header {
  border-bottom: 1px solid rgba(220, 207, 190, 0.8);
  margin: -1.5rem -1.5rem 0;
  padding: 1rem 1.15rem;
}

.cedge-message-panel__back {
  display: none;
}

.cedge-message-thread-head {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  justify-content: space-between;
}

.cedge-message-thread-head__identity {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  min-width: 0;
}

.cedge-message-thread-head__copy {
  min-width: 0;
}

.cedge-message-thread-head__title {
  color: var(--cedge-heading);
  font-family: var(--cedge-font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.cedge-message-thread-head__title .cedge-member-preview-trigger {
  display: inline-flex;
  max-width: 100%;
}

.cedge-message-thread-head__title-text {
  display: inline-block;
}

.cedge-message-thread-head__meta {
  color: var(--cedge-text-soft);
  font-size: 0.92rem;
  margin: 0.16rem 0 0;
}

.cedge-message-thread-head__help {
  flex: 0 1 280px;
  margin: 0;
  text-align: right;
}

.cedge-message-panel__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
  overflow: hidden;
  padding-top: 1rem;
}

.cedge-field--full {
  grid-column: 1 / -1;
}

.cedge-field [hidden] {
  display: none !important;
}

.cedge-field--location {
  justify-self: start;
  max-width: 32rem;
  width: 100%;
}

.cedge-field--location-compact {
  max-width: 20rem;
}

.cedge-location-region-control {
  width: 100%;
}

.cedge-label {
  color: var(--cedge-heading);
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.cedge-label__required {
  color: #b33a3a;
  display: inline-block;
  font-weight: 700;
  margin-left: 0.25rem;
}

.cedge-input,
.cedge-textarea,
.cedge-select {
  appearance: none;
  background: var(--cedge-surface-strong);
  border: 1px solid var(--cedge-border-strong);
  border-radius: var(--cedge-radius-md);
  color: var(--cedge-text);
  display: block;
  min-height: 44px;
  padding: 0.72rem 0.88rem;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
  width: 100%;
}

.cedge-textarea {
  min-height: 124px;
  resize: vertical;
}

.cedge-textarea--compact {
  min-height: 96px;
}

.cedge-input:focus,
.cedge-textarea:focus,
.cedge-select:focus,
.cedge-button:focus,
.cedge-choice-card__input:focus + .cedge-choice-card__body,
.cedge-pill-option__input:focus + .cedge-pill-option__label,
.cedge-check input:focus + span,
.cedge-check input:focus-visible + span {
  box-shadow: 0 0 0 4px var(--cedge-focus-ring);
  outline: none;
}

.cedge-check,
.cedge-check-card {
  align-items: start;
  display: flex;
  gap: 0.75rem;
}

.cedge-check {
  cursor: pointer;
}

.cedge-check input {
  accent-color: var(--cedge-accent);
  margin-top: 0.35rem;
  min-height: 20px;
  min-width: 20px;
}

.cedge-check__label {
  color: var(--cedge-heading);
  font-weight: 600;
}

.cedge-actions {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.cedge-actions .cedge-form {
  margin: 0;
}

.cedge-member-nav__actions {
  align-items: stretch;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.cedge-member-nav__actions .cedge-button {
  min-width: 0;
  width: 100%;
  white-space: normal;
}

.cedge-actions--wrap {
  flex-wrap: wrap;
}

.cedge-login-options {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.cedge-password-login-form {
  border-top: 1px solid var(--cedge-border);
  padding-top: 1rem;
}

.cedge-password-login-form__label {
  color: var(--cedge-heading);
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cedge-password-login-form__row {
  align-items: stretch;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
}

.cedge-password-login-form__remember {
  align-items: center;
  color: var(--cedge-text-soft);
  display: inline-flex;
  font-size: 0.9rem;
  gap: 0.35rem;
  white-space: nowrap;
}

.cedge-magic-link-form {
  border-top: 1px solid var(--cedge-border);
  padding-top: 1rem;
}

.cedge-magic-link-form__label {
  color: var(--cedge-heading);
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cedge-magic-link-form__row {
  align-items: stretch;
  display: flex;
  gap: 0.65rem;
}

.cedge-magic-link-form__input {
  flex: 1 1 16rem;
}

.cedge-magic-link-form__help {
  color: var(--cedge-text-soft);
  font-size: 0.9rem;
  margin: 0.55rem 0 0;
}

.login form .cedge-magic-link-form,
#loginform .cedge-magic-link-form {
  border-top: 1px solid #dcdcde;
  margin-top: 1rem;
  padding-top: 1rem;
}

@media (max-width: 760px) {
  .cedge-password-login-form__row {
    grid-template-columns: 1fr;
  }

  .cedge-password-login-form__remember {
    justify-content: flex-start;
  }
}

.cedge-dashboard-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cedge-dashboard-card--full {
  grid-column: 1 / -1;
}

.cedge-share-card__link-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cedge-share-card__input {
  flex: 1 1 26rem;
  min-width: 14rem;
}

.cedge-shell--member-profile-share .cedge-page-header {
  align-items: flex-start;
}

.cedge-shell--member-profile-share .cedge-actions {
  margin-top: 1rem;
}

.cedge-dashboard-pref-list {
  display: grid;
  gap: 12px;
}

.cedge-dashboard-pref {
  border: 1px solid rgba(var(--cedge-theme-primary-rgb), 0.14);
  border-radius: 16px;
  background: rgba(var(--cedge-theme-primary-rgb), 0.06);
  padding: 14px 16px;
}

.cedge-dashboard-membership {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cedge-dashboard-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 14px;
}

.cedge-dashboard-stat {
  border: 1px solid rgba(var(--cedge-theme-primary-rgb), 0.14);
  border-radius: 16px;
  background: rgba(var(--cedge-theme-primary-rgb), 0.06);
  padding: 16px;
}

.cedge-dashboard-stat__value {
  margin: 0 0 4px;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.cedge-button {
  align-items: center;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  gap: 0.35rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.25;
  min-height: 46px;
  min-width: 44px;
  padding: 0.72rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.cedge-button:hover:not([disabled]) {
  transform: translateY(-1px);
}

.cedge-button[disabled],
.cedge-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.65;
}

.cedge-button--primary {
  background: var(--cedge-accent);
  box-shadow: var(--cedge-shadow-soft);
  color: #fff;
}

.cedge-button--success {
  background: var(--cedge-success);
  border-color: rgba(34, 96, 74, 0.28);
  box-shadow: var(--cedge-shadow-soft);
  color: #fff;
}

.cedge-button--secondary {
  background: var(--cedge-surface);
  border-color: var(--cedge-border-strong);
  color: var(--cedge-heading);
}

.cedge-button--danger {
  background: var(--cedge-danger-soft);
  border-color: rgba(141, 47, 47, 0.2);
  color: var(--cedge-danger);
}

.cedge-choice-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cedge-choice-card,
.cedge-pill-option {
  cursor: pointer;
  display: block;
}

.cedge-choice-card__input,
.cedge-pill-option__input {
  left: -9999px;
  position: absolute;
}

.cedge-health-indicator {
  align-items: center;
  background: #fff;
  border: 1px solid var(--cedge-border-strong);
  border-radius: 999px;
  color: var(--cedge-heading);
  display: inline-flex;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 1rem;
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  position: sticky;
  text-decoration: none;
  top: 1rem;
  z-index: 4;
}

.cedge-shell-topbar__status {
  margin-bottom: 0;
  position: static;
  top: auto;
  white-space: normal;
}

.cedge-health-indicator__dot {
  animation: cedgeHealthPulse 1.8s ease-in-out infinite;
  border-radius: 999px;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.cedge-health-indicator__label {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cedge-health-green {
  background: #fff;
  color: var(--cedge-heading);
}

.cedge-health-green .cedge-health-indicator__dot,
.cedge-health-green .cedge-geek-chart__bar {
  background: var(--cedge-success);
}

.cedge-health-yellow {
  background: #fff;
  color: var(--cedge-heading);
}

.cedge-health-yellow .cedge-health-indicator__dot,
.cedge-health-yellow .cedge-geek-chart__bar {
  background: var(--cedge-warning);
}

.cedge-health-red {
  background: #fff;
  color: var(--cedge-heading);
}

.cedge-health-red .cedge-health-indicator__dot,
.cedge-health-red .cedge-geek-chart__bar {
  background: var(--cedge-danger);
}

.cedge-geek-panel__section,
.cedge-geek-panel__meta {
  margin-bottom: 1rem;
}

.cedge-geek-status {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
}

.cedge-geek-chart {
  align-items: end;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  min-height: 180px;
}

.cedge-geek-chart__column {
  border-radius: 14px 14px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 180px;
  overflow: hidden;
}

.cedge-geek-chart__bar {
  border-radius: 14px 14px 0 0;
  min-height: 6px;
  width: 100%;
}

.cedge-geek-chart__label {
  color: var(--cedge-text-soft);
  font-size: 0.72rem;
  line-height: 1.3;
  padding-top: 0.35rem;
  text-align: center;
}

.cedge-geek-leaderboard__list {
  display: grid;
  gap: 0.55rem;
  list-style: decimal;
  margin: 0;
  padding-left: 1.25rem;
}

.cedge-geek-leaderboard__list li {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

@keyframes cedgeHealthPulse {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.28);
  }

  100% {
    opacity: 0.55;
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  .cedge-geek-chart {
    gap: 0.3rem;
  }

  .cedge-geek-chart__label {
    font-size: 0.62rem;
  }

  .cedge-health-indicator {
    margin-left: auto;
  }
}

@media (min-width: 820px) {
  .cedge-start-here-actions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cedge-choice-card__body,
.cedge-pill-option__label {
  align-items: center;
  background: #fff;
  border: 2px solid var(--cedge-border);
  border-radius: var(--cedge-radius-md);
  display: flex;
  gap: 0.9rem;
  transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.cedge-choice-card__body {
  min-height: 64px;
  padding: 0.95rem 1rem;
}

.cedge-pill-option__label {
  justify-content: center;
  min-height: 0;
  min-width: 0;
  padding: 0.36rem 0.8rem;
  text-align: center;
  white-space: nowrap;
}

.cedge-choice-card__input:checked + .cedge-choice-card__body,
.cedge-pill-option__input:checked + .cedge-pill-option__label {
  background: #fff2e9;
  border-color: var(--cedge-accent-strong);
  box-shadow: 0 0 0 3px rgba(var(--cedge-theme-primary-rgb), 0.18), 0 14px 28px rgba(162, 75, 42, 0.12);
  transform: translateY(-1px);
}

.cedge-choice-card__input:checked + .cedge-choice-card__body .cedge-choice-card__value {
  background: var(--cedge-accent-strong);
}

.cedge-choice-card__value {
  align-items: center;
  background: var(--cedge-accent-soft);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  min-width: 36px;
}

.cedge-choice-card__label {
  color: var(--cedge-heading);
  font-weight: 600;
}

.cedge-question-section + .cedge-question-section {
  border-top: 1px solid rgba(220, 207, 190, 0.75);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.cedge-question-validation-notice {
  margin-bottom: 0.9rem;
}

.cedge-question-section.is-invalid .cedge-choice-grid--checks {
  border-left: 4px solid var(--cedge-danger);
  padding-left: 0.85rem;
}

.cedge-stack--page-intro {
  margin-bottom: 1rem;
}

.cedge-question-shortcuts {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.cedge-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cedge-pill-group--compact .cedge-pill-option__label {
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(120, 96, 71, 0.06);
  min-width: 0;
}

.cedge-questions-status__actions {
  align-items: stretch;
}

.cedge-questions-status__actions .cedge-button {
  justify-content: center;
}

.cedge-progress {
  background: rgba(100, 88, 75, 0.12);
  border-radius: 999px;
  height: 12px;
  margin: 0.85rem 0 0;
  overflow: hidden;
}

.cedge-progress__bar {
  background: linear-gradient(90deg, #e08f62 0%, #a24b2a 100%);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.cedge-notice {
  border-radius: var(--cedge-radius-md);
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
}

.cedge-notice p {
  margin: 0;
}

.cedge-notice-success {
  background: var(--cedge-success-soft);
  border: 1px solid rgba(34, 96, 74, 0.22);
  color: var(--cedge-success);
}

.cedge-notice-error {
  background: var(--cedge-danger-soft);
  border: 1px solid rgba(141, 47, 47, 0.2);
  color: var(--cedge-danger);
}

.cedge-recommendation-card__details {
  margin-top: 1rem;
}

.cedge-recommendation-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cedge-recommendation-card {
  margin-bottom: 0;
  overflow: hidden;
}

.cedge-recommendation-card__toggle {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--cedge-heading);
  cursor: pointer;
  display: flex;
  font: inherit;
  justify-content: space-between;
  margin: -1.5rem;
  padding: 1rem 1.25rem;
  text-align: left;
  width: calc(100% + 3rem);
}

.cedge-recommendation-card__toggle:focus {
  box-shadow: inset 0 0 0 4px rgba(162, 75, 42, 0.16);
  outline: none;
}

.cedge-recommendation-card__toggle-name {
  font-family: var(--cedge-font-heading);
  font-size: 1.15rem;
  line-height: 1.2;
}

.cedge-match-name {
  align-items: baseline;
  display: inline-flex;
  flex-wrap: wrap;
}

.cedge-match-name__metric {
  color: var(--cedge-text-soft);
  display: inline-block;
  font-family: inherit;
  font-size: 0.95em;
  white-space: nowrap;
}

.cedge-screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.cedge-recommendation-card__toggle-icon {
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  height: 10px;
  margin-left: 1rem;
  transform: rotate(45deg);
  transition: transform 120ms ease;
  width: 10px;
}

.cedge-recommendation-card.is-expanded .cedge-recommendation-card__toggle {
  display: none;
}

.cedge-recommendation-card.is-collapsed {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.cedge-recommendation-card.is-collapsed .cedge-recommendation-card__toggle {
  background: #fff;
  border: 1px solid var(--cedge-border-strong);
  border-radius: 999px;
  box-shadow: var(--cedge-shadow-soft);
  margin: 0;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  width: 100%;
}

.cedge-recommendation-card.is-collapsed .cedge-recommendation-card__toggle:hover {
  background: #fff6f0;
  border-color: var(--cedge-accent);
}

.cedge-recommendation-card.is-expanded .cedge-recommendation-card__toggle-icon {
  transform: rotate(-135deg);
}

.cedge-connection-request-card {
  margin-bottom: 1rem;
}

.cedge-connection-request-card {
  padding: 0.65rem 0.85rem;
}

.cedge-connection-request-card[open] {
  background: rgba(255, 253, 249, 0.98);
}

.cedge-connection-request-card__summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
  list-style: none;
  min-height: 60px;
}

.cedge-connection-request-card__summary::-webkit-details-marker {
  display: none;
}

.cedge-connection-request-card__summary-copy {
  min-width: 0;
}

.cedge-connection-request-card__name {
  font-size: 1rem;
  line-height: 1.1;
  margin: 0;
}

.cedge-connection-request-card__source {
  color: var(--cedge-text-soft);
  display: inline-flex;
  font-size: 0.76rem;
  line-height: 1.1;
}

.cedge-connection-request-card__summary-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.12rem;

.cedge-pill-group--compact {
  gap: 0.45rem;
}
}

.cedge-connection-request-card__match {
  color: var(--cedge-heading);
  font-family: var(--cedge-font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.cedge-connection-request-card__summary .cedge-badge {
  font-size: 0.82rem;
  min-height: 28px;
  padding: 0.18rem 0.55rem;
}

.cedge-connection-request-card__medals {
  justify-self: end;
}

.cedge-connection-request-card__medals .cedge-medals {
  gap: 0.25rem;
  justify-content: flex-end;
}

.cedge-connection-request-card__medals .cedge-medals--medium .cedge-medal,
.cedge-connection-request-card__medals .cedge-medals--medium .cedge-medal-overflow {
  border-radius: 16px;
  min-height: 75px;
  min-width: 75px;
}

.cedge-connection-request-card__medals .cedge-medals--medium .cedge-medal img {
  border-radius: 16px;
  height: 75px;
  width: 75px;
}

.cedge-connection-request-card__summary-icon {
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--cedge-heading);
  display: inline-block;
  height: 10px;
  transform: rotate(45deg);
  transition: transform 120ms ease;
  width: 10px;
}

.cedge-connection-request-card[open] .cedge-connection-request-card__summary-icon {
  transform: rotate(-135deg);
}

.cedge-connection-request-card__panel {
  border-top: 1px solid var(--cedge-border);
  margin-top: 0.85rem;
  padding-top: 1rem;
}

.cedge-connection-request-card__actions {
  margin-top: 1rem;
}

@media (max-width: 820px) {
  .cedge-connection-request-card__summary {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cedge-connection-request-card__medals {
    justify-self: start;
  }

  .cedge-connection-request-card__medals .cedge-medals {
    justify-content: flex-start;
  }

  .cedge-connection-request-card__summary-icon {
    justify-self: end;
  }
}

.cedge-thread-card-wrap {
  min-height: 4.625rem;
  position: relative;
}

.cedge-thread-card {
  background: #fff;
  border: 1px solid transparent;
  border-radius: 18px;
  color: var(--cedge-text);
  display: block;
  min-height: 4.625rem;
  padding: 0.75rem 5.25rem 0.75rem 0.85rem;
  text-decoration: none;
}

.cedge-thread-card:hover,
.cedge-thread-card:focus-visible {
  background: #fbf6f1;
  border-color: rgba(162, 75, 42, 0.22);
  outline: none;
}

.cedge-thread-card--active {
  background: #fff1e7;
  border-color: rgba(162, 75, 42, 0.35);
}

.cedge-thread-card--pinned {
  border-color: rgba(162, 75, 42, 0.26);
}

.cedge-thread-card__row {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.cedge-thread-card__content {
  flex: 1;
  min-width: 0;
}

.cedge-thread-card__summary {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  min-width: 0;
}

.cedge-thread-card__name {
  color: var(--cedge-heading);
  flex: 0 1 auto;
  font-size: 0.98rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cedge-thread-card__match {
  color: var(--cedge-text-soft);
  flex: 0 0 auto;
  font-size: 0.84rem;
  font-weight: 700;
}

.cedge-thread-card__pinned-label {
  background: #f8e5d8;
  border: 1px solid rgba(162, 75, 42, 0.2);
  border-radius: 999px;
  color: var(--cedge-heading);
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.22rem 0.42rem;
}

.cedge-thread-card__count {
  align-items: center;
  background: var(--cedge-accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  height: 1.25rem;
  justify-content: center;
  min-width: 1.25rem;
  padding: 0 0.3rem;
}

.cedge-thread-card__preview,
.cedge-message-bubble__meta {
  color: var(--cedge-text-soft);
  display: block;
  font-size: 0.88rem;
  line-height: 1.4;
  margin-top: 0.18rem;
}

.cedge-thread-card__preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cedge-thread-card__preview--theirs {
  color: #6f3ea8;
}

.cedge-thread-card__preview--mine {
  color: var(--cedge-success);
}

.cedge-thread-card--unread .cedge-thread-card__name,
.cedge-thread-card--unread .cedge-thread-card__preview {
  font-weight: 700;
}

.cedge-thread-card__actions {
  align-items: center;
  display: flex;
  gap: 0.25rem;
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.cedge-thread-card__action {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--cedge-text-soft);
  cursor: pointer;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  padding: 0;
  width: 2rem;
}

.cedge-thread-card__action svg {
  display: block;
  flex: 0 0 auto;
  height: 1.125rem;
  width: 1.125rem;
}

.cedge-thread-card__action:hover,
.cedge-thread-card__action:focus-visible {
  background: #fff7ef;
  border-color: rgba(162, 75, 42, 0.24);
  color: var(--cedge-heading);
  outline: none;
}

.cedge-thread-card__action:focus-visible {
  box-shadow: 0 0 0 2px rgba(162, 75, 42, 0.24);
}

.cedge-thread-card__action.is-active {
  background: var(--cedge-accent);
  color: #fff;
}

.cedge-thread-card__action:disabled {
  cursor: progress;
  opacity: 0.55;
}

.cedge-message-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--cedge-accent-soft) 0%, var(--cedge-success-soft) 100%);
  border-radius: 999px;
  color: var(--cedge-heading);
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  overflow: hidden;
}

.cedge-message-avatar--compact {
  height: 48px;
  width: 48px;
}

.cedge-message-avatar--large {
  height: 56px;
  width: 56px;
}

.cedge-message-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cedge-message-avatar__fallback {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cedge-message-list {
  background: var(--cedge-surface);
  border-radius: 20px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 0;
  overflow-y: auto;
  padding: 0.8rem 0.7rem 0.25rem;
}

.cedge-message-list:focus {
  box-shadow: 0 0 0 4px var(--cedge-focus-ring);
  outline: none;
}

.cedge-message-list__latest-anchor {
  display: block;
  min-height: 1px;
}

.cedge-message-pagination {
  margin-top: 0;
}

.cedge-message-bubble {
  background: #fff;
  border: 3px solid var(--cedge-border);
  border-radius: 16px;
  color: var(--cedge-text);
  max-width: 85%;
  padding: 0.58rem 0.75rem;
}

.cedge-message-bubble p {
  margin: 0.2rem 0 0;
}

.cedge-message-bubble--mine {
  align-self: flex-end;
  border-color: rgba(var(--cedge-theme-primary-rgb), 0.55);
}

.cedge-message-bubble--theirs {
  align-self: flex-start;
  border-color: rgba(var(--cedge-theme-secondary-rgb), 0.5);
}

.cedge-message-bubble--system {
  align-self: center;
  border-color: rgba(var(--cedge-theme-accent-rgb), 0.55);
  max-width: min(90%, 34rem);
  text-align: center;
}

.cedge-message-bubble--concierge-intro {
  align-self: stretch;
  max-width: 100%;
  padding: 1rem 1.15rem;
  text-align: left;
}

.cedge-message-bubble__report {
  font-size: 0.97rem;
  line-height: 1.62;
}

.cedge-message-bubble__report h4 {
  color: var(--cedge-heading);
  font-size: 1.08rem;
  line-height: 1.3;
  margin: 0.65rem 0 0.4rem;
}

.cedge-message-bubble__report h4:first-child {
  margin-top: 0;
}

.cedge-message-bubble__report p {
  margin: 0 0 0.75rem;
  white-space: normal;
}

.cedge-message-bubble__report ul {
  margin: 0.15rem 0 0.85rem 1.25rem;
  padding: 0;
}

.cedge-message-bubble__report li {
  margin: 0 0 0.35rem;
}

.cedge-message-bubble__report-kicker {
  color: var(--cedge-muted);
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.cedge-message-bubble p:last-child {
  margin-bottom: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.cedge-message-bubble--concierge-intro .cedge-message-bubble__report p:last-child {
  white-space: normal;
}

.cedge-message-composer {
  background: rgba(255, 253, 249, 0.98);
  border-top: 1px solid rgba(220, 207, 190, 0.8);
  border-radius: 0 0 var(--cedge-radius-lg) var(--cedge-radius-lg);
  margin: 0 -1.5rem -1.5rem;
  padding: 0.85rem 1rem 1rem;
  position: relative;
}

.cedge-message-composer__row {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cedge-message-composer__input {
  border-radius: 22px;
  min-height: 56px;
  padding-bottom: 0.95rem;
  padding-top: 0.95rem;
  resize: none;
}

.cedge-message-composer__row .cedge-button {
  min-width: 120px;
}

.cedge-message-composer__help {
  margin-bottom: 0;
  margin-top: 0.55rem;
}

.cedge-bullet-list {
  margin: 0;
  padding-left: 1.2rem;
}

.cedge-meta {
  margin-top: 0.35rem;
  text-transform: none;
}

.cedge-form.is-submitting,
.cedge-question-form.is-submitting {
  opacity: 0.92;
}

.cedge-form.is-submitting::after,
.cedge-question-form.is-submitting::after {
  align-items: center;
  backdrop-filter: blur(1px);
  background: rgba(255, 253, 249, 0.72);
  border-radius: inherit;
  color: var(--cedge-heading);
  content: attr(data-cedge-loading-label);
  display: flex;
  font-weight: 700;
  inset: 0;
  justify-content: center;
  position: absolute;
}

.cedge-status-live {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.cedge-profile-save-status {
  margin: 0;
}

.cedge-profile-save-status[data-cedge-save-state="saved"] {
  color: #1f6f43;
}

.cedge-profile-save-status[data-cedge-save-state="error"] {
  color: #8c2f1d;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode {
  background: #fff;
  color: #111;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-page-header,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-card,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-card--soft,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-card--warning,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-question-form,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-form {
  background: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 0;
  box-shadow: none;
  color: #111;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-eyebrow,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-title,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-section-title,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-label,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-choice-card__label,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-pill-option__label,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-meta,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-support-copy,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-page-title,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-page-lead,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-page-kicker {
  color: #111;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-progress,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-progress__bar {
  background: #d0d0d0;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-choice-grid,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-pill-group,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-form-grid,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-actions,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-member-nav__actions {
  display: block;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar {
  align-items: start;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 0.35rem 1rem;
  grid-template-columns: auto auto auto minmax(0, 1fr);
  padding: 0 0 0.5rem;
  position: static;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__toggle {
  display: none;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__panel {
  display: block;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__links {
  gap: 0.25rem 0.9rem;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__group {
  position: static;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__link,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__group-trigger,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__status,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__bug-report {
  background: none;
  border: 1px solid #666;
  border-radius: 0;
  box-shadow: none;
  color: #111;
  display: inline-flex;
  margin: 0;
  min-height: 0;
  padding: 0.35rem 0.55rem;
  text-decoration: none;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__group-menu {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 0.25rem;
  left: auto;
  min-width: 0;
  padding: 0 0 0 0.85rem;
  position: static;
  top: auto;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__group-link {
  padding: 0.3rem 0.55rem;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__group-caret {
  display: none;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__link--current {
  background: #efefef;
  border-color: #333;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__group--current > .cedge-shell-topbar__group-trigger {
  background: #efefef;
  border-color: #333;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__link:focus-visible,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__status:focus-visible,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-shell-topbar__bug-report:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-choice-card,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-pill-option {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  padding: 0.75rem;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-choice-card__input,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-pill-option__input {
  left: auto;
  margin: 0.2rem 0 0;
  min-height: 18px;
  min-width: 18px;
  position: static;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-choice-card__body,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-pill-option__label {
  align-items: flex-start;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #111;
  display: block;
  min-height: 0;
  min-width: 0;
  padding: 0;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-choice-card__input:checked + .cedge-choice-card__body,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-pill-option__input:checked + .cedge-pill-option__label,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-choice-card__input:focus + .cedge-choice-card__body,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-pill-option__input:focus + .cedge-pill-option__label {
  background: none;
  border: 0;
  box-shadow: none;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-choice-card__value {
  background: none;
  border-radius: 0;
  color: #111;
  display: inline;
  font-size: 1rem;
  font-weight: 700;
  height: auto;
  margin-right: 0.35rem;
  min-width: 0;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-question-section + .cedge-question-section {
  border-top: 1px solid #b8b8b8;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-button,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-button--primary,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-button--secondary {
  background: #efefef;
  border: 1px solid #666;
  border-radius: 0;
  box-shadow: none;
  color: #111;
  display: inline-block;
  margin: 0 0.75rem 0.75rem 0;
  min-height: 0;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  transform: none;
}

.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-input,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-textarea,
.cedge-shell[data-cedge-accessible-page="true"].is-accessible-mode .cedge-select {
  background: #fff;
  border: 1px solid #666;
  border-radius: 0;
  box-shadow: none;
  color: #111;
}

@media (max-width: 800px) {
  .cedge-form-grid,
  .cedge-duo-grid,
  .cedge-choice-grid {
    grid-template-columns: 1fr;
  }

  .cedge-shell-layout {
    grid-template-columns: 1fr;
  }

  .cedge-messages-layout {
    grid-template-columns: 1fr;
  }

  .cedge-messages-layout__sidebar {
    height: clamp(28rem, 60vh, 38rem);
  }

  .cedge-message-panel {
    height: clamp(30rem, 64vh, 40rem);
  }

  .cedge-message-panel__header,
  .cedge-message-composer {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cedge-message-thread-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cedge-message-thread-head__help {
    text-align: left;
  }

  .cedge-message-composer__row {
    grid-template-columns: 1fr;
  }

  .cedge-status-strip,
  .cedge-highlight-row,
  .cedge-recommendation-card__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .cedge-pill-group,
  .cedge-actions,
  .cedge-actions--wrap {
    flex-direction: column;
  }

  .cedge-button,
  .cedge-pill-option__label {
    width: 100%;
  }
}

@media (max-width: 760px) {
  body.cedge-mobile-menu-open {
    overflow: hidden;
  }

  .cedge-mobile-alpha-notice,
  .cedge-page-greeting,
  .cedge-shell-topbar__status-wrap {
    display: none !important;
  }

  .cedge-shell {
    background: var(--cedge-bg);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    min-height: 100svh;
    padding: 0;
  }

  .cedge-shell__inner {
    display: flex;
    flex-direction: column;
    height: 100svh;
    max-width: none;
    min-height: 0;
    overflow: hidden;
    width: 100%;
  }

  .cedge-shell-topbar {
    align-items: center;
    background: var(--cedge-surface-strong);
    border: 0;
    border-bottom: 1px solid rgba(var(--cedge-theme-primary-rgb), 0.12);
    border-radius: 0;
    box-shadow: 0 8px 22px rgba(62, 37, 18, 0.08);
    display: grid;
    flex: 0 0 auto;
    gap: 0.45rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    margin: 0;
    padding: calc(0.5rem + env(safe-area-inset-top, 0px)) 0.65rem 0.55rem;
    position: relative;
    z-index: 40;
  }

  .cedge-shell-topbar::before {
    background: rgba(29, 22, 18, 0.34);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 160ms ease;
    z-index: 70;
  }

  .cedge-shell-topbar.is-nav-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .cedge-shell-topbar__toggle,
  .cedge-shell-topbar__notifications-button,
  .cedge-shell-topbar__messages-button,
  .cedge-shell-topbar__bug-report {
    align-items: center;
    background: var(--cedge-surface);
    border: 1px solid rgba(var(--cedge-theme-primary-rgb), 0.2);
    border-radius: 8px;
    box-shadow: none;
    color: var(--cedge-heading);
    display: inline-flex;
    gap: 0.35rem;
    justify-content: center;
    min-height: 44px;
    padding: 0.45rem 0.35rem;
    text-decoration: none;
    width: 100%;
  }

  .cedge-shell-topbar__toggle {
    grid-column: 1;
    order: 1;
  }

  .cedge-shell-topbar__notifications-wrap {
    grid-column: 2;
    order: 2;
    position: static;
  }

  .cedge-shell-topbar__messages-wrap {
    display: block;
    grid-column: 3;
    order: 3;
    position: relative;
  }

  .cedge-shell-topbar__bug-report-wrap {
    grid-column: 4;
    justify-self: stretch;
    order: 4;
  }

  .cedge-shell-topbar__toggle-label,
  .cedge-shell-topbar__bug-label {
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
  }

  .cedge-shell-topbar__notifications-icon,
  .cedge-shell-topbar__messages-icon,
  .cedge-shell-topbar__bug-icon {
    font-size: 1.05rem;
    line-height: 1;
  }

  .cedge-shell-topbar__messages-dot,
  .cedge-shell-topbar__notifications-badge {
    background: var(--cedge-accent);
    border: 2px solid var(--cedge-surface);
    border-radius: 999px;
    position: absolute;
    right: 0.4rem;
    top: 0.25rem;
  }

  .cedge-shell-topbar__messages-dot {
    height: 0.75rem;
    width: 0.75rem;
  }

  .cedge-shell-topbar__notifications-badge {
    min-height: 1.2rem;
    min-width: 1.2rem;
    padding: 0 0.28rem;
  }

  .cedge-shell-topbar__panel {
    background: var(--cedge-surface-strong);
    border: 0;
    border-right: 1px solid rgba(var(--cedge-theme-primary-rgb), 0.18);
    bottom: 0;
    box-shadow: 18px 0 34px rgba(29, 22, 18, 0.14);
    display: block;
    left: 0;
    max-width: 22rem;
    min-width: 0;
    opacity: 0;
    overflow-y: auto;
    padding: calc(1rem + env(safe-area-inset-top, 0px)) 0.85rem 1rem;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: translateX(-105%);
    transition: transform 180ms ease, opacity 180ms ease;
    width: min(86vw, 22rem);
    z-index: 90;
  }

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

  .cedge-shell-topbar__links {
    display: grid;
    gap: 0.45rem;
  }

  .cedge-shell-topbar__link,
  .cedge-shell-topbar__group-trigger {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--cedge-heading);
    justify-content: flex-start;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    width: 100%;
  }

  .cedge-shell-topbar__link--prominent {
    background: rgba(var(--cedge-theme-primary-rgb), 0.08);
    border-color: rgba(var(--cedge-theme-primary-rgb), 0.18);
    box-shadow: none;
    justify-content: flex-start;
  }

  .cedge-shell-topbar__group {
    width: 100%;
  }

  .cedge-shell-topbar__group-menu {
    background: rgba(var(--cedge-theme-secondary-rgb), 0.04);
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    left: auto;
    min-width: 0;
    padding: 0.35rem;
    position: static;
    top: auto;
  }

  .cedge-shell-topbar__group-link {
    background: var(--cedge-surface);
    border: 1px solid rgba(var(--cedge-theme-primary-rgb), 0.1);
  }

  .cedge-shell-topbar__notifications-panel {
    border-radius: 8px;
    left: 0.65rem;
    max-height: min(70svh, 32rem);
    overflow: hidden;
    position: fixed;
    right: 0.65rem;
    top: calc(3.9rem + env(safe-area-inset-top, 0px));
    width: auto;
    z-index: 95;
  }

  .cedge-shell-topbar__notifications-list {
    max-height: calc(70svh - 5rem);
  }

  .cedge-page-header {
    background: rgba(255, 253, 249, 0.94);
    border-bottom: 1px solid rgba(var(--cedge-theme-primary-rgb), 0.08);
    flex: 0 0 auto;
    gap: 0.55rem;
    margin: 0;
    padding: 0.75rem 0.85rem 0.65rem;
  }

  .cedge-page-header__copy {
    flex-basis: 100%;
    min-width: 0;
  }

  .cedge-page-kicker {
    display: none;
  }

  .cedge-page-title {
    font-size: 1.35rem;
    line-height: 1.12;
    margin: 0;
  }

  .cedge-page-lead {
    color: var(--cedge-text-soft);
    display: -webkit-box;
    font-size: 0.9rem;
    line-height: 1.35;
    margin: 0.25rem 0 0;
    max-height: 2.55rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cedge-page-header__actions {
    justify-content: stretch;
    padding-top: 0;
    width: 100%;
  }

  .cedge-app-content {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.85rem;
  }

  .cedge-card,
  .cedge-card--soft,
  .cedge-card--warning,
  .cedge-card--neutral,
  .cedge-form,
  .cedge-question-form {
    border-radius: 8px;
  }

  .cedge-dashboard-grid,
  .cedge-stack,
  .cedge-answer-list,
  .cedge-bug-report-list,
  .cedge-match-upgrade-layout {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
  }

  .cedge-card-copy,
  .cedge-form,
  .cedge-question-form {
    padding: 1rem;
  }

  .cedge-title,
  .cedge-title--compact,
  .cedge-section-title {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .cedge-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cedge-actions,
  .cedge-actions--wrap,
  .cedge-member-nav__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cedge-button,
  .cedge-input,
  .cedge-select,
  .cedge-textarea,
  .cedge-pill-option__label {
    border-radius: 8px;
    min-height: 44px;
  }

  .cedge-shell--messages .cedge-page-header,
  .cedge-shell--messages .cedge-skip-links {
    display: none;
  }

  .cedge-shell--messages .cedge-app-content {
    padding: 0;
  }

  .cedge-messages-layout {
    display: block;
    height: 100%;
    overflow: hidden;
  }

  .cedge-messages-layout__sidebar,
  .cedge-messages-layout__main {
    height: 100%;
  }

  .cedge-messages-layout__main {
    display: none;
  }

  .cedge-messages-layout.has-active-thread .cedge-messages-layout__sidebar {
    display: none;
  }

  .cedge-messages-layout.has-active-thread .cedge-messages-layout__main {
    display: block;
  }

  .cedge-messages-layout__sidebar,
  .cedge-message-panel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
  }

  .cedge-message-panel__back {
    appearance: none;
    background: var(--cedge-surface);
    border: 0;
    border-bottom: 1px solid rgba(var(--cedge-theme-primary-rgb), 0.08);
    color: var(--cedge-link);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    min-height: 42px;
    padding: 0.7rem 0.85rem;
    text-align: left;
    width: 100%;
  }

  .cedge-message-panel__back::before {
    content: "<";
    margin-right: 0.45rem;
  }

  .cedge-message-panel__header {
    margin: 0;
    padding: 0.75rem 0.85rem;
  }

  .cedge-message-panel__body {
    flex: 1 1 auto;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem 0;
  }

  .cedge-message-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 0.75rem;
  }

  .cedge-message-composer {
    border-radius: 0;
    flex: 0 0 auto;
    margin: 0 -0.85rem;
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  }

  .cedge-message-composer__row {
    align-items: end;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .cedge-message-composer__input {
    box-sizing: border-box;
    min-height: 5rem;
    resize: vertical;
    width: 100%;
  }

  .cedge-message-composer__row .cedge-message-composer__send {
    align-self: end;
    aspect-ratio: 1;
    border-radius: 999px;
    display: inline-grid;
    font-size: 0;
    height: 42px;
    min-height: 42px;
    min-width: 0;
    padding: 0;
    place-items: center;
    width: 42px;
  }

  .cedge-message-composer__send::before {
    border-bottom: 0.48rem solid transparent;
    border-left: 0.72rem solid currentColor;
    border-top: 0.48rem solid transparent;
    content: "";
    display: block;
    margin-left: 0.15rem;
  }

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

@media (max-width: 760px) {
  .cedge-shell-topbar .screen-reader-text {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }

  .cedge-shell-topbar {
    gap: 0.38rem;
    padding: calc(0.42rem + env(safe-area-inset-top, 0px)) 0.55rem 0.5rem;
  }

  .cedge-shell-topbar__toggle,
  .cedge-shell-topbar__notifications-button,
  .cedge-shell-topbar__messages-button,
  .cedge-shell-topbar__bug-report {
    box-sizing: border-box;
    gap: 0.24rem;
    height: 40px;
    min-height: 40px;
    padding: 0.34rem 0.25rem;
  }

  .cedge-shell-topbar__toggle-label,
  .cedge-shell-topbar__bug-label {
    font-size: 0.68rem;
  }

  .cedge-shell-topbar__bug-label span {
    display: none;
  }

  .cedge-shell-topbar__bug-label::after {
    content: "Bug";
  }

  .cedge-shell-topbar__notifications-icon,
  .cedge-shell-topbar__messages-icon,
  .cedge-shell-topbar__bug-icon {
    font-size: 1rem;
  }

  .cedge-shell-topbar__notifications-panel {
    top: calc(3.35rem + env(safe-area-inset-top, 0px));
  }

  .cedge-shell--member-dashboard .cedge-app-content,
  .cedge-shell--questions .cedge-app-content,
  .cedge-shell--quickconnect .cedge-app-content {
    padding: 0.6rem;
  }

  .cedge-shell--member-dashboard .cedge-page-header,
  .cedge-shell--questions .cedge-page-header,
  .cedge-shell--quickconnect .cedge-page-header {
    padding: 0.55rem 0.7rem 0.5rem;
  }

  .cedge-shell--member-dashboard .cedge-page-title,
  .cedge-shell--questions .cedge-page-title,
  .cedge-shell--quickconnect .cedge-page-title {
    font-size: 1.18rem;
  }

  .cedge-shell--questions .cedge-page-lead,
  .cedge-shell--quickconnect .cedge-page-lead {
    display: none;
  }

  .cedge-shell--member-dashboard .cedge-dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 0.58rem;
  }

  .cedge-dashboard-card--profile {
    order: 1;
  }

  .cedge-dashboard-card--stats {
    order: 2;
  }

  .cedge-dashboard-card--medals {
    order: 3;
  }

  .cedge-dashboard-card--membership {
    order: 4;
  }

  .cedge-dashboard-card--share {
    order: 5;
  }

  .cedge-dashboard-card--notifications {
    order: 6;
  }

  .cedge-dashboard-card--delete {
    order: 99;
  }

  .cedge-shell--member-dashboard .cedge-card-copy,
  .cedge-shell--member-dashboard .cedge-dashboard-card.cedge-form {
    padding: 0.72rem;
  }

  .cedge-shell--member-dashboard .cedge-dashboard-stats {
    gap: 0.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cedge-shell--member-dashboard .cedge-dashboard-stat {
    padding: 0.55rem 0.35rem;
  }

  .cedge-shell--member-dashboard .cedge-dashboard-stat__value {
    font-size: 1.15rem;
  }

  .cedge-shell--member-dashboard .cedge-dashboard-pref-list {
    gap: 0.45rem;
  }

  .cedge-shell--member-dashboard .cedge-dashboard-pref {
    align-items: center;
    grid-template-columns: auto 1fr;
    padding: 0.52rem 0;
  }

  .cedge-shell--member-dashboard .cedge-dashboard-pref .cedge-meta,
  .cedge-shell--member-dashboard .cedge-dashboard-card--delete .cedge-support-copy {
    display: none;
  }

  .cedge-shell--questions .cedge-stack--page-intro,
  .cedge-shell--questions .cedge-question-shortcuts {
    display: none;
  }

  .cedge-shell--questions .cedge-question-form {
    display: grid;
    gap: 0;
    padding: 0;
  }

  .cedge-shell--questions .cedge-question-form > .cedge-card-copy {
    padding: 0.7rem 0.78rem 0.42rem;
  }

  .cedge-shell--questions .cedge-question-form .cedge-eyebrow,
  .cedge-shell--questions .cedge-question-form > .cedge-card-copy .cedge-support-copy,
  .cedge-shell--questions .cedge-question-section .cedge-support-copy {
    display: none;
  }

  .cedge-shell--questions .cedge-question-form .cedge-title {
    font-size: 1.02rem;
    line-height: 1.2;
    margin: 0;
  }

  .cedge-shell--questions .cedge-question-section {
    display: grid;
    gap: 0.34rem;
    padding: 0.48rem 0.78rem;
  }

  .cedge-shell--questions .cedge-question-section + .cedge-question-section {
    margin-top: 0;
    padding-top: 0.48rem;
  }

  .cedge-shell--questions .cedge-choice-grid {
    gap: 0.36rem;
  }

  .cedge-shell--questions .cedge-question-section[data-cedge-answer-scope] .cedge-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cedge-shell--questions .cedge-choice-card__body {
    align-items: flex-start;
    gap: 0.45rem;
    min-height: 52px;
    padding: 0.36rem 0.5rem;
  }

  .cedge-shell--questions .cedge-choice-card__value {
    font-size: 0.78rem;
    height: 24px;
    width: 24px;
  }

  .cedge-shell--questions .cedge-choice-card__label {
    font-size: 0.76rem;
    line-height: 1.18;
  }

  .cedge-shell--questions .cedge-question-section:not([data-cedge-answer-scope]) {
    align-items: center;
    grid-template-columns: minmax(6.4rem, 0.8fr) minmax(0, 1fr);
    padding-bottom: 0.4rem;
    padding-top: 0.4rem;
  }

  .cedge-shell--questions .cedge-question-section:not([data-cedge-answer-scope]) .cedge-section-title {
    font-size: 0.82rem;
    line-height: 1.16;
    margin: 0;
  }

  .cedge-shell--questions .cedge-pill-group {
    display: grid;
    gap: 0.34rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cedge-shell--questions .cedge-pill-option__label {
    font-size: 0.8rem;
    justify-content: center;
    min-height: 36px;
    padding: 0.34rem 0.28rem;
    text-align: center;
  }

  .cedge-shell--questions .cedge-question-form > .cedge-actions {
    background: var(--cedge-surface-strong);
    border-top: 1px solid rgba(var(--cedge-theme-primary-rgb), 0.09);
    margin: 0;
    padding: 0.55rem 0.78rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  }

  .cedge-shell--questions .cedge-question-skip-form {
    margin-top: 0.5rem;
    padding: 0.58rem;
  }

  .cedge-shell--questions .cedge-question-skip-form .cedge-card-copy {
    display: none;
  }

  .cedge-shell--quickconnect .cedge-stack--page-intro {
    gap: 0.58rem;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-how-card,
  .cedge-shell--quickconnect .cedge-quickconnect-queue-card {
    display: none;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-scope-card .cedge-card-copy {
    padding: 0.62rem;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-scope-card .cedge-form--inline {
    align-items: end;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: 1fr auto;
    padding: 0;
    width: 100%;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-scope-card .cedge-label,
  .cedge-shell--quickconnect .cedge-quickconnect-scope-card .cedge-meta {
    display: none;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-scope-card .cedge-button {
    min-height: 42px;
    padding-inline: 0.7rem;
    white-space: nowrap;
    width: auto;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card {
    overflow: hidden;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card .cedge-card-copy,
  .cedge-shell--quickconnect .cedge-quickconnect-card__content {
    padding: 0.72rem;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__content {
    gap: 0.45rem;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__header {
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.55rem;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__header .cedge-member-preview__photo img,
  .cedge-shell--quickconnect .cedge-quickconnect-card__header .cedge-profile-photo__placeholder {
    border-radius: 14px;
    height: 64px;
    width: 64px;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__header .cedge-title {
    font-size: 1.18rem;
    line-height: 1.08;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__reason-inline,
  .cedge-shell--quickconnect .cedge-quickconnect-card__match-copy {
    display: none;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__match-summary {
    border-top: 0;
    margin-top: 0.05rem;
    padding-top: 0;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__match-row {
    grid-template-columns: 1fr;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__match-percentage {
    font-size: 1.2rem;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__details {
    max-height: 8.25rem;
    overflow-y: auto;
    padding-right: 0.15rem;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__details p {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__medals {
    border-bottom: 0;
    margin-top: 0.2rem;
    padding-bottom: 0;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__medals .cedge-medals {
    flex-wrap: nowrap;
    gap: 0.36rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__medals .cedge-medals--medium .cedge-medal,
  .cedge-shell--quickconnect .cedge-quickconnect-card__medals .cedge-medals--medium .cedge-medal-overflow {
    border-radius: 12px;
    min-height: 46px;
    min-width: 46px;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__medals .cedge-medals--medium .cedge-medal img {
    border-radius: 12px;
    height: 46px;
    width: 46px;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__conversation-starter {
    display: none;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__decision-block {
    margin-top: 0.35rem;
    padding: 0.65rem;
  }

  .cedge-shell--quickconnect .cedge-quickconnect-card__decision-block .cedge-support-copy {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cedge-button,
  .cedge-choice-card__body,
  .cedge-pill-option__label,
  .cedge-input,
  .cedge-textarea,
  .cedge-select {
    transition: none;
  }
}
