/* Homepage "Member workspace" preview (index.html #experience), rendered by assets/js/workspace.js.
   The window chrome (topbar, sidebar frame, glass) stays in styles.css and liquid-glass.css; this
   file styles what goes inside it, plus the shared "Membership required" dialog.
   Three states must never look alike:
     sample  (example data)          neutral grey-blue outline
     member  (needs membership)      blue with a lock
     soon    (not built: Sales AI)   warm sand, never a lock */

:root {
  --ws-ink: #12324d;
  --ws-text: #34536b;
  --ws-muted: #677f93;
  --ws-faint: #8599aa;
  --ws-line: #e1eaf1;
  --ws-line-2: #c9dceb;
  --ws-soft: #f5f9fc;
  --ws-blue: #176db6;
  --ws-radius: 14px;
  --ws-shadow: 0 1px 2px rgba(16, 46, 73, .04), 0 6px 16px -12px rgba(16, 46, 73, .22);
  --ws-shadow-hover: 0 2px 4px rgba(16, 46, 73, .05), 0 14px 28px -16px rgba(16, 46, 73, .34);
  --ws-ease: cubic-bezier(.2, .7, .2, 1);
  --ws-soon: #85621f;
  --ws-soon-bg: #fbf5e9;
  --ws-soon-line: #ecdcbc;
}

.ws-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ws-i {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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


/* Window size and the main pane
   --------------------------------------------------------------------------------------------- */

.hero #experience .demo-layout {
  min-height: 640px;
}

.hero #experience .demo-main {
  padding: 34px 40px 36px;
  container: ws / inline-size;
}

@media (max-width: 990px) {
  .hero #experience .demo-main {
    padding: 28px 26px 30px;
  }
}

@media (max-width: 720px) {
  .hero #experience .demo-main {
    padding: 22px 18px 26px;
  }
}

@media (max-width: 420px) {
  .hero #experience .demo-main {
    padding: 20px 14px 22px;
  }
}


/* Sidebar tabs
   --------------------------------------------------------------------------------------------- */

.demo-nav > .ws-tab {
  position: relative;
  gap: 11px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4d6579;
  border-radius: 10px;
  transition: background-color .16s, color .16s, border-color .16s;
}

.demo-nav > .ws-tab:focus-visible {
  outline-offset: 1px;
}

.ws-tab .ws-i {
  width: 18px;
  height: 18px;
  color: #7995ab;
  transition: color .16s;
}

.ws-tab:hover .ws-i {
  color: #3c77a0;
}

.ws-tab[aria-selected=true] .ws-i {
  color: var(--ws-blue);
}

.ws-tab.is-soon:not([aria-selected=true]) {
  color: #7a8c9b;
}

.ws-tab-label {
  white-space: nowrap;
}

.ws-soon-badge {
  margin-left: auto;
  padding: 2px 6px;
  border: 1px solid var(--ws-soon-line);
  border-radius: 999px;
  background: var(--ws-soon-bg);
  color: var(--ws-soon);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .05em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 721px) {
  /* Sales AI sits apart from the features that exist today. */
  .demo-nav > .ws-tab.is-soon {
    margin-top: 11px;
  }

  .demo-nav > .ws-tab.is-soon::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: -7px;
    height: 1px;
    background: var(--ws-line);
  }
}

@media (max-width: 990px) {
  .ws-soon-long {
    display: none;
  }
}

@media (max-width: 720px) {
  .demo-nav > .ws-tab {
    gap: 8px;
    font-size: 14px;
  }

  .ws-tab .ws-i {
    width: 17px;
    height: 17px;
  }

  .ws-soon-badge {
    margin-left: 2px;
  }
}


/* Page header: eyebrow, status, title, one line of explanation
   --------------------------------------------------------------------------------------------- */

.ws-panel {
  animation: ws-in .22s var(--ws-ease) both;
}

.ws-view > * {
  animation: ws-in .2s var(--ws-ease) both;
}

