@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=Fira+Sans:wght@500;600;700&display=swap');
/* =====================================================================
   FIBER COMMAND CENTER - COMMUNICATIONS
   Premium enterprise neumorphism.

   Phase 1 (Interface Foundation) of the Master Build Prompt. Tokens and
   elevation values are taken verbatim from section 2 of that prompt, not
   sampled or approximated.

   Branding restriction honoured: the existing title, logo and their
   positions are left alone. Only surfaces, elevation, type colour and
   geometry are restyled.

   Specificity: the host sheet app-neu-light.css styles
   body.arb-portal-light [role="dialog"] at !important, specificity (0,2,1).
   The comms window IS that dialog, so each selector repeats
   .fcc-cw-window three times to reach (0,3,0) and win without editing the
   host sheet.

   Text colour is set explicitly on every text-bearing element. The host
   sheet forces colours with !important, which previously left some labels
   near-white on a near-white surface.
   ===================================================================== */

.fcc-cw-window {
  --ucp-bg:        #E9EDF5;   /* main application background */
  --ucp-surface:   #F0F3F9;   /* primary surface            */
  --ucp-elevated:  #F5F7FC;   /* elevated surface           */
  --ucp-recessed:  #E5EAF3;   /* recessed surface           */
  --ucp-text:      #17243B;   /* primary text               */
  --ucp-text-2:    #5F6B82;   /* secondary text             */
  --ucp-accent:    #4778ED;   /* primary accent blue        */
  --ucp-accent-sf: #DCE6FF;   /* accent highlight           */
  /* Text ON the pale accent fill. #4778ED on #DCE6FF measured only 3.2:1,
     so small labels need a darker blue. This one measures ~8:1 and keeps
     the same hue family. */
  --ucp-accent-ink: #1B3FA8;
  /* Brand/module name in the title bar: app blue, darkened to clear AA. */
  --ucp-brand-ink: #2C55C8;
  /* #5F6B82 on tinted chip surfaces measured 4.4:1, a shade under AA for
     small text, so chips use a slightly darker secondary. */
  --ucp-text-2-strong: #4C586E;
  --ucp-presence:  #42BA82;   /* active presence            */
  --ucp-danger:    #DB5B62;   /* end-call red               */
  --ucp-edge:      rgba(255,255,255,0.75);

  --ucp-raise: 8px 8px 18px rgba(158,171,194,0.27),
              -8px -8px 18px rgba(255,255,255,0.92);
  --ucp-raise-hi: 10px 10px 22px rgba(158,171,194,0.34),
                 -10px -10px 22px rgba(255,255,255,0.96);
  --ucp-raise-sm: 5px 5px 11px rgba(158,171,194,0.24),
                 -5px -5px 11px rgba(255,255,255,0.90);
  --ucp-inset: inset 5px 5px 10px rgba(159,171,192,0.20),
               inset -5px -5px 10px rgba(255,255,255,0.88);
  --ucp-inset-sm: inset 3px 3px 7px rgba(159,171,192,0.18),
                  inset -3px -3px 7px rgba(255,255,255,0.86);

  --ucp-r-panel: 24px;   /* 22-28 */
  --ucp-r-video: 18px;   /* 16-20 */
  --ucp-r-btn:   16px;   /* 14-20 */
  --ucp-ease: 180ms cubic-bezier(.4,0,.2,1);   /* 150-220ms */
}

/* =====================================================================
   DARK THEME (Master Build Prompt section 12)

   This is not cosmetic. The base sheet comms-workspace.css carries a
   @media (prefers-color-scheme: dark) block, and the window ships as
   .fcc-cw-theme-auto, so on a device set to dark the SURFACES went dark
   while the light-theme ink stayed dark. Measured result: the product
   name at 1.2:1 and navigation labels at 1.5:1 - effectively invisible.

   Because every rule in this file is token-driven, redefining the tokens
   under the dark conditions re-themes the whole module. Shadows are
   recalibrated for dark surfaces rather than reusing the light theme's
   white highlights, as the prompt requires.
   ===================================================================== */
.fcc-cw-window.fcc-cw-theme-dark,
.fcc-cw-window.fcc-cw-dark {
  --ucp-bg:        #202631;
  --ucp-surface:   #29313D;
  --ucp-elevated:  #303947;
  --ucp-recessed:  #1B212B;
  --ucp-text:      #F1F4FA;
  --ucp-text-2:    #A8B4C5;
  --ucp-text-2-strong: #BCC7D6;
  --ucp-accent:    #7295FF;
  --ucp-accent-sf: #2E3A55;
  --ucp-accent-ink:#C9D7FF;
  --ucp-brand-ink: #8FAEFF;
  --ucp-edge:      rgba(255,255,255,0.06);
  --ucp-raise:    8px 8px 18px rgba(0,0,0,0.42),
                 -8px -8px 18px rgba(255,255,255,0.045);
  --ucp-raise-hi: 10px 10px 22px rgba(0,0,0,0.50),
                 -10px -10px 22px rgba(255,255,255,0.06);
  --ucp-raise-sm: 5px 5px 11px rgba(0,0,0,0.38),
                 -5px -5px 11px rgba(255,255,255,0.04);
  --ucp-inset:    inset 5px 5px 10px rgba(0,0,0,0.42),
                  inset -5px -5px 10px rgba(255,255,255,0.045);
  --ucp-inset-sm: inset 3px 3px 7px rgba(0,0,0,0.38),
                  inset -3px -3px 7px rgba(255,255,255,0.04);
}
@media (prefers-color-scheme: dark) {
  .fcc-cw-window.fcc-cw-theme-auto {
    --ucp-bg:        #202631;
    --ucp-surface:   #29313D;
    --ucp-elevated:  #303947;
    --ucp-recessed:  #1B212B;
    --ucp-text:      #F1F4FA;
    --ucp-text-2:    #A8B4C5;
    --ucp-text-2-strong: #BCC7D6;
    --ucp-accent:    #7295FF;
    --ucp-accent-sf: #2E3A55;
    --ucp-accent-ink:#C9D7FF;
    --ucp-brand-ink: #8FAEFF;   /* lighter blue reads on dark surfaces */
    --ucp-edge:      rgba(255,255,255,0.06);
    --ucp-raise:    8px 8px 18px rgba(0,0,0,0.42),
                   -8px -8px 18px rgba(255,255,255,0.045);
    --ucp-raise-hi: 10px 10px 22px rgba(0,0,0,0.50),
                   -10px -10px 22px rgba(255,255,255,0.06);
    --ucp-raise-sm: 5px 5px 11px rgba(0,0,0,0.38),
                   -5px -5px 11px rgba(255,255,255,0.04);
    --ucp-inset:    inset 5px 5px 10px rgba(0,0,0,0.42),
                    inset -5px -5px 10px rgba(255,255,255,0.045);
    --ucp-inset-sm: inset 3px 3px 7px rgba(0,0,0,0.38),
                    inset -3px -3px 7px rgba(255,255,255,0.04);
  }
  /* The base sheet paints its own dark surfaces; ours must sit on top
     rather than leave light panels stranded on a dark page. */
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto,
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-titlebar,
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-rail {
    background-color: var(--ucp-surface) !important;
  background-image: linear-gradient(145deg, var(--ucp-elevated), var(--ucp-surface)) !important;
    color: var(--ucp-text) !important;
  }
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-brand,
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-title-mod,
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-navitem-label,
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-titlebar span,
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-titlebar button,
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-titlebar button span {
    color: var(--ucp-text) !important;
  }
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-chip,
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-row-prev,
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-row-time,
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-empty-sub,
  .fcc-cw-window.fcc-cw-theme-auto.fcc-cw-theme-auto.fcc-cw-theme-auto .fcc-cw-pane-sub {
    color: var(--ucp-text-2-strong) !important;
  }
}

