/* Cicada Works — My workspace (CW-UX-3)
   Extends the shared site shell; no new colours, fonts or dependencies. */

.ws-hero { padding: 150px 0 72px; }
.ws-title { max-width: 16em; }
.ws-lead { max-width: 44em; }

.ws-sub {
  color: var(--muted); max-width: 46em; margin: 0 0 26px; font-size: 16.5px;
}
.theme-purple .ws-sub { color: var(--violet-tint); }
.theme-purple .ws-sub code {
  background: rgba(247,244,237,.14); padding: 1px 7px; border-radius: 6px;
  font-size: .92em; color: inherit;
}

.ws-empty-inner { max-width: 44em; }
.ws-empty-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* --- capability cards --- */
.ws-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}
.ws-card {
  background: var(--cw-bone); border: 1px solid var(--bone-line);
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.ws-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ws-card h3 { margin: 0; font-size: 19px; }
.ws-card p { margin: 0; font-size: 15px; color: var(--muted); }
.ws-card .ws-card-actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.ws-card .ws-card-actions a { font-size: 14.5px; color: var(--persimmon-ink); text-decoration: underline; text-underline-offset: 3px; }

.ws-pill {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
.ws-pill-selected { background: var(--purple-deep); color: var(--cw-bone); }
.ws-pill-unsure { background: var(--violet-wash); color: var(--violet-deep); border: 1px solid var(--bone-line); }
.ws-pill-not_needed, .ws-pill-none { background: var(--bone-deep); color: var(--muted); border: 1px solid var(--bone-line); }

.ws-ready {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  color: var(--muted);
}
.ws-ready::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.ws-ready-demo { color: var(--persimmon-ink); }
.ws-ready-demo::before { background: var(--persimmon); }
.ws-ready-planned { color: var(--violet-deep); }
.ws-ready-planned::before { background: var(--violet-tint); border: 1px dashed var(--cw-purple); }

.ws-inconfig {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--purple-deep);
  background: var(--violet-wash); border-radius: 999px; padding: 3px 10px;
}

/* --- contribution flow --- */
.ws-flow {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px;
  counter-reset: flow;
}
.ws-flow li {
  background: var(--cw-bone); border: 1px solid var(--bone-line);
  border-radius: var(--radius); padding: 16px 16px 18px;
  counter-increment: flow; position: relative;
}
.ws-flow li::before {
  content: counter(flow);
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--cw-purple); color: var(--cw-bone);
  font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
.ws-flow strong { display: block; font-size: 15.5px; margin-bottom: 5px; }
.ws-flow span { font-size: 13.5px; color: var(--muted); line-height: 1.45; display: block; }

.ws-pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.ws-pair {
  border: 1px solid var(--bone-line); border-radius: var(--radius);
  padding: 16px 18px; background: var(--cw-bone); font-size: 14.5px; line-height: 1.5;
}
.ws-pair strong { color: var(--purple-deep); }
.ws-pair .ws-pair-state {
  display: block; margin-top: 8px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em; color: var(--muted);
}

/* --- research --- */
.ws-research { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-bottom: 22px; }
.ws-rec {
  border: 1px solid rgba(247,244,237,.22); border-radius: var(--radius);
  padding: 15px 17px; display: flex; flex-direction: column; gap: 6px;
}
.ws-rec h4 { margin: 0; font-size: 14px; font-weight: 600; color: var(--violet-tint); text-transform: uppercase; letter-spacing: .04em; }
.ws-rec a { color: var(--cw-bone); font-size: 15px; }
.ws-rec span { font-size: 13px; color: var(--violet-tint); }
.ws-research-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.theme-purple .btn-quiet { color: var(--cw-bone); border-color: rgba(247,244,237,.4); }

/* --- open items --- */
.ws-open-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 52em; }
.ws-open-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: var(--cw-bone); border: 1px solid var(--bone-line);
  border-radius: 10px; padding: 13px 16px; font-size: 15px;
}
.ws-open-list li a { color: var(--persimmon-ink); font-size: 13.5px; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.ws-open-list .ws-open-why { color: var(--muted); font-size: 13px; display: block; }
.ws-open-done { color: var(--muted); font-size: 15.5px; }

/* --- next steps --- */
.ws-next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ws-next-card {
  background: var(--cw-bone); border: 1px solid var(--bone-line);
  border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.ws-next-card h3 { margin: 0; font-size: 18px; }
.ws-next-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.ws-next-card .btn { margin-top: auto; align-self: flex-start; }
.ws-note { margin-top: 26px; font-size: 14px; color: var(--muted); }

@media (max-width: 640px) {
  .ws-hero { padding: 120px 0 56px; }
  .ws-card .ws-card-actions, .ws-empty-actions .btn, .ws-next-card .btn { width: 100%; text-align: center; }
  .ws-open-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
}