@keyframes ws-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.ws-head {
  margin-bottom: 24px;
}

.ws-head-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 10px;
}

.ws-head .panel-overline {
  margin: 0;
}

.ws-head h3 {
  max-width: 32ch;
  margin: 0 0 8px;
  color: var(--ws-ink);
  font-size: clamp(22px, 2.3vw, 29px);
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* Headings receive focus only from script, after a view changes; the new content marks the spot. */
.ws-head h3:focus,
.ws-body h4:focus,
#membership-heading:focus {
  outline: none;
}

.ws-lead {
  max-width: 62ch;
  margin: 0;
  color: var(--ws-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.ws-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ws-state .ws-i {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

.ws-state--sample {
  border-color: #d5e1ea;
  background: #fff;
  color: #5a7388;
}

.ws-state--member {
  border-color: #cde1f1;
  background: #eaf4fb;
  color: #1b5e92;
}

.ws-state--soon {
  border-color: var(--ws-soon-line);
  background: var(--ws-soon-bg);
  color: var(--ws-soon);
}

.ws-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4a81a7;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ws-kicker .ws-i {
  width: 14px;
  height: 14px;
}

.ws-muted {
  margin: 0;
  color: var(--ws-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ws-foot {
  margin: 14px 0 0;
  color: var(--ws-faint);
  font-size: 12px;
  line-height: 1.5;
}

.ws-grid {
  display: grid;
  gap: 12px;
}

.ws-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.ws-grid + .ws-grid {
  margin-top: 12px;
}

@container ws (max-width: 620px) {
  .ws-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-grid--3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@container ws (max-width: 440px) {
  .ws-grid--3,
  .ws-grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Shared controls: segmented switch, buttons, avatars, meter
   --------------------------------------------------------------------------------------------- */

.ws-seg {
  display: inline-flex;
  max-width: 100%;
  gap: 3px;
  margin: 0 0 18px;
  padding: 3px;
  border: 1px solid #e1e9ef;
  border-radius: 12px;
  background: #eef3f7;
}

.ws-seg--scroll {
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.ws-seg--scroll::-webkit-scrollbar {
  display: none;
}

.ws-seg button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 7px 14px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: #536d82;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color .18s, color .18s, box-shadow .18s;
}

.ws-seg--split button {
  min-width: 140px;
  justify-content: center;
  padding: 8px 18px;
  font-size: 13.5px;
}

.ws-seg button:hover {
  color: var(--ws-ink);
}

.ws-seg button[aria-pressed=true] {
  background: #fff;
  color: var(--ws-ink);
  box-shadow: 0 1px 2px rgba(16, 46, 73, .1), 0 2px 6px -2px rgba(16, 46, 73, .14);
}

.ws-seg button:focus-visible {
  outline-offset: -2px;
}

.ws-seg-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--ws-blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 750;
}

@container ws (max-width: 440px) {
  .ws-seg--split {
    display: flex;
  }

  .ws-seg--split button {
    flex: 1;
    min-width: 0;
    padding: 9px 10px;
  }
}

.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid #cfe0ec;
  border-radius: 10px;
  background: #fff;
  color: #1c5e90;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .18s, border-color .18s;
}

.ws-btn:hover {
  border-color: #b3d1e7;
  background: #f1f8fd;
}

.ws-btn--primary {
  border-color: var(--ws-blue);
  background: var(--ws-blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(12, 40, 66, .16), 0 4px 10px -5px rgba(23, 109, 182, .5);
}

.ws-btn--primary:hover {
  border-color: #1462a4;
  background: #1462a4;
}

.ws-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d7e4ee;
  border-radius: 10px;
  background: #fff;
  color: #4b7090;
  transition: background-color .18s, border-color .18s, color .18s;
}

.ws-icon-btn:hover {
  border-color: #b3d1e7;
  background: #f1f8fd;
  color: var(--ws-blue);
}

.ws-icon-btn .ws-i {
  width: 17px;
  height: 17px;
}

.ws-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--ws-blue);
  font-size: 13px;
  font-weight: 700;
}

.ws-back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ws-row-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.ws-row-end > .ws-btn {
  margin-left: auto;
}

.ws-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(160deg, #eaf3fa, #d4e4f0);
  box-shadow: inset 0 0 0 1px rgba(16, 46, 73, .06);
}

/* Contributor cutouts, framed on the face data from team-data.js (as in the team deck). */
.ws-avatar img {
  position: absolute;
  left: 50%;
  top: 44%;
  width: calc(100% * .46 / var(--fw, .29));
  max-width: none;
  transform: translate(calc(var(--fx, .5) * -100%), calc(var(--fy, .26) * -100%));
}

.ws-avatar--sm { width: 30px; height: 30px; }
.ws-avatar--md { width: 38px; height: 38px; }
.ws-avatar--lg { width: 64px; height: 64px; }

.ws-avatar--text {
  color: #2b6994;
  font-size: 11px;
  font-weight: 750;
}

.ws-avatar--sm.ws-avatar--text {
  font-size: 9.5px;
}

.ws-meter {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e6eef4;
}

.ws-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2a88c9, var(--ws-blue));
}

.ws-when {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #2c587a;
  font-size: 13px;
  font-weight: 600;
}

.ws-pill {
  flex: none;
  align-self: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e6f3ed;
  color: #2a6c50;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ws-pill.is-closed {
  background: #eef2f5;
  color: #677c8d;
}

/* Everything that opens a preview or a lock lifts slightly on hover. */
.ws-card,
.ws-module,
.ws-spec,
.ws-person,
.ws-resource,
.ws-recording,
.ws-mail-row,
.ws-request,
.ws-thread,
.ws-job,
.ws-event {
  border: 1px solid var(--ws-line);
  background: #fff;
  box-shadow: var(--ws-shadow);
  color: inherit;
  transition: border-color .2s, box-shadow .22s var(--ws-ease), transform .22s var(--ws-ease);
}

:is(.ws-card, .ws-module, .ws-spec, button.ws-person, .ws-resource, .ws-recording, .ws-mail-row, .ws-request, .ws-thread):is(:hover, :focus-visible) {
  border-color: var(--ws-line-2);
  box-shadow: var(--ws-shadow-hover);
  transform: translateY(-1px);
}


/* Dashboard
   --------------------------------------------------------------------------------------------- */

.ws-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 17px 18px 15px;
  border-radius: var(--ws-radius);
}