/* Surfaces declare background-color AND background-image. A gradient alone
   is a background-image, so the element's computed backgroundColor stays
   transparent - anything sitting behind it (including the portal's dark
   page) shows through to contrast tooling and to any browser that fails to
   paint the gradient. The solid colour is the floor; the gradient is the
   finish. */

/* ---- shell ---------------------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window {
  background-color: var(--ucp-bg) !important;
  background-image: linear-gradient(145deg, #EDF0F7, var(--ucp-bg)) !important;
  color: var(--ucp-text) !important;
  border: 0 !important;
  border-radius: var(--ucp-r-panel) !important;
  font-family: Inter, -apple-system, "Segoe UI", system-ui, sans-serif !important;
  box-shadow: var(--ucp-raise) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-body { background: transparent !important; }

/* Title bar keeps the existing logo and product name; only the surface changes. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar {
  background-color: var(--ucp-surface) !important;
  background-image: linear-gradient(145deg, var(--ucp-elevated), var(--ucp-surface)) !important;
  color: var(--ucp-text) !important;
  border: 0 !important; border-bottom: 0 !important;
  box-shadow: var(--ucp-raise-sm) !important;
}
/* --- title bar ink ---
   The bar was rendering white text on a light surface. The product name and
   module name now use the application's blue so the bar reads as part of
   the app rather than a separate panel. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-brand,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-brand *,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-title-mod,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-title-mod * {
  /* The app blue #4778ED measured 3.6:1 on the #F0F3F9 bar - under AA for
     text this size. --ucp-brand-ink is the same hue a few steps darker, so
     it still reads as the application's blue while staying legible. */
  color: var(--ucp-brand-ink) !important;
  font-weight: 600 !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-brandmark { color: var(--ucp-brand-ink) !important; }
