:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) {
  --cedge-primary: #226646;
  color: #242d29;
  background: #fff;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 20px;
  box-sizing: border-box;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) *, :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) *::before, :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) *::after { box-sizing: border-box; letter-spacing: 0; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) [hidden] { display: none !important; }
.cedge-garden .garden-community-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0 0 16px; border-bottom: 1px solid #d8e2dd; margin-bottom: 20px; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) a { color: #245ca6; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) a.cedge-button--primary { color: #fff; }
.cedge-garden .garden-community-nav [aria-current] { color: #205d42; font-weight: 700; }
.garden-community .garden-quickconnect-readiness { max-width: 48rem; padding: 0; }
.garden-community .garden-quickconnect-readiness ul { padding: 0; margin: 0; list-style: none; }
.garden-community .garden-quickconnect-readiness li { padding: 1rem 0; border-top: 1px solid #d8e2dd; }
.garden-community .garden-quickconnect-readiness li p { margin: 0 0 .75rem; line-height: 1.6; }
.garden-community .garden-quickconnect-readiness a.cedge-button { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: .65rem 1rem; background: #226646; color: #fff; border: 2px solid #226646; text-decoration: none; overflow-wrap: anywhere; }
.garden-tool-mode .garden-workspace .garden-community .cedge-embedded-empty { display: block; height: auto; min-height: 0; padding: 20px 0; margin: 0; background: transparent; border: 0; }
.garden-tool-mode .garden-workspace .garden-community .cedge-embedded-empty h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.4; }
.garden-tool-mode .garden-workspace .garden-community .cedge-embedded-empty p { margin: 0; font-size: 16px; line-height: 1.5; }
.garden-tool-mode .garden-workspace .garden-community .cedge-embedded-view--my-answers table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.garden-tool-mode .garden-workspace .garden-community .cedge-embedded-view--my-answers th, .garden-tool-mode .garden-workspace .garden-community .cedge-embedded-view--my-answers td { padding: 12px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid #d8e2dd; overflow-wrap: anywhere; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-embedded-view { display: block; width: 100%; max-width: none; min-width: 0; min-height: 0; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 18px 0; margin: 0; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-card + .cedge-card { border-top: 1px solid #d8e2dd; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-card .cedge-card { padding: 14px 0; border: 0; border-top: 1px solid #d8e2dd; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-card-copy { padding: 0; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-title, :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) h2 { font-size: 23px; line-height: 1.3; margin-top: 0; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) h3 { font-size: 19px; line-height: 1.4; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-profile-intro h1 { font-size: 28px; line-height: 1.25; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-profile-intro a { display: inline-block; margin: 8px 16px 8px 0; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-field--full { grid-column: 1 / -1; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) input, :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) textarea, :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) select { max-width: 100%; min-width: 0; font-size: 16px; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-field { min-width: 0; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-button { border-radius: 6px; white-space: normal; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-badge { white-space: normal; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .garden-member-badge { background: #e0f1e5; color: #205a3c; border: 1px solid #82b996; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-shell-topbar__notifications-list { list-style: none; margin: 12px 0; padding: 0; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-shell-topbar__notifications-link { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid #d8e2dd; text-decoration: none; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-shell-topbar__notifications-topline { display: flex; justify-content: space-between; gap: 12px; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-shell-topbar__notifications-title { font-weight: 700; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-shell-topbar__notifications-item.is-unread { border-left: 3px solid #226646; padding-left: 12px; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) :focus-visible { outline: 3px solid #245ca6; outline-offset: 3px; }
.cedge-garden .garden-messages-launcher { position: fixed; bottom: 16px; right: 16px; z-index: 70; background: #226646; color: #fff; border: 2px solid #fff; padding: 12px 18px; border-radius: 6px; box-shadow: 0 2px 12px #0003; text-decoration: none; }
.cedge-garden .garden-messages-launcher[hidden] { display: none; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-messages-panel) .cedge-thread-card { padding-right: 96px; border-radius: 6px; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-messages-panel) .cedge-thread-card__action { width: 36px; height: 36px; min-width: 36px; padding: 0; border-radius: 6px; }
.cedge-garden .garden-community.garden-messages-panel { position: fixed; inset: auto 12px 12px auto; margin: 0; width: min(780px, calc(100vw - 24px)); height: min(710px, calc(100dvh - 80px)); max-height: calc(100dvh - 24px); border: 1px solid #82998b; border-radius: 8px; padding: 16px; overflow: auto; z-index: 80; box-shadow: 0 6px 32px #0004; }
.cedge-garden .garden-community.garden-messages-panel:not([open]) { display: none; }
.cedge-garden .garden-community.garden-messages-panel[open] { display: flex; flex-direction: column; }
.cedge-garden .garden-community.garden-messages-panel > .cedge-embedded-view { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.cedge-garden .garden-community.garden-messages-panel .cedge-messages-layout { height: 100%; min-height: 0; grid-template-rows: minmax(0, 1fr); }
.cedge-garden .garden-community.garden-messages-panel .cedge-message-panel { height: 100%; min-height: 0; }
.cedge-garden .garden-community.garden-messages-panel > header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; }
.cedge-garden .garden-community.garden-messages-panel > header h2 { margin: 0; }
.cedge-garden .garden-community.garden-messages-panel > header button { width: 42px; height: 42px; background: #fff; color: #242d29; border: 1px solid #a4b6ab; border-radius: 6px; font-size: 28px; padding: 0; }
.cedge-garden .garden-community.garden-messages-panel .cedge-embedded-view > h2 { display: none; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-messages-layout { display: grid; grid-template-columns: minmax(150px, 0.8fr) minmax(0, 2fr); gap: 16px; min-width: 0; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-messages-layout__sidebar, :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-messages-layout__main { min-width: 0; width: auto; }
.cedge-garden .garden-community.garden-messages-panel .cedge-message-list { max-height: 38dvh; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-modal { z-index: 95; }
:is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-modal__dialog { width: min(1180px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
@media (max-width: 640px) {
  .garden-tool-mode .garden-workspace .garden-community .cedge-quickconnect-card__header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .garden-tool-mode .garden-workspace .garden-community .cedge-quickconnect-card__header .cedge-member-preview__copy { width: 100%; min-width: 0; }
  .garden-tool-mode .garden-workspace .garden-community .cedge-quickconnect-card__match-row { grid-template-columns: minmax(0, 1fr); }
  .garden-tool-mode .garden-workspace .garden-community .cedge-quickconnect-card__match-summary .cedge-status-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .garden-tool-mode .garden-workspace .garden-community .cedge-quickconnect-card__match-summary .cedge-status-list > div { min-width: 0; }
  .garden-tool-mode .garden-workspace .garden-community .cedge-quickconnect-card__header .cedge-title { font-size: 23px; line-height: 1.3; }
  .garden-tool-mode .garden-workspace .garden-community .cedge-quickconnect-card__match-percentage { font-size: 28px; }
  :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) { padding: 16px 12px; }
  :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-form-grid { grid-template-columns: minmax(0, 1fr); }
  :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-account-security__forms { display: grid; grid-template-columns: minmax(0, 1fr); }
  :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-profile-intro h1 { font-size: 24px; }
  :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-messages-layout { grid-template-columns: minmax(0, 1fr); }
  .cedge-garden .garden-community.garden-messages-panel { width: calc(100vw - 16px); right: 8px; bottom: 8px; height: calc(100dvh - 66px); }
  .cedge-garden .garden-community.garden-messages-panel .cedge-message-list { max-height: 42dvh; }
  :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) .cedge-profile-photo-field { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) *, :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) *::before, :is(.garden-tool-mode .garden-workspace .garden-community, .cedge-garden .garden-community.garden-messages-panel) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Only the inbox and transcript scroll; the shell and composer stay in view. */
.cedge-garden.garden-view-messages .garden-workspace:has(.cedge-messages-layout) { height: var(--garden-inbox-height, calc(100dvh - 144px)); min-height: 0; margin-top: 0; padding: 12px; }
.cedge-garden.garden-view-messages .garden-workspace > .garden-community:has(.cedge-messages-layout) { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 0; background: #fff; }
.cedge-garden.garden-view-messages .garden-community-nav { flex: 0 0 auto; padding: 4px 8px 10px; margin: 0 0 10px; gap: 6px 20px; font-size: 14px; }
.cedge-garden .garden-community .cedge-embedded-view.cedge-embedded-view--messages { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.cedge-garden .garden-community .cedge-embedded-view--messages > .cedge-title { flex: 0 0 auto; margin: 0 0 10px; padding: 0 8px; font-size: 23px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-layout { flex: 1 1 auto; height: 100%; min-height: 0; grid-template-columns: minmax(240px, 0.85fr) minmax(0, 2fr); grid-template-rows: minmax(0, 1fr); gap: 0; overflow: hidden; border: 1px solid #c9d8cf; border-radius: 6px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-layout__sidebar { height: 100%; min-height: 0; padding: 0; background: #f0f5f2; border: 0; border-right: 1px solid #c9d8cf; scrollbar-gutter: auto; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-layout__main { height: 100%; min-height: 0; overflow: hidden; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-panel { height: 100%; min-height: 0; padding: 0; margin: 0; background: #fff; border: 0; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-thread-toolbar { padding: 0; flex: 0 0 auto; border-bottom: 1px solid #d7e2db; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-thread-tools { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-refresh-button { align-self: flex-start; background: #fff; color: #174c37; border: 1px solid #86a595; padding: 7px 12px; min-height: 38px; font-size: 14px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-thread-search { height: 42px; min-height: 42px; border: 1px solid #91a99b; border-radius: 4px; background: #fff; padding: 8px 10px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-refresh-status { min-height: 0; margin: 0; padding: 0 12px 8px; font-size: 12px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-refresh-status:empty { display: none; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-thread-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-thread-card { padding: 12px 88px 12px 10px; background: transparent; color: #263b30; border: 1px solid transparent; border-radius: 4px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-thread-card[aria-current="page"] { background: #e0ede6; border-color: #8aad99; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-thread-card__actions { gap: 6px; right: 8px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-thread-card__action { width: 32px; min-width: 32px; height: 36px; min-height: 36px; padding: 0; background: #fff; color: #32664c; border: 1px solid #9cb6a7; border-radius: 4px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-thread-card__action.is-active { background: #174c37; color: #fff; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-thread-card__preview { color: #52675c; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-panel__back { display: none; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-panel__header { flex: 0 0 auto; padding: 12px 16px; margin: 0; background: #f6f9f7; border-bottom: 1px solid #d7e2db; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-thread-head__title { margin: 0; font-size: 18px; line-height: 1.4; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-thread-head__meta { margin: 2px 0 0; font-size: 12px; color: #52675c; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-meta { margin: 2px 0 0; font-size: 12px; color: #52675c; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-member-preview-trigger { display: inline; width: auto; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #185941; font: 700 15px/1.5 system-ui,sans-serif; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-thread-head__title .cedge-member-preview-trigger { font-size: 18px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-panel__body { min-height: 0; flex: 1 1 auto; gap: 0; padding: 0; overflow: hidden; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-list { min-height: 0; max-height: none; flex: 1 1 auto; padding: 16px; border-radius: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-bubble { max-width: 90%; border-width: 1px; border-radius: 6px; font-size: 14px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-bubble--mine { background: #eaf3ed; border-color: #abc9b6; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-bubble--theirs { background: #f3f6f9; border-color: #b8cad8; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-composer { flex: 0 0 auto; padding: 12px; margin: 0; background: #f6f9f7; border-top: 1px solid #c9d8cf; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-composer__row { grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: end; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-composer__input { height: 64px; min-height: 64px; max-height: 120px; border: 1px solid #91a99b; border-radius: 4px; padding: 10px 12px; line-height: 1.4; overflow-y: auto; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-composer__send { min-width: 80px; min-height: 42px; border-radius: 4px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-quickconnect-request { min-height: 0; overflow-y: auto; padding: 12px; }
.cedge-garden .garden-community.garden-messages-panel { height: min(710px,calc(100dvh - var(--garden-header-height,72px) - 24px)); max-height: calc(100dvh - var(--garden-header-height,72px) - 24px); padding: 12px; overflow: hidden; }
.cedge-garden .garden-community.garden-messages-panel > header { padding-bottom: 10px; }
.cedge-garden .garden-community.garden-messages-panel .cedge-embedded-view--messages .cedge-thread-card { padding: 10px 10px 48px; }
.cedge-garden .garden-community.garden-messages-panel .cedge-embedded-view--messages .cedge-thread-card__actions { top: auto; bottom: 8px; transform: none; }
.cedge-garden .garden-community.garden-messages-panel .cedge-embedded-view--messages .cedge-thread-card__name { white-space: normal; }
@media (max-width: 760px) {
  .cedge-garden.garden-view-messages .garden-workspace:has(.cedge-messages-layout) { padding: 6px; }
  .cedge-garden.garden-view-messages .garden-community-nav { font-size: 12px; gap: 6px 12px; padding: 4px 6px 8px; margin-bottom: 8px; }
  .cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-layout { display: flex; flex-direction: column; }
  .cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-layout__sidebar { border-right: 0; }
  .cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-panel__back { display: flex; width: 100%; min-height: 38px; padding: 6px 12px; background: #eaf3ed; color: #174c37; border: 0; border-bottom: 1px solid #c9d8cf; border-radius: 0; justify-content: flex-start; flex: 0 0 auto; }
  .cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-panel__header { padding: 8px 12px; }
  .cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-list { padding: 10px; }
  .cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-composer { padding: 8px; }
  .cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-composer__row { grid-template-columns: minmax(0,1fr) 42px; gap: 8px; }
  .cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-composer__send { min-width: 42px; width: 42px; padding: 0; font-size: 0; }
  .cedge-garden .garden-community.garden-messages-panel { padding: 8px; }
}

/* Garden-only accessibility: preserve canonical controls and native hidden state. */
.cedge-garden .garden-community { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.cedge-garden .garden-community [hidden] { display: none !important; }
.cedge-garden .garden-community :is(button,a,input,select,textarea,summary,[tabindex]) { scroll-margin-block: calc(var(--garden-header-height,72px) + 16px) 24px; }
.cedge-garden .garden-community :focus-visible { outline: 3px solid #174c37; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.cedge-garden .garden-community :is(.cedge-support-copy,.cedge-choice-card__label,.cedge-pill-option__label,.cedge-message-bubble) { font-size: 16px; line-height: 1.6; }
.cedge-garden .garden-community :is(.cedge-meta,.cedge-eyebrow,.cedge-message-thread-head__meta,.cedge-messages-refresh-status) { font-size: 14px; line-height: 1.5; color: #42594b; }
.cedge-garden .garden-community-nav { gap: 8px 20px; font-size: 16px; }
.cedge-garden .garden-community-nav a { padding-block: 4px; }
.cedge-garden .garden-community :is(.cedge-button,.cedge-modal__close) { min-height: 44px; }
.cedge-garden .garden-community .cedge-button--primary { background: #174c37; color: #fff; border-color: #174c37; }
.cedge-garden .garden-community .cedge-button--secondary { background: #fff; color: #174c37; border: 1px solid #47715d; box-shadow: none; }
.cedge-garden .garden-community .cedge-modal__close { min-width: 44px; flex: 0 0 auto; background: #fff; color: #174c37; border: 1px solid #47715d; border-radius: 4px; }
.cedge-garden .garden-community .cedge-modal__header h2 { min-width: 0; }
.cedge-garden .garden-community .cedge-shell-topbar__notifications-topline { flex-wrap: wrap; }
.cedge-garden .garden-community .cedge-shell-topbar__notifications-state { font-size: 14px; line-height: 1.5; }
.cedge-garden .garden-community .cedge-shell-topbar__notifications-state.is-unread { background: #174c37; color: #fff; }
.cedge-garden .garden-community .cedge-shell-topbar__notifications-state.is-read { background: #eaf3ed; color: #174c37; }
.cedge-garden .garden-community .cedge-shell-topbar__notifications-message { font-size: 16px; color: #242d29; }
.cedge-garden .garden-community .cedge-profile-photo-field__controls { position: relative; min-width: 0; }
.cedge-garden .garden-community .cedge-button--file:has(+ input:focus-visible) { outline: 3px solid #174c37; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.cedge-garden .garden-community .cedge-input--file { left: 0; top: 0; }

/* Keep radios/checkboxes on screen, visibly distinguish selection without color alone. */
.cedge-garden .garden-community :is(.cedge-choice-card,.cedge-pill-option) { position: relative; }
.cedge-garden .garden-community :is(.cedge-choice-card__input,.cedge-pill-option__input) { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; min-height: 20px; margin: 0; accent-color: #174c37; }
.cedge-garden .garden-community :is(.cedge-choice-card__body,.cedge-pill-option__label) { padding-left: 46px; border-color: #61796b; border-radius: 6px; box-shadow: none; transform: none; }
.cedge-garden .garden-community .cedge-pill-option__label { min-height: 44px; white-space: normal; }
.cedge-garden .garden-community :is(.cedge-choice-card__input:checked + .cedge-choice-card__body,.cedge-pill-option__input:checked + .cedge-pill-option__label) { background: #e0ede6; color: #173d2c; border-color: #174c37; box-shadow: none; transform: none; }
.cedge-garden .garden-community .cedge-choice-card__input:checked + .cedge-choice-card__body .cedge-choice-card__label { color: #173d2c; }
.cedge-garden .garden-community .cedge-choice-card__value { background: #174c37; color: #fff; }
.cedge-garden .garden-community .cedge-choice-card__input:checked + .cedge-choice-card__body .cedge-choice-card__value { background: #174c37; color: #fff; }
.cedge-garden .garden-community :is(.cedge-choice-card__input:focus-visible + .cedge-choice-card__body,.cedge-pill-option__input:focus-visible + .cedge-pill-option__label) { outline: 3px solid #174c37; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.cedge-garden .garden-community .cedge-pill-group { flex-wrap: wrap; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-bubble { font-size: 16px; }
.cedge-garden .garden-community .cedge-embedded-view--messages :is(.cedge-meta,.cedge-message-thread-head__meta,.cedge-messages-refresh-status) { font-size: 14px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-member-preview-trigger { font-size: 16px; }
.cedge-garden.garden-view-messages .garden-community-nav { font-size: 16px; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-refresh-button { font-size: 16px; }
.cedge-garden .garden-community .cedge-message-avatar__fallback { background: #e0ede6; color: #173d2c; }
.cedge-garden .garden-community :is(input,select,textarea) { color: #242d29; background-color: #fff; border-color: #61796b; }
.cedge-garden .garden-community :is(input,textarea)::placeholder { color: #52675c; opacity: 1; }
.cedge-garden .garden-community .cedge-embedded-view--messages :is(.cedge-message-composer__input,.cedge-messages-thread-search,.cedge-thread-card__action,.cedge-messages-refresh-button) { border-color: #61796b; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-messages-thread-search { height: auto; min-height: 44px; line-height: 1.5; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-message-composer__input { height: 4em; min-height: calc(1.5em + 22px); max-height: 12rem; }
.cedge-garden .garden-community .cedge-embedded-view--messages .cedge-thread-card__name { white-space: normal; overflow: visible; text-overflow: clip; }
.cedge-garden .garden-community .cedge-message-list:focus-visible { outline-offset: -4px; box-shadow: inset 0 0 0 7px #fff; }

/* Zoom, short windows and enlarged text must never clip the composer or controls. */
.cedge-garden.garden-view-messages .garden-workspace.garden-inbox-reflow:has(.cedge-messages-layout) { height: auto; }
.cedge-garden .garden-inbox-reflow > .garden-community:has(.cedge-messages-layout),
.cedge-garden .garden-inbox-reflow .cedge-embedded-view--messages,
.cedge-garden .garden-inbox-reflow .cedge-embedded-view--messages :is(.cedge-messages-layout,.cedge-messages-layout__main,.cedge-messages-layout__sidebar,.cedge-message-panel,.cedge-message-panel__body) { height: auto; flex: 0 1 auto; overflow: visible; }
.cedge-garden .garden-inbox-reflow .cedge-embedded-view--messages .cedge-message-list { min-height: 12rem; max-height: 60vh; flex: 0 1 auto; }
.cedge-garden .garden-inbox-reflow .cedge-messages-thread-scroll { max-height: 24rem; }
@media (max-width: 640px) {
  .cedge-garden .garden-community :is(.cedge-choice-grid,.cedge-status-list) { grid-template-columns: minmax(0,1fr); }
  .cedge-garden .garden-community :is(.cedge-status-strip,.cedge-profile-preview__actions,.cedge-message-thread-head) { flex-wrap: wrap; }
}
@media (max-height: 650px) {
  .cedge-garden .garden-community.garden-messages-panel { height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); bottom: 8px; overflow: auto; }
  .cedge-garden .garden-community.garden-messages-panel .cedge-embedded-view--messages,
  .cedge-garden .garden-community.garden-messages-panel .cedge-embedded-view--messages :is(.cedge-messages-layout,.cedge-messages-layout__main,.cedge-messages-layout__sidebar,.cedge-message-panel,.cedge-message-panel__body) { height: auto; flex: 0 1 auto; overflow: visible; }
  .cedge-garden .garden-community.garden-messages-panel .cedge-embedded-view--messages .cedge-message-list { min-height: 12rem; max-height: 60vh; flex: 0 1 auto; }
  .cedge-garden .garden-community.garden-messages-panel .cedge-messages-thread-scroll { max-height: 24rem; }
}
@media (forced-colors: active) {
  .cedge-garden .garden-community :focus-visible { outline-color: Highlight; }
  .cedge-garden .garden-community :is(.cedge-choice-card__input,.cedge-pill-option__input) { forced-color-adjust: auto; }
  .cedge-garden .garden-community :is(.cedge-choice-card__input:checked + .cedge-choice-card__body,.cedge-pill-option__input:checked + .cedge-pill-option__label) { border: 3px solid Highlight; }
}