.ws-card:focus-within {
  border-color: #b9d4e8;
}

.ws-card-title {
  color: var(--ws-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.ws-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2a88c9;
  box-shadow: 0 0 0 3px rgba(42, 136, 201, .16);
}

.ws-notify {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e5edf3;
  border-radius: 10px;
  background: var(--ws-soft);
}

.ws-notify p {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--ws-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.ws-notify b {
  color: var(--ws-ink);
  font-size: 13px;
}

/* Kicker with a badge on the right (the live session card) */
.ws-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 20px;
}

/* Learning path: title beside a progress ring */
.ws-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ws-progress-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  margin: 0;
}

.ws-progress-copy span {
  color: var(--ws-muted);
  font-size: 13px;
}

.ws-ring {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
}

.ws-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ws-ring circle {
  fill: none;
  stroke-width: 5;
}

.ws-ring-track {
  stroke: #e6eef4;
}

.ws-ring-arc {
  stroke: var(--ws-blue);
  stroke-linecap: round;
  stroke-dasharray: var(--ws-ring) 100;
}

.ws-ring .ws-i {
  width: 18px;
  height: 18px;
  color: #4a81a7;
}

/* Live badge: a small red pill whose dot breathes */
.ws-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 3px 8px 3px 7px;
  border: 1px solid #f3cfcc;
  border-radius: 999px;
  background: #fdf1f0;
  color: #c2362b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
  line-height: 1.3;
}