/* Alerts, minimize, maximize and close sit on a light bar, so their glyphs
   take the application blue rather than the white they inherited from when
   the bar was dark. stroke/fill are set as well as color because the icons
   are inline SVG and do not all use currentColor. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar .fcc-cw-iconbtn,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar .fcc-cw-winbtn,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar .fcc-cw-presence {
  color: var(--ucp-brand-ink) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar .fcc-cw-iconbtn svg,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar .fcc-cw-winbtn svg,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar .fcc-cw-presence svg,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar .fcc-cw-iconbtn svg *,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar .fcc-cw-winbtn svg * {
  color: var(--ucp-brand-ink) !important;
  stroke: var(--ucp-brand-ink) !important;
}
/* Close keeps the destructive colour so it stays distinguishable. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar .fcc-cw-winbtn.is-close:hover,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar .fcc-cw-winbtn.is-close:hover svg,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar .fcc-cw-winbtn.is-close:hover svg * {
  color: var(--ucp-danger) !important;
  stroke: var(--ucp-danger) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-title-rule {
  background: rgba(95,107,130,.28) !important;
}

/* ---- zone A: navigation sidebar ------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-rail {
  background-color: var(--ucp-surface) !important;
  background-image: linear-gradient(145deg, var(--ucp-elevated), var(--ucp-surface)) !important;
  border: 0 !important; border-right: 0 !important;
  box-shadow: var(--ucp-raise-sm) !important;
}
/* Selected route is a soft blue elevated capsule, per section 3. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-rail-btn,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-railbtn {
  background: transparent !important;
  color: var(--ucp-text-2) !important;
  border: 0 !important;
  border-radius: var(--ucp-r-btn) !important;
  font-weight: 500 !important;
  transition: box-shadow var(--ucp-ease), color var(--ucp-ease), background var(--ucp-ease) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-rail-btn:hover,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-railbtn:hover {
  color: var(--ucp-text) !important;
  box-shadow: var(--ucp-raise-sm) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-rail-btn.is-active,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-railbtn.is-active {
  background: var(--ucp-accent-sf) !important;
  color: var(--ucp-accent) !important;
  box-shadow: var(--ucp-raise-sm) !important;
}

/* ---- zone B + C surfaces -------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane {
  background: transparent !important;
  border: 0 !important; border-right: 0 !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list-head,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-head,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-detail-head {
  background-color: var(--ucp-surface) !important;
  background-image: linear-gradient(145deg, var(--ucp-elevated), var(--ucp-surface)) !important;
  color: var(--ucp-text) !important;
  border: 0 !important; border-bottom: 0 !important;
  border-radius: var(--ucp-r-btn) !important;
  box-shadow: var(--ucp-raise-sm) !important;
}

/* ---- typography: every text element gets an explicit colour ---------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list-title,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-title {
  color: var(--ucp-text) !important; font-weight: 600 !important; font-size: 17px !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row-name,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-tile-name,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-msg-author,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-text,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-empty-title {
  color: var(--ucp-text) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-sub,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-id,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row-prev,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row-time,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-label,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-empty-sub,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-msg-time,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-detail-line {
  color: var(--ucp-text-2) !important;
}

/* ---- rows ------------------------------------------------------------ */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row {
  background: transparent !important;
  border: 0 !important; border-bottom: 0 !important;
  border-radius: var(--ucp-r-btn) !important;
  margin: 6px 10px !important;
  color: var(--ucp-text) !important;
  transition: box-shadow var(--ucp-ease), background var(--ucp-ease) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row:hover {
  background: var(--ucp-elevated) !important;
  box-shadow: var(--ucp-raise-sm) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row.is-active,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row.is-selected,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row[aria-selected="true"] {
  background: var(--ucp-accent-sf) !important;
  box-shadow: var(--ucp-inset-sm) !important;
  color: var(--ucp-text) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-rail-btn.is-active,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-railbtn.is-active {
  color: var(--ucp-accent-ink) !important;
}

/* ---- buttons --------------------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-btn {
  background: var(--ucp-accent) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: var(--ucp-r-btn) !important;
  min-height: 42px !important;
  font-weight: 600 !important;
  box-shadow: var(--ucp-raise-sm) !important;
  transition: box-shadow var(--ucp-ease), filter var(--ucp-ease) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-btn:hover {
  box-shadow: var(--ucp-raise-hi) !important; filter: brightness(1.05) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-btn:active { box-shadow: var(--ucp-inset-sm) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-btn.is-ghost,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-btn.is-secondary {
  background-color: var(--ucp-surface) !important;
  background-image: linear-gradient(145deg, var(--ucp-elevated), var(--ucp-surface)) !important;
  color: var(--ucp-text) !important;
  box-shadow: var(--ucp-raise-sm) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-btn.is-danger,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-btn.is-leave {
  background: var(--ucp-danger) !important; color: #FFFFFF !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-iconbtn {
  background-color: var(--ucp-surface) !important;
  background-image: linear-gradient(145deg, var(--ucp-elevated), var(--ucp-surface)) !important;
  color: var(--ucp-text-2) !important;
  border: 0 !important;
  border-radius: var(--ucp-r-btn) !important;
  min-width: 42px !important; min-height: 42px !important;
  box-shadow: var(--ucp-raise-sm) !important;
  transition: box-shadow var(--ucp-ease), color var(--ucp-ease) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-iconbtn:hover {
  color: var(--ucp-text) !important; box-shadow: var(--ucp-raise-hi) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-iconbtn:active,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-iconbtn.is-on {
  box-shadow: var(--ucp-inset-sm) !important;
  color: var(--ucp-accent) !important;
  background: var(--ucp-accent-sf) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window :focus-visible {
  outline: 2px solid var(--ucp-accent) !important;
  outline-offset: 3px !important;
}

/* ---- chips / tabs ---------------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-chip {
  background-color: var(--ucp-surface) !important;
  background-image: linear-gradient(145deg, var(--ucp-elevated), var(--ucp-surface)) !important;
  color: var(--ucp-text-2-strong) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: var(--ucp-raise-sm) !important;
  transition: box-shadow var(--ucp-ease), color var(--ucp-ease) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-chip.is-active,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-chip.is-on,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-chip[aria-pressed="true"] {
  background: var(--ucp-accent-sf) !important;
  color: var(--ucp-accent-ink) !important;
  box-shadow: var(--ucp-inset-sm) !important;
  font-weight: 600 !important;
}

/* ---- badges, avatars, presence --------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-badge {
  background: var(--ucp-accent) !important;
  color: #FFFFFF !important;
  border: 0 !important; border-radius: 999px !important;
  font-weight: 600 !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-avatar {
  background-color: var(--ucp-recessed) !important;
  background-image: linear-gradient(145deg, var(--ucp-elevated), var(--ucp-recessed)) !important;
  color: var(--ucp-accent) !important;
  border: 0 !important;
  box-shadow: var(--ucp-raise-sm) !important;
  font-weight: 600 !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-presence.is-online,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-dot.is-online {
  background: var(--ucp-presence) !important;
}

/* ---- inputs are recessed --------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-search,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-field,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-input,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-form input,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-form textarea,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-form select {
  background: var(--ucp-recessed) !important;
  color: var(--ucp-text) !important;
  border: 0 !important;
  border-radius: var(--ucp-r-btn) !important;
  box-shadow: var(--ucp-inset) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window ::placeholder {
  color: var(--ucp-text-2) !important; opacity: 1 !important;
}

/* ---- chat ------------------------------------------------------------ */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-msgs {
  background: transparent !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-msg-body,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-bubble {
  background: var(--ucp-surface) !important;
  color: var(--ucp-text) !important;
  border: 0 !important;
  border-radius: var(--ucp-r-btn) !important;
  box-shadow: var(--ucp-raise-sm) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-msg.is-me .fcc-cw-bubble,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-bubble.is-me {
  background: var(--ucp-accent-sf) !important;
  color: var(--ucp-text) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-composer {
  background: transparent !important; border: 0 !important; border-top: 0 !important;
}

/* ---- meeting surfaces ------------------------------------------------ */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-callbar,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-ring,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-roster {
  background-color: var(--ucp-surface) !important;
  background-image: linear-gradient(145deg, var(--ucp-elevated), var(--ucp-surface)) !important;
  color: var(--ucp-text) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: var(--ucp-raise) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-roster { border-radius: var(--ucp-r-panel) !important; }
/* Video wells stay dark: a neumorphic video container is unreadable. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-tile {
  background: #1b2436 !important;
  border: 0 !important;
  border-radius: var(--ucp-r-video) !important;
  box-shadow: var(--ucp-raise-sm) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-tile.is-speaking {
  outline: 3px solid var(--ucp-accent) !important; outline-offset: -3px !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-tile-name {
  background: rgba(23,36,59,.72) !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
}

/* ---- floating meeting control dock (prompt section 6) ---------------
   A softly raised horizontal capsule of separated rounded controls,
   floating over the meeting area rather than welded to its edge.
   -------------------------------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-callbar {
  border-radius: 999px !important;
  padding: 10px 14px !important;
  gap: 10px !important;
  box-shadow: var(--ucp-raise) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-callbar button {
  border-radius: 999px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  background-color: var(--ucp-surface) !important;
  background-image: linear-gradient(145deg, var(--ucp-elevated), var(--ucp-surface)) !important;
  color: var(--ucp-text-2) !important;
  border: 0 !important;
  box-shadow: var(--ucp-raise-sm) !important;
  transition: box-shadow var(--ucp-ease), color var(--ucp-ease) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-callbar button:hover {
  color: var(--ucp-text) !important;
  box-shadow: var(--ucp-raise-hi) !important;
}
/* An engaged control is recessed with a soft blue fill, per section 2. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-callbar button.is-on,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-callbar button[aria-pressed="true"] {
  background-color: var(--ucp-accent-sf) !important;
  background-image: none !important;
  color: var(--ucp-accent-ink) !important;
  box-shadow: var(--ucp-inset-sm) !important;
}
/* End call is the one destructive control and must read as such. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-callbar button.is-leave,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-callbar button.is-danger,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-callbar button.fcc-cw-hangup {
  background-color: var(--ucp-danger) !important;
  background-image: none !important;
  color: #FFFFFF !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-callbar button:disabled {
  opacity: .45 !important;
  box-shadow: var(--ucp-inset-sm) !important;
  cursor: not-allowed !important;
}

/* ---- video stage + thumbnail strip (prompt section 5) --------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-call {
  background-color: var(--ucp-bg) !important;
  background-image: none !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-call-title { color: var(--ucp-text) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-call-sub { color: var(--ucp-text-2-strong) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-call-grid { gap: 12px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pip {
  border: 0 !important;
  border-radius: var(--ucp-r-video) !important;
  box-shadow: var(--ucp-raise) !important;
}

/* ---- whiteboard inside a conversation --------------------------------
   The canvas is position:absolute; inset:0, so it fills its parent and
   contributes no height of its own. In the Whiteboards section the wrap
   gets its size from that layout, but inside the chat pane nothing sized
   it: fitCanvas() measured a zero-height parent, sized the canvas to 1px
   and every stroke landed outside the visible area. Hence "nothing
   writes". The host is given real height and the wrap is made a
   containing block so inset:0 resolves against it.
   -------------------------------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-board-host {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 360px !important;
  position: relative !important;
  margin: 10px 14px 14px !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-board-host .fcc-cw-board-wrap {
  position: relative !important;
  flex: 1 1 auto !important;
  min-height: 320px !important;
  width: 100% !important;
  border-radius: var(--ucp-r-video) !important;
  background-color: #FFFFFF !important;
  box-shadow: var(--ucp-inset) !important;
  overflow: hidden !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-board-host .fcc-cw-board-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
  padding: 10px 0 !important;
  flex: 0 0 auto !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-swatch {
  width: 26px !important; height: 26px !important;
  border-radius: 50% !important; border: 0 !important;
  box-shadow: var(--ucp-raise-sm) !important;
  cursor: pointer !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-swatch.is-on {
  outline: 2px solid var(--ucp-accent) !important;
  outline-offset: 2px !important;
}

/* ---- bottom nav (mobile) --------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-botnav {
  background-color: var(--ucp-surface) !important;
  background-image: linear-gradient(145deg, var(--ucp-elevated), var(--ucp-surface)) !important;
  border: 0 !important; border-top: 0 !important;
  box-shadow: 0 -6px 18px rgba(158,171,194,.27) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-botnav-item {
  background: transparent !important;
  color: var(--ucp-text-2) !important;
  border: 0 !important;
  border-radius: var(--ucp-r-btn) !important;
  min-height: 44px !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-botnav-item.is-active,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-botnav-item.is-on {
  color: var(--ucp-accent) !important;
  background: var(--ucp-accent-sf) !important;
  box-shadow: var(--ucp-inset-sm) !important;
}

.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-toast {
  background: var(--ucp-text) !important; color: #FFFFFF !important;
  border-radius: var(--ucp-r-btn) !important;
}

/* ---- safety net ------------------------------------------------------
   Scoped to the light content areas only. A blanket div/span rule was
   tried first and measured WORSE: it forced dark text onto the blue
   active navigation pill, dropping "Chat" to 3.3:1. Elements that paint
   their own saturated or dark background must keep their own colour, so
   the net is cast only where the surface is known to be light.
   -------------------------------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list span,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list div,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane span,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane div,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-msgs span,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-msgs div {
  color: var(--ucp-text);
}
/* ---- measured contrast repairs --------------------------------------
   Found by measuring every rendered text/background pair in the module,
   not by eye:

   "Available"  white on #DCECF6 = 1.2:1  - unreadable, the exact fault
                reported. Presence text inherited white from a rule meant
                for a coloured pill it no longer sits on.
   "Chat"       host --text #172333 on the blue active pill #1D6FE0 = 3.3:1.
                This one comes from the host sheet, not from this file, but
                it is visible inside our navigation so it is corrected here.
   "2:43 PM"    #5F6B82 on #DCECF6 = 4.4:1, just under AA for small text.
   -------------------------------------------------------------------- */
/* The title bar used to be blue, so everything inside it was white. Making
   the bar light turned that white text invisible - measured 1.2:1 on
   "Available". Every control in the title bar now takes dark ink. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar button,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar button span,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar span,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-presence,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-presence span,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-presence-label,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-status-text,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-head span,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-detail-bar span {
  color: var(--ucp-text) !important;
}
/* The presence dot itself must keep its status colour. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-presence svg,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-presence i {
  color: var(--ucp-presence) !important;
}
/* Timestamps and other small metadata need the stronger secondary. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row-time,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row-prev,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-empty-sub,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-label,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-sub,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-msg-time {
  color: var(--ucp-text-2-strong) !important;
}
/* The active navigation capsule carries a saturated blue fill, so its
   label must be white regardless of which sheet set it. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .is-active .fcc-cw-navitem-label,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .is-on .fcc-cw-navitem-label,
.fcc-cw-window.fcc-cw-window.fcc-cw-window [aria-current="page"] .fcc-cw-navitem-label,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem.is-active .fcc-cw-navitem-label {
  color: #FFFFFF !important;
}

/* White stays white where the fill behind it is dark or saturated. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-tile *,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-btn *,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-badge *,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-toast *,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-tile-name,
.fcc-cw-window.fcc-cw-window.fcc-cw-window [class*="is-active"] .fcc-cw-navitem-label {
  color: inherit !important;
}

@media (max-width: 767px) {
  /* The bottom nav's "More" toggles .is-rail-open to slide this rail in.
     A flat display:none (added to stop the rail and the bottom bar both
     occupying a phone screen) silently broke that button: the class
     toggled and nothing appeared. Hide it only while it is closed. */
  .fcc-cw-window.fcc-cw-window.fcc-cw-window:not(.is-rail-open) .fcc-cw-rail { display: none !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window.is-rail-open .fcc-cw-rail {
    display: flex !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    z-index: 40 !important;
    width: 230px !important;
    max-width: 78% !important;
    transform: none !important;
    box-shadow: var(--ucp-raise) !important;
  }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window.is-rail-open .fcc-cw-scrim {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 39 !important;
    background: rgba(23,36,59,.38) !important;
  }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window { border-radius: 0 !important; box-shadow: none !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row { margin: 5px 8px !important; min-height: 44px !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list,
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane { width: 100% !important; max-width: 100% !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-composer {
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-botnav {
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window.is-convo:has(.fcc-cw-pane .fcc-cw-empty):has(.fcc-cw-list .fcc-cw-row) .fcc-cw-list { display: flex !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window.is-convo:has(.fcc-cw-pane .fcc-cw-empty):has(.fcc-cw-list .fcc-cw-row) .fcc-cw-pane { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .fcc-cw-window.fcc-cw-window.fcc-cw-window * { transition: none !important; animation: none !important; }
}


/* =====================================================================
   BLUE LINE BORDER - OUTER SHELL ONLY

   Rich, 19 Nov 2026: "The blue border should only be applied to the outer
   layer, not on the objects on the UI."

   The first pass also outlined the title bar, nav rail, list column, panel
   headers, rows, composer, roster, call bar, tiles, board, bubbles, buttons,
   chips and inputs. All of that is removed here. The module keeps ONE blue
   line around its outer edge; every interior surface goes back to pure
   neumorphism, defined by shadow alone.

   box-sizing keeps the 2px line inside the window's own dimensions instead
   of growing it.
   ===================================================================== */

.fcc-cw-window {
  --ucp-line: #4778ED;
}
.fcc-cw-window.fcc-cw-theme-dark,
.fcc-cw-window.fcc-cw-dark {
  --ucp-line: #7295FF;
}
@media (prefers-color-scheme: dark) {
  .fcc-cw-window.fcc-cw-theme-auto { --ucp-line: #7295FF; }
}

.fcc-cw-window.fcc-cw-window.fcc-cw-window {
  box-sizing: border-box !important;
  border: 2px solid var(--ucp-line) !important;
}






/* =====================================================================
   COMMUNICATIONS RESTYLE v2 - targets the REAL class names
   Rich, 18:09: "I am not seeing the change."

   He was right. v1 styled .fcc-cw-bubble/.fcc-cw-row/.fcc-cw-composer -
   chat surfaces. His screenshot was the CALENDAR, which is built from
   .fcc-cw-cal-* and .fcc-cw-navitem. None of my selectors matched, so
   that screen was literally untouched.

   Real classes, read off the live DOM:
     rail      .fcc-cw-navitem (x11)
     calendar  .fcc-cw-cal-day/-num/-dots/-dot/-dow/-head/-title
     empty     .fcc-cw-empty/-title/-sub   (most sections are empty states)
     pane      .fcc-cw-pane-head/-title/-sub/-id/-actions
     misc      .fcc-cw-msgs .fcc-cw-tab(s) .fcc-cw-avatar .fcc-cw-iconbtn
               .fcc-cw-detail-head/-line .fcc-cw-text .fcc-cw-btn .fcc-cw-chip
   CSS only - no markup, no JavaScript.
   ===================================================================== */

.fcc-cw-window.fcc-cw-window.fcc-cw-window {
  --ucp-accent: #1685dc;
  --ucp-line:   #1685dc;
  --fcc-sans:   'Lato', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fcc-head:   'Fira Sans', 'Lato', system-ui, sans-serif;
  font-family: var(--fcc-sans) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window *, .fcc-cw-window.fcc-cw-window.fcc-cw-window input, .fcc-cw-window.fcc-cw-window.fcc-cw-window textarea, .fcc-cw-window.fcc-cw-window.fcc-cw-window select, .fcc-cw-window.fcc-cw-window.fcc-cw-window button {
  font-family: var(--fcc-sans) !important;
}

/* Headings in Fira Sans - v1 targeted "strong" children that do not exist. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-title,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-cal-title,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-empty-title,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-detail-head,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list-head,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar strong,
.fcc-cw-window.fcc-cw-window.fcc-cw-window h1, .fcc-cw-window.fcc-cw-window.fcc-cw-window h2, .fcc-cw-window.fcc-cw-window.fcc-cw-window h3 {
  font-family: var(--fcc-head) !important;
  letter-spacing: -0.01em;
}

/* ---- navigation rail ---- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem {
  font-size: 15px !important;
  border-radius: 12px !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem.is-active,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem[aria-current="true"],
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem[aria-selected="true"] {
  color: #0f6fb8 !important;
  font-weight: 700 !important;
}

/* ---- calendar ---- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-cal-title { font-size: 19px !important; font-weight: 700 !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-cal-dow   { font-size: 12.5px !important; font-weight: 700 !important;
                          letter-spacing: .08em !important; text-transform: uppercase; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-cal-num   { font-size: 15.5px !important; font-weight: 600 !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-cal-day   { border-radius: 14px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-cal-day.is-today,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-cal-day[aria-selected="true"] {
  box-shadow: inset 0 0 0 2px #1685dc !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-cal-dot   { background: #1685dc !important; }

/* ---- empty states (Activity, Teams, Meetings, Calls, Contacts, Whiteboards) ---- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-empty-title { font-size: 18px !important; font-weight: 700 !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-empty-sub   { font-size: 14.5px !important; line-height: 1.55 !important; }

/* ---- pane header ---- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-title { font-size: 17px !important; font-weight: 700 !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-sub,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-id    { font-size: 13.5px !important; }

/* ---- shared controls ---- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-tab        { font-size: 14.5px !important; font-weight: 600 !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-chip       { font-size: 13.5px !important; font-weight: 600 !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-btn        { font-size: 14.5px !important; font-weight: 600 !important;
                           border-radius: 12px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-detail-head{ font-size: 15.5px !important; font-weight: 700 !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-detail-line,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-text       { font-size: 14.5px !important; line-height: 1.55 !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-bubble     { font-size: 15px !important; line-height: 1.55 !important;
                           border-radius: 18px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row        { border-radius: 18px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-composer   { border-radius: 20px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window small, .fcc-cw-window.fcc-cw-window.fcc-cw-window time   { font-size: 13px !important; }

/* ---- overflow guards (v1 pushed 130px of overflow into a 686px window) ---- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-body { min-width: 0 !important; overflow: hidden !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-rail, .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list, .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane { min-width: 0 !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }


/* ---- OVERFLOW + POPOVER CONTAINMENT -------------------------------
   Measured on the live app at the default 686px window:
     .fcc-cw-body  scrollWidth 812 vs clientWidth 682  -> 130px overflow
     .fcc-cw-pane  needs 298px, allocated 168px
   Cause: .fcc-cw-rail (212) + .fcc-cw-list (302) are fixed widths that
   consume 514 of 682, starving the message pane below its min-content
   width. min-width:0 on the pane alone was not enough - its children
   carry their own intrinsic minimums.

   The emoji popover (.fcc-cw-emoji-pop, 341x387) also overhung the
   window by 26px at the bottom and 9px at the right.
   ------------------------------------------------------------------- */

/* Let the two fixed columns give ground before the pane is starved. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-rail {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 212px !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 302px !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

/* Children must be allowed to shrink or they re-impose the minimum. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane > *,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-head,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-actions,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-tabs,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-msgs,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-composer {
  min-width: 0 !important;
  max-width: 100% !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-msgs { overflow-x: hidden !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-title,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-sub,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane-id {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-bubble { max-width: 100% !important; overflow-wrap: anywhere !important; }

/* Keep popovers inside the window instead of hanging past its edge. */



/* ---- NARROW-WINDOW COLUMN COLLAPSE + POPOVER EDGE ------------------
   Measured across window widths:
     686px  -> pane starved to 168px against a 298px min  (130px overflow)
     900px  -> pane 389px, overflow 0
     1200px -> pane 689px, overflow 0
   Three columns need ~812px. The window DEFAULTS to 686px, so anyone who
   does not resize gets an unusable 168px message pane. Below 820px the
   rail drops its labels to an icon strip and the list narrows, which
   hands the pane back enough room instead of overflowing.

   The emoji popover still overhung the right edge by 23px after the
   previous pass; it is now pinned inside the window.
   ------------------------------------------------------------------- */

@container (max-width: 820px) {
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-rail { max-width: 64px !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list { max-width: 240px !important; }
}

/* Container queries are not guaranteed here, so drive it from the window's
   own inline width via a width-based fallback on the shell. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 6"] .fcc-cw-rail,

/* removed inline-width rail 64px - was stripping branding on any window under 820px */

.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 6"] .fcc-cw-navitem,

/* removed inline-width navitem font-size:0 - was stripping branding on any window under 820px */

.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 6"] .fcc-cw-navitem svg,
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 7"] .fcc-cw-navitem svg,
.fcc-cw-window.fcc-cw-window.fcc-cw-window:not([style*="width"]) .fcc-cw-navitem svg {
  width: 20px !important; height: 20px !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 6"] .fcc-cw-list,
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 7"] .fcc-cw-list,
.fcc-cw-window.fcc-cw-window.fcc-cw-window:not([style*="width"]) .fcc-cw-list {
  max-width: 240px !important;
}

/* Keep the emoji popover fully inside the window on every edge. */



/* ---- COMMUNICATIONS SHELL (pairs with comms-shell.js) --------------
   Styles ONLY the new .fcc-sh-* elements plus card framing on the
   existing columns. No existing control is restyled out of existence.
   -------------------------------------------------------------------- */

.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-cw-body { gap: 14px !important; padding: 0 16px 16px !important; background: transparent !important; }

/* greeting header */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-head { padding: 14px 18px 10px; flex: 0 0 auto; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-crumbs { font-size: 13px; color: #6b7a8c; display: flex; gap: 8px; align-items: center; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-crumbs strong { color: #25394c; font-weight: 600; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-sep { opacity: .5; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 8px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-greet h1 { font-family: var(--fcc-head) !important; font-size: 30px !important;
  font-weight: 700 !important; margin: 0; letter-spacing: -0.02em; color: #1b2b3a; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-greet p { margin: 4px 0 0; font-size: 14.5px; color: #64748b; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-newconv {
  background: #1685dc !important; color: #fff !important; border: 0 !important;
  border-radius: 12px !important; padding: 11px 18px !important;
  font-size: 14.5px !important; font-weight: 600 !important; cursor: pointer;
  box-shadow: 0 6px 16px rgba(22,133,220,.28) !important; white-space: nowrap;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-newconv:hover { background: #1174c4 !important; }

/* columns as separated cards */
.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-cw-list,
.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-cw-pane,
.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-sh-details {
  background: #fff !important; border-radius: 18px !important;
  box-shadow: 0 1px 2px rgba(16,32,52,.06), 0 8px 24px rgba(16,32,52,.06) !important;
  border: 1px solid #e8edf4 !important; overflow: hidden !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-cw-rail { background: transparent !important; }

/* rail furniture */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-ws { display: flex; align-items: center; gap: 10px; margin: 4px 8px 14px;
  padding: 9px 10px; background: #fff; border: 1px solid #e8edf4; border-radius: 14px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-ws-badge { width: 30px; height: 30px; border-radius: 9px; background: #e8f1f8;
  color: #0f6fb8; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-ws-txt { display: flex; flex-direction: column; min-width: 0; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-ws-txt strong { font-size: 13.5px; color: #25394c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-ws-txt small { font-size: 11.5px; color: #8294a8; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-railsec { font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: #9aa8b8; margin: 0 14px 6px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-railfoot { margin: auto 8px 10px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-promo { background: #fff; border: 1px solid #e8edf4; border-radius: 14px; padding: 11px 12px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-promo strong { display: block; font-size: 13px; color: #25394c; margin-bottom: 3px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-promo small { font-size: 11.5px; color: #8294a8; line-height: 1.45; display: block; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #35c07a; margin-right: 6px; }

/* details column */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-details { flex: 0 0 248px !important; min-width: 0 !important; display: flex; flex-direction: column; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-dhead { padding: 14px 16px; border-bottom: 1px solid #eef2f7; font-size: 14px; color: #25394c; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-dbody { padding: 16px; overflow: auto; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-dwho { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 14px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-davatar { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: #dbe5ee; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-davatar img { width: 100%; height: 100%; object-fit: cover; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-dname { font-family: var(--fcc-head) !important; font-size: 16px; color: #1b2b3a; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-drole { font-size: 13px; color: #7a8a9c; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-dsec { padding-top: 14px; border-top: 1px solid #eef2f7; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-dsec h3 { font-family: var(--fcc-head) !important; font-size: 14px; margin: 0 0 8px; color: #25394c; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-dsec h3 i { font-style: normal; color: #9aa8b8; font-weight: 500; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-drow { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 4px 0; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-drow span { color: #8294a8; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-drow b { color: #25394c; font-weight: 600; text-align: right; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-dfile { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; color: #25394c; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-dfile span { width: 24px; height: 28px; border-radius: 5px; background: #eef3f9; flex: 0 0 auto; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-dempty { font-size: 13px; color: #8294a8; margin: 0; }

/* Hide the extra column when there is genuinely no room for it. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 6"] .fcc-sh-details,
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 7"] .fcc-sh-details,
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 8"] .fcc-sh-details,
.fcc-cw-window.fcc-cw-window.fcc-cw-window:not([style*="width"]) .fcc-sh-details { display: none !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 6"] .fcc-sh-greet h1,
.fcc-cw-window.fcc-cw-window.fcc-cw-window:not([style*="width"]) .fcc-sh-greet h1 { font-size: 22px !important; }


/* ---- GLASSMORPHISM -------------------------------------------------
   Rich: "the white area should reflect glassmorphism with a beautiful
   4k image in the background."

   Backdrop image measured: mean luminance 0.47, range 0.005-0.993 - a
   high-contrast mid-tone. Glass panels therefore stay at 0.78-0.86 white
   rather than the thin 0.4 that looks good over a flat colour; below that
   the dark olive and cream regions bleed through and body text drops under
   the 4.5:1 AA floor. Blur does the work, not transparency.
   -------------------------------------------------------------------- */

.fcc-cw-window.fcc-cw-window.fcc-cw-window {
  background-image:
    linear-gradient(rgba(233,239,246,.42), rgba(233,239,246,.42)),
    url("/comms-bg-20261119183917.webp") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-cw-body { background: transparent !important; }

.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar {
  background: rgba(255,255,255,.72) !important;
  backdrop-filter: blur(18px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.25) !important;
  border-bottom: 1px solid rgba(255,255,255,.55) !important;
}

.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-cw-list,
.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-cw-pane,
.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-sh-details {
  background: rgba(255,255,255,.82) !important;
  backdrop-filter: blur(22px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.3) !important;
  border: 1px solid rgba(255,255,255,.6) !important;
  box-shadow: 0 1px 2px rgba(16,32,52,.07), 0 10px 30px rgba(16,32,52,.10) !important;
}

.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-ws,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-promo {
  background: rgba(255,255,255,.78) !important;
  backdrop-filter: blur(16px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.2) !important;
  border: 1px solid rgba(255,255,255,.6) !important;
}

/* Rows and bubbles sit ON the glass, so they stay near-solid. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row { background: rgba(255,255,255,.62) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row[aria-selected="true"] { background: rgba(232,241,248,.92) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-bubble { background: rgba(255,255,255,.94) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-composer {
  background: rgba(255,255,255,.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-search input, .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-search {
  background: rgba(255,255,255,.75) !important;
}

/* Header text sits directly on the backdrop - give it a lift. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-greet h1 { text-shadow: 0 1px 0 rgba(255,255,255,.75); }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-greet p,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-crumbs { text-shadow: 0 1px 0 rgba(255,255,255,.65); }

/* Branding */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-mark { width: 22px; height: 22px; object-fit: contain; display: block; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-wordmark { padding: 10px 10px 6px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-wordmark img { width: 100%; max-width: 160px; height: auto; display: block; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 6"] .fcc-sh-wordmark,

/* removed inline-width wordmark hide - was stripping branding on any window under 820px */



/* ---- GLASS CORRECTIONS --------------------------------------------
   Measured after the first glass pass:
   1. The Pathway shield swapped into .fcc-cw-brandmark rendered at 0px
      wide. The container sizes its original <svg>, not an <img>, so the
      image collapsed. Both are given explicit dimensions.
   2. The greeting, subtitle and breadcrumb sit DIRECTLY on the backdrop
      with no panel behind them. Against the darkest part of the photo
      (luminance 0.005) the heading measured 1.42:1 - unreadable. A
      text-shadow cannot fix that, so the header gets its own light glass
      band and the shadow is dropped.
   -------------------------------------------------------------------- */

.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-brandmark {
  width: 22px !important; height: 22px !important;
  min-width: 22px !important; flex: 0 0 22px !important;
  display: inline-flex !important; align-items: center; justify-content: center;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-mark { width: 22px !important; height: 22px !important; object-fit: contain; }

.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-head {
  margin: 0 16px 12px !important;
  padding: 14px 18px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.80) !important;
  backdrop-filter: blur(20px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.25) !important;
  border: 1px solid rgba(255,255,255,.62) !important;
  box-shadow: 0 1px 2px rgba(16,32,52,.06), 0 8px 24px rgba(16,32,52,.08) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-greet h1,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-greet p,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-crumbs { text-shadow: none !important; }


/* ---- HEADER TEXT CONTRAST -----------------------------------------
   After adding the header glass band the heading reached 8.69:1, but the
   subtitle (3.05:1) and breadcrumb (2.81:1) were still under the 4.5:1
   AA floor against the darkest part of the backdrop. Both were mid-greys
   (#64748b / #6b7a8c) on an 0.80-alpha panel. Panel lifted to 0.88 and
   the greys darkened.
   -------------------------------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-head { background: rgba(255,255,255,.88) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-greet p { color: #3f5062 !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-crumbs { color: #46586b !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-crumbs strong { color: #1b2b3a !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-mark { width: 22px !important; height: 22px !important; object-fit: contain; display: block !important; }


/* ---- CANDY GLASS RAIL ---------------------------------------------
   Rich: "the menu on the left side is hard to see, add the menu items a
   candy glass background in a way that makes the items visible."

   My fault: when the glass went in I set
     .fcc-sh-on .fcc-cw-rail { background: transparent }
   so the whole menu floated straight on the photograph. Over the forest
   and shadow regions the labels effectively disappeared.

   The rail now gets its own candy-glass slab - brighter and glossier than
   the flat panels, with a vertical sheen and a saturation lift so it reads
   as glass rather than fog - and each item sits on its own translucent
   pill so it stays legible wherever the backdrop happens to be dark.
   -------------------------------------------------------------------- */

.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-cw-rail {
  background:
    linear-gradient(180deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.76) 46%, rgba(255,255,255,.86) 100%) !important;
  backdrop-filter: blur(24px) saturate(1.45) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.45) !important;
  border: 1px solid rgba(255,255,255,.70) !important;
  border-radius: 18px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 1px 2px rgba(16,32,52,.07),
    0 10px 30px rgba(16,32,52,.12) !important;
  padding: 8px 8px 10px !important;
}

/* Each item on its own pill, so a dark patch behind cannot swallow it. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem {
  background: rgba(255,255,255,.58) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  border-radius: 12px !important;
  margin: 2px 2px !important;
  color: #1d3042 !important;
  font-weight: 600 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: background .15s ease, color .15s ease !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem:hover {
  background: rgba(255,255,255,.88) !important;
  color: #0f5f99 !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem.is-active,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem[aria-current="true"],
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem[aria-selected="true"] {
  background: linear-gradient(180deg, #2a96e4, #1272bf) !important;
  border-color: rgba(255,255,255,.45) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(18,114,191,.35) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem svg { opacity: .92; }

/* Section label was the least visible thing on screen. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-railsec {
  color: #43596e !important;
  background: rgba(255,255,255,.55) !important;
  border-radius: 8px !important;
  padding: 3px 8px !important;
  margin: 2px 4px 6px !important;
  display: inline-block;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

/* Wordmark needs a plate too - it sat on open sky. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-wordmark {
  background: rgba(255,255,255,.72) !important;
  border: 1px solid rgba(255,255,255,.6) !important;
  border-radius: 12px !important;
  margin: 2px 2px 8px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}


/* ---- MID-SIZE COLUMN BUDGET ---------------------------------------
   QA at 900px found .fcc-cw-pane overflowing by 240px and .fcc-cw-msgs
   by 91px. The narrow-collapse rule only matched widths 6xx/7xx, so at
   900px the rail stayed 212px AND the 248px details column was showing:
   212 + 302 + 248 = 762 of 900, leaving the message pane 138px against
   its ~298px minimum.
   Budget: the details column only earns its place from ~1100px up.
   -------------------------------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 8"] .fcc-sh-details,
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 9"] .fcc-sh-details,
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 10"] .fcc-sh-details { display: none !important; }

.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 8"] .fcc-cw-rail,
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 9"] .fcc-cw-rail { max-width: 180px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 8"] .fcc-cw-list,
.fcc-cw-window.fcc-cw-window.fcc-cw-window[style*="width: 9"] .fcc-cw-list { max-width: 260px !important; }


/* ---- WIDTH BUCKETS (replaces inline-style prefix matching) ---------
   is-narrow  <820px   icon rail, no details column
   is-mid     820-1149 slim rail + list, no details column
   is-wide    >=1150   full rail, details column earns its place
   QA measured the pane needing ~298px minimum; these budgets keep it
   above that at every size.
   -------------------------------------------------------------------- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window.is-narrow .fcc-cw-rail { max-width: 64px !important; }

/* removed is-narrow navitem font-size:0 - was stripping branding on any window under 820px */

.fcc-cw-window.fcc-cw-window.fcc-cw-window.is-narrow .fcc-cw-navitem svg { width: 20px !important; height: 20px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window.is-narrow .fcc-cw-list { max-width: 240px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window.is-narrow .fcc-sh-details { display: none !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window.is-narrow .fcc-sh-greet h1 { font-size: 22px !important; }

.fcc-cw-window.fcc-cw-window.fcc-cw-window.is-mid .fcc-cw-rail { max-width: 180px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window.is-mid .fcc-cw-list { max-width: 260px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window.is-mid .fcc-sh-details { display: none !important; }

.fcc-cw-window.fcc-cw-window.fcc-cw-window.is-wide .fcc-cw-rail { max-width: 212px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window.is-wide .fcc-cw-list { max-width: 302px !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window.is-wide .fcc-sh-details { display: flex !important; }


/* ---- SHELL EXTRAS (pairs with comms-shell-x.js) --------------------
   User card, online cluster, global search, UP NEXT, list grouping and
   the Files / Notes / Meetings tabs. Additive only.
   -------------------------------------------------------------------- */

/* rail footer user */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-user { display:flex; align-items:center; gap:9px; margin-top:8px;
  padding:9px 10px; background:rgba(255,255,255,.78); border:1px solid rgba(255,255,255,.6);
  border-radius:14px; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-uav { width:30px;height:30px;border-radius:50%;background:#dbe5ee;color:#2b4a63;
  font-size:11.5px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:0 0 auto; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-utxt { display:flex;flex-direction:column;min-width:0; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-utxt strong { font-size:13px;color:#1d3042;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-utxt small { font-size:11.5px;color:#5a6e82; }

/* removed is-narrow utxt hide - was stripping branding on any window under 820px */


/* online cluster */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-online { display:flex;align-items:center;gap:0;margin-right:14px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-oav { width:28px;height:28px;border-radius:50%;background:#dbe5ee;color:#2b4a63;
  font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;
  border:2px solid #fff;margin-left:-8px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-oav:first-child { margin-left:0; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-ocount { margin-left:10px;font-size:13px;color:#3f5062;white-space:nowrap; }

/* global search */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-gsearch { position:relative;margin-top:8px;max-width:420px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-gsearch input { width:100%;padding:9px 46px 9px 13px;border-radius:12px;
  border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.72);
  font-size:14px;color:#1d3042;outline:none;
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-gsearch input::placeholder { color:#6b7d90; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-gsearch kbd { position:absolute;right:9px;top:50%;transform:translateY(-50%);
  font-size:11px;color:#5a6e82;background:rgba(255,255,255,.85);border:1px solid #dde5ee;
  border-radius:6px;padding:2px 6px; }

/* removed is-narrow gsearch hide - was stripping branding on any window under 820px */


/* up next */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-mcard { background:rgba(240,246,252,.9);border:1px solid #dfe9f3;border-radius:12px;padding:11px 12px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-mcard strong { display:block;font-size:13.5px;color:#1d3042; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-mcard small { display:block;font-size:12.5px;color:#5a6e82;margin:3px 0 9px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-mbtn { width:100%;border:0;border-radius:10px;background:#1685dc;color:#fff;
  font-size:13px;font-weight:600;padding:8px 10px;cursor:pointer; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-mbtn:hover { background:#1174c4; }

/* list grouping */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-grouplabel { font-size:11px;font-weight:700;letter-spacing:.12em;color:#64788c;
  padding:10px 12px 4px; }

/* extra tabs + panel */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-tab.is-on { color:#0f6fb8 !important;font-weight:700 !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-tabpanel { flex:1 1 auto;overflow:auto;padding:14px 16px;min-width:0; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-mrow { background:rgba(255,255,255,.75);border:1px solid #e8edf4;border-radius:12px;
  padding:10px 12px;margin-bottom:8px; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-mrow strong { display:block;font-size:14px;color:#1d3042; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-mrow small { font-size:12.5px;color:#5a6e82; }


/* ---- POPOVERS ARE THE CLIENT'S ----------------------------------------
   Every CSS override on .fcc-cw-menu / .fcc-cw-emoji-pop was removed.
   The client positions and sizes these itself from the trigger rect.
   "right: auto !important" displaced menus anchored from their right edge
   (the -9px jump Rich saw) and "max-height" forced a resize that moved them
   vertically (-14px). Styling them from here is not worth a menu that will
   not sit still. Do not re-add position, inset, width or height rules for
   these selectors.
   ------------------------------------------------------------------------ */


/* ---- OPACITY + MOBILE FIT -----------------------------------------
   Rich: "too much transparency is not feasible."

   The panels were 0.72-0.82 white over a high-contrast photograph, so
   content competed with the backdrop - worst on the empty-state pane,
   where text sat almost directly on the image. Panels are lifted to
   0.93-0.96: the backdrop still reads around the edges and through the
   gaps, but every surface carrying text is solid enough to read.

   Mobile gets ONLY fit adjustments. Nothing is hidden, nothing is
   de-branded - that was the mistake earlier today.
   -------------------------------------------------------------------- */

/* --- less transparency everywhere text lives --- */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane,
.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-cw-list,
.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-cw-pane,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-details,
.fcc-cw-window.fcc-cw-window.fcc-cw-window.fcc-sh-on .fcc-sh-details { background: rgba(255,255,255,.95) !important; }

.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-rail {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.93)) !important;
}
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-titlebar { background: rgba(255,255,255,.93) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-head { background: rgba(255,255,255,.95) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-ws,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-promo,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-user,
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-wordmark { background: rgba(255,255,255,.94) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-composer { background: rgba(255,255,255,.96) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row { background: rgba(255,255,255,.88) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-row[aria-selected="true"] { background: rgba(232,241,248,.97) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-bubble { background: rgba(255,255,255,.97) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-navitem { background: rgba(255,255,255,.82) !important; }
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-search input { background: rgba(255,255,255,.92) !important; }
/* The empty-state pane was the worst offender - text straight onto the photo. */
.fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-empty { background: transparent !important; }

/* --- mobile: fit only. No hiding, no de-branding. --- */
@media (max-width: 480px) {
  .fcc-cw-window.fcc-cw-window.fcc-cw-window {
    width: 100vw !important; max-width: 100vw !important;
    height: 100dvh !important; left: 0 !important; top: 0 !important;
    border-radius: 0 !important;
  }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-body { padding: 0 8px 8px !important; gap: 8px !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list { max-width: none !important; width: 100% !important; flex: 1 1 auto !important; }
  /* Only the third column goes - there is no room for it at 390px. */
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-details { display: none !important; }
  /* iOS zooms any focused field under 16px. */
  .fcc-cw-window.fcc-cw-window.fcc-cw-window input, .fcc-cw-window.fcc-cw-window.fcc-cw-window textarea, .fcc-cw-window.fcc-cw-window.fcc-cw-window [contenteditable] { font-size: 16px !important; }
  /* Comfortable touch targets. */
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-iconbtn, .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-winbtn,
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-chip, .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-botnav button { min-width: 44px !important; min-height: 44px !important; }
  /* Blur is costly on a phone GPU; the panels are near-solid now anyway. */
  .fcc-cw-window.fcc-cw-window.fcc-cw-window, .fcc-cw-window.fcc-cw-window.fcc-cw-window * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list, .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane { background: rgba(255,255,255,.97) !important; }
}


/* ---- PHONE RAIL ----------------------------------------------------
   Deleting the .is-narrow branding-strippers fixed desktop (the window
   opens at 686px, which is inside that bucket) but those same rules were
   the only thing collapsing the nav rail on phones. At 390px the rail
   came back at its full 212px with labels and swallowed the screen.

   The rail is redundant on a phone anyway - the client already renders
   .fcc-cw-botnav with Activity / Chat / Teams / Meetings / More - so it
   is hidden here and the content gets the full width. Backdrop, glass and
   the greeting header all stay: branding is not what was wrong.

   Phone-scoped only, so desktop (confirmed good) cannot be affected.
   -------------------------------------------------------------------- */

@media (max-width: 480px) {
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-rail { display: none !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-list {
    max-width: none !important; width: 100% !important; flex: 1 1 auto !important;
  }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-pane { max-width: none !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-cw-botnav { display: flex !important; }
  /* Greeting trimmed so the list starts near the top of a short screen. */
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-head { margin: 6px 8px 8px !important; padding: 10px 14px !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-greet h1 { font-size: 18px !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-greet p { font-size: 12.5px !important; }
  .fcc-cw-window.fcc-cw-window.fcc-cw-window .fcc-sh-online { display: none !important; }
}