.ws-live i {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e0473a;
}

.ws-live i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #e0473a;
  opacity: 0;
}

/* Message: a bubble icon with an unread dot beside the title */
.ws-msg-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ws-msg-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid #d6e7f3;
  border-radius: 10px;
  background: #eaf4fb;
  color: var(--ws-blue);
}

.ws-msg-icon .ws-i {
  width: 18px;
  height: 18px;
}

.ws-msg-icon i {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2a88c9;
  box-sizing: content-box;
}

@media (prefers-reduced-motion: no-preference) {
  .ws-ring-arc {
    animation: ws-ring-fill .9s var(--ws-ease) .15s both;
  }

  .ws-live i::after {
    animation: ws-live-pulse 2.4s ease-out infinite;
  }
}

@keyframes ws-ring-fill {
  from { stroke-dasharray: 0 100; }
}

@keyframes ws-live-pulse {
  0% { opacity: .55; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(2.6); }
}

/* The CTA covers the whole card, so the card is one click target with one accessible name. */
.ws-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: auto;
  padding: 6px 0 0;
  border: 0;
  background: none;
  color: var(--ws-blue);
  font-size: 13px;
  font-weight: 700;
}

.ws-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.ws-cta .ws-i {
  transition: transform .22s var(--ws-ease);
}

.ws-card:hover .ws-cta .ws-i {
  transform: translateX(3px);
}

.ws-cta:focus-visible {
  outline: none;
}

.ws-cta:focus-visible::after {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.ws-card--wide .ws-kicker .ws-i {
  color: #5f93b8;
}


/* Learning Paths
   --------------------------------------------------------------------------------------------- */

.ws-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 14px;
}

.ws-path-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.ws-path-copy b {
  color: var(--ws-ink);
  font-size: 15px;
}

.ws-path-copy span {
  color: var(--ws-muted);
  font-size: 13px;
}

.ws-path-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 190px;
  color: #3d627e;
  font-size: 12px;
  font-weight: 650;
}

.ws-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@container ws (max-width: 560px) {
  .ws-modules {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ws-module {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 2px 10px;
  width: 100%;
  height: 100%;
  padding: 14px 14px 12px;
  border-radius: 12px;
  text-align: left;
}

.ws-module-num {
  grid-row: 1 / span 2;
  padding-top: 1px;
  color: #2a7db7;
  font-size: 12px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.ws-module-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ws-module-main b {
  color: var(--ws-ink);
  font-size: 14px;
  line-height: 1.35;
}

.ws-module-main small {
  color: var(--ws-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.ws-module-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--ws-faint);
  font-size: 11.5px;
}

.ws-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
}

.ws-status .ws-i {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}

.ws-status.is-done { color: #2a7152; }
.ws-status.is-current { color: var(--ws-blue); }
.ws-status.is-todo { color: #7f93a3; }

.ws-module.is-current {
  border-color: #c3dbee;
  background: linear-gradient(180deg, #f5faff, #fff);
}

.ws-module-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--ws-blue);
  font-weight: 700;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s, transform .22s var(--ws-ease);
}

.ws-module:is(:hover, :focus-visible) .ws-module-go {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .ws-module-go {
    opacity: 1;
    transform: none;
  }
}


/* Specialty Library
   --------------------------------------------------------------------------------------------- */

.ws-spec {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px;
  border-radius: var(--ws-radius);
  text-align: left;
}

.ws-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border-radius: 11px;
  background: linear-gradient(150deg, #eef6fc, #d9e9f5);
  box-shadow: inset 0 0 0 1px rgba(23, 109, 182, .12);
  color: #1c5e8e;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
}

.ws-spec b {
  color: var(--ws-ink);
  font-size: 15px;
}

.ws-spec small {
  color: var(--ws-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.ws-spec-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--ws-blue);
  font-size: 12.5px;
  font-weight: 700;
}

.ws-detail {
  padding: 20px;
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius);
  background: linear-gradient(180deg, #f6fafe, #fff 130px);
}

.ws-detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.ws-detail-head .ws-mark {
  width: 48px;
  height: 48px;
  margin: 0;
}

.ws-detail-head h4 {
  margin: 0;
  color: var(--ws-ink);
  font-size: 22px;
  letter-spacing: -.02em;
}

.ws-detail-head p {
  margin: 2px 0 0;
  color: var(--ws-muted);
  font-size: 13px;
}

.ws-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ws-fact--wide {
  margin-bottom: 16px;
}

.ws-fact p {
  max-width: 72ch;
  margin: 0;
  color: var(--ws-text);
  font-size: 13.5px;
  line-height: 1.6;
}

.ws-fact ul,
.ws-job-detail ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws-fact li,
.ws-job-detail li {
  position: relative;
  padding-left: 14px;
  color: var(--ws-text);
  font-size: 13px;
  line-height: 1.45;
}

.ws-fact li::before,
.ws-job-detail li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9dc3de;
}

.ws-facts {
  padding-top: 16px;
  border-top: 1px solid var(--ws-line);
}

.ws-locked {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px dashed #cddeea;
  border-radius: var(--ws-radius);
  background: var(--ws-soft);
}

.ws-locked-rows {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ws-locked-rows button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid #d6e3ed;
  border-radius: 999px;
  background: #fff;
  color: #33536c;
  font-size: 12.5px;
  font-weight: 650;
  transition: border-color .18s, color .18s;
}

.ws-locked-rows button:hover {
  border-color: #b3d1e7;
  color: var(--ws-ink);
}

.ws-locked-rows .ws-i {
  width: 13px;
  height: 13px;
  color: #7a9ab2;
}

.ws-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 20px 14px 16px;
  border-radius: var(--ws-radius);
  text-align: center;
}

.ws-person .ws-avatar {
  margin-bottom: 9px;
}

.ws-person b {
  color: var(--ws-ink);
  font-size: 14.5px;
}

.ws-person small {
  color: var(--ws-muted);
  font-size: 12px;
  line-height: 1.4;
}

.ws-topic {
  margin-top: 9px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #edf5fb;
  color: #1d5d8b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.ws-person--static .ws-btn {
  margin-top: 12px;
}

.ws-resource {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  text-align: left;
}

.ws-resource-type {
  color: #4a81a7;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ws-resource b {
  color: var(--ws-ink);
  font-size: 14px;
  line-height: 1.35;
}

.ws-resource small {
  color: var(--ws-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.ws-resource-lock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: #6c8ba2;
  font-size: 11px;
  font-weight: 700;
}

.ws-resource-lock .ws-i {
  width: 12px;
  height: 12px;
}


/* Live Sessions
   --------------------------------------------------------------------------------------------- */

.ws-events,
.ws-mail,
.ws-requests,
.ws-threads,
.ws-jobs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws-event {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--ws-radius);
}

.ws-event.is-flash {
  animation: ws-flash 1.8s var(--ws-ease);
}

@keyframes ws-flash {
  0%, 45% { border-color: #9cc8e6; box-shadow: 0 0 0 3px rgba(42, 136, 201, .22), var(--ws-shadow); }
  100% { border-color: var(--ws-line); box-shadow: var(--ws-shadow); }
}

.ws-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(170deg, #eef6fc, #deecf7);
  color: #1c5e8e;
}

.ws-date small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ws-date b {
  color: var(--ws-ink);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.ws-event-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ws-event-main > b {
  color: var(--ws-ink);
  font-size: 15px;
}

.ws-event-main p {
  margin: 0;
  color: var(--ws-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ws-event-main .ws-when {
  margin-top: 3px;
  font-size: 12.5px;
}

@container ws (max-width: 520px) {
  .ws-event {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .ws-date {
    width: 48px;
    height: 52px;
  }

  .ws-event > .ws-btn {
    grid-column: 2;
    justify-self: start;
  }
}

.ws-recording {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--ws-radius);
  text-align: left;
}

.ws-thumb {
  display: grid;
  place-items: center;
  flex: none;
  width: 84px;
  height: 58px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1d5580, #0e2f4c);
  color: #fff;
}

.ws-thumb .ws-i {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  opacity: .9;
}

.ws-recording-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ws-recording-main b {
  color: var(--ws-ink);
  font-size: 13.5px;
  line-height: 1.35;
}

.ws-recording-main small {
  color: var(--ws-muted);
  font-size: 12px;
}


/* Expert Feedback
   --------------------------------------------------------------------------------------------- */

.ws-mail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  text-align: left;
}

.ws-mail-row.is-unread {
  border-color: #cde1f1;
  background: linear-gradient(90deg, #f1f8fd, #fff 65%);
}

.ws-mail-row.is-unread .ws-mail-top b::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #2a88c9;
  vertical-align: .12em;
}

.ws-mail-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.ws-mail-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ws-mail-top b {
  color: var(--ws-ink);
  font-size: 14px;
}

.ws-mail-top small {
  flex: none;
  color: var(--ws-faint);
  font-size: 12px;
}

.ws-mail-from {
  color: #3d6380;
  font-size: 12.5px;
  font-weight: 600;
}

.ws-mail-preview {
  overflow: hidden;
  color: var(--ws-muted);
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@container ws (max-width: 480px) {
  .ws-mail-row .ws-pill {
    display: none;
  }

  .ws-mail-preview {
    white-space: normal;
  }
}

.ws-conversation {
  overflow: hidden;
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius);
  background: #fff;
  box-shadow: var(--ws-shadow);
}

.ws-conversation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--ws-line);
  background: var(--ws-soft);
}

.ws-conversation-head h4 {
  margin: 0;
  color: var(--ws-ink);
  font-size: 16px;
}

.ws-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 18px;
  list-style: none;
}

.ws-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 88%;
}

.ws-msg.is-me {
  flex-direction: row-reverse;
  margin-left: auto;
}

.ws-msg-body {
  padding: 10px 14px;
  border: 1px solid #e2ecf3;
  border-radius: 4px 14px 14px 14px;
  background: #f2f7fb;
  color: var(--ws-ink);
}

.ws-msg.is-me .ws-msg-body {
  border-color: var(--ws-blue);
  border-radius: 14px 4px 14px 14px;
  background: var(--ws-blue);
  color: #fff;
}

.ws-msg-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
}

.ws-msg-body .ws-msg-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.ws-msg-meta b {
  font-size: 12.5px;
}

.ws-msg-meta small {
  font-size: 11.5px;
  opacity: .72;
}

.ws-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 10px;
  border: 1px solid #d9e6ef;
  border-radius: 8px;
  background: #fff;
  color: #2c587a;
  font-size: 12px;
  font-weight: 650;
}

.ws-msg.is-me .ws-file {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.ws-reply {
  display: flex;
  gap: 8px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--ws-line);
}

.ws-faux-input {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #d5e3ed;
  border-radius: 10px;
  background: #fbfdff;
  color: var(--ws-faint);
  font-size: 13px;
  text-align: left;
}

.ws-request {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  text-align: left;
}

.ws-request-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ws-request-main b {
  color: var(--ws-ink);
  font-size: 14px;
}

.ws-request-main small {
  color: var(--ws-muted);
  font-size: 12.5px;
}

.ws-request > .ws-i {
  color: #86a3b8;
}

.ws-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius);
  background: #fff;
  box-shadow: var(--ws-shadow);
}

.ws-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.ws-choices legend,
.ws-field-label {
  margin: 0 0 8px;
  padding: 0;
  color: var(--ws-ink);
  font-size: 13px;
  font-weight: 700;
}

.ws-field-label {
  margin: 6px 0 -2px;
}

.ws-choice {
  position: relative;
  display: inline-flex;
}

.ws-choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.ws-choice span {
  padding: 7px 12px;
  border: 1px solid #d5e3ed;
  border-radius: 999px;
  background: #fbfdff;
  color: #42647e;
  font-size: 12.5px;
  font-weight: 650;
  transition: background-color .18s, border-color .18s, color .18s;
}

.ws-choice input:checked + span {
  border-color: #9ec6e3;
  background: #e5f1fa;
  color: #14507c;
}

.ws-choice input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.ws-form textarea {
  width: 100%;
  min-height: 84px;
  padding: 10px 12px;
  border: 1px solid #d0e0eb;
  border-radius: 10px;
  background: #fbfdff;
  color: var(--ws-ink);
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}

.ws-drop {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px dashed #bdd4e6;
  border-radius: 12px;
  background: #f7fbfe;
  color: #2c618a;
  text-align: left;
  transition: background-color .18s, border-color .18s;
}

.ws-drop:hover {
  border-color: #8fbde0;
  background: #f0f7fd;
}

.ws-drop .ws-i {
  width: 22px;
  height: 22px;
}

.ws-drop span {
  display: flex;
  flex-direction: column;
}

.ws-drop b {
  font-size: 13.5px;
}

.ws-drop small {
  color: var(--ws-muted);
  font-size: 12px;
}

.ws-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 4px;
}

.ws-person--static {
  box-shadow: var(--ws-shadow);
}


/* Job Board
   --------------------------------------------------------------------------------------------- */

.ws-job-tools {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.ws-searchbox {
  position: relative;
}

.ws-search {
  position: absolute;
  left: 13px;
  top: 50%;
  display: flex;
  color: #7d9bb2;
  transform: translateY(-50%);
}

.ws-searchbox input {
  width: 100%;
  height: 42px;
  padding: 0 12px 0 38px;
  border: 1px solid #d0e0eb;
  border-radius: 11px;
  background: #fbfdff;
  color: var(--ws-ink);
  font-size: 14px;
}

.ws-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ws-select select {
  height: 34px;
  padding: 0 30px 0 12px;
  border: 1px solid #d5e3ed;
  border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235b7d96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 10px;
  color: #3d627e;
  font-size: 12.5px;
  font-weight: 650;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

@container ws (max-width: 480px) {
  .ws-selects {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .ws-selects::-webkit-scrollbar {
    display: none;
  }

  .ws-select {
    flex: none;
  }
}

.ws-select select.is-set {
  border-color: #9ec6e3;
  background-color: #eaf4fb;
  color: #14507c;
}

.ws-count {
  margin: 0 0 10px;
  color: var(--ws-faint);
  font-size: 12px;
  font-weight: 650;
}

.ws-job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 16px;
  border-radius: var(--ws-radius);
}

.ws-job-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ws-job-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.ws-job-top b {
  color: var(--ws-ink);
  font-size: 15px;
}

.ws-demo-tag {
  padding: 1px 7px;
  border: 1px solid #d5e1ea;
  border-radius: 999px;
  color: #5a7388;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ws-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.ws-tags > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid #e3ecf2;
  border-radius: 7px;
  background: var(--ws-soft);
  color: #45657e;
  font-size: 12px;
}

.ws-tags .ws-i {
  width: 13px;
  height: 13px;
}

.ws-job-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ws-job-detail {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 14px 24px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--ws-line);
}

.ws-job-detail[hidden] {
  display: none;
}

.ws-job-detail .ws-kicker {
  margin-bottom: 8px;
}

.ws-job-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.ws-job-facts dt {
  color: var(--ws-faint);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ws-job-facts dd {
  margin: 2px 0 0;
  color: var(--ws-ink);
  font-size: 13px;
  font-weight: 600;
}

.ws-locked-link {
  display: inline-flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-self: start;
  gap: 6px;
  padding: 7px 12px;
  border: 1px dashed #c9dcea;
  border-radius: 9px;
  background: var(--ws-soft);
  color: #3d627e;
  font-size: 12.5px;
  font-weight: 650;
}

.ws-locked-link .ws-i {
  width: 13px;
  height: 13px;
}

@container ws (max-width: 600px) {
  .ws-job {
    grid-template-columns: minmax(0, 1fr);
  }

  .ws-job-actions {
    flex-wrap: wrap;
  }

  .ws-job-detail {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ws-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px;
  border: 1px dashed #cddeea;
  border-radius: var(--ws-radius);
  background: var(--ws-soft);
  color: var(--ws-ink);
  font-size: 14px;
}


/* Community
   --------------------------------------------------------------------------------------------- */

.ws-thread {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  text-align: left;
}

.ws-thread-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef5fa;
  color: #5a85a5;
}

.ws-thread-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ws-thread-main b {
  color: var(--ws-ink);
  font-size: 14px;
}

.ws-thread-main small {
  color: var(--ws-muted);
  font-size: 12.5px;
}

.ws-thread-go {
  color: #9ab4c7;
  transition: transform .22s var(--ws-ease), color .18s;
}

.ws-thread:is(:hover, :focus-visible) .ws-thread-go {
  color: var(--ws-blue);
  transform: translateX(3px);
}


/* Sales AI: in development, so no lock and no call to action
   --------------------------------------------------------------------------------------------- */

.ws-soon {
  padding: 20px;
  border: 1px dashed #e3d4b4;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffcf5, #fff);
}

.ws-soon .ws-kicker {
  color: var(--ws-soon);
}

.ws-uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ws-uses li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid #efe5d1;
  border-radius: 12px;
  background: #fff;
}

.ws-uses b {
  color: #44576a;
  font-size: 14px;
}

.ws-uses span {
  color: var(--ws-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.ws-soon-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--ws-soon);
  font-size: 13.5px;
  font-weight: 650;
}

@container ws (max-width: 600px) {
  .ws-uses {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* "Membership required" dialog (one pattern for every locked action)
   --------------------------------------------------------------------------------------------- */

.ws-lock {
  width: min(460px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 30px 28px 24px;
}

.ws-lock[open] {
  animation: ws-pop .22s var(--ws-ease);
}

@keyframes ws-pop {
  from { opacity: 0; transform: translateY(6px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.ws-lock .dialog-close {
  right: -10px;
  top: -16px;
}

.ws-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1b5e92;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ws-lock-badge .ws-i {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: #e2eff9;
  box-shadow: inset 0 0 0 1px rgba(23, 109, 182, .14);
  color: var(--ws-blue);
  stroke-width: 1.9;
}

.ws-lock .ws-lock-context {
  margin: 18px 0 0;
  color: #5d7b93;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.ws-lock h2 {
  margin: 4px 0 8px;
  color: var(--ws-ink);
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.ws-lock-context[hidden] + h2 {
  margin-top: 18px;
}

.ws-lock p {
  margin: 0;
  color: #587084;
  font-size: 14px;
  line-height: 1.6;
}

.ws-lock-items {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #dfe9f1;
  border-radius: 12px;
  background: rgba(255, 255, 255, .62);
}

.ws-lock-items > span {
  display: block;
  margin-bottom: 7px;
  color: #4a81a7;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ws-lock-items ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws-lock-items li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #34546d;
  font-size: 13px;
  line-height: 1.4;
}

.ws-lock-items .ws-i {
  width: 13px;
  height: 13px;
  color: #8ba6ba;
}

.ws-lock-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 22px;
}

.ws-lock-dismiss {
  padding: 8px 4px;
  border: 0;
  background: none;
  color: #3d627e;
  font-size: 14px;
  font-weight: 650;
}

.ws-lock-dismiss:hover {
  color: var(--ws-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
