/* ======================
   CW Desk - Member Area
   Uses theme CSS variables from :root
   Theme button system: .btn, .btn--small, .btn--secondary, .btn--ghost, .btn--link
   ====================== */

/* Suppress theme arrow icon on plugin action buttons */
.cw-desk .btn::after,
.cw-desk-page .btn::after,
.cw-booking-page .btn::after,
.cw-membership .btn::after,
.cw-register-card .btn::after {
  display: none;
}

/* Remove double gutter: .site-main already adds side padding,
   but .container-wide adds it again. Reset on plugin pages. */
.cw-desk-page.site-main {
  padding-left: 0;
  padding-right: 0;
}

.cw-desk {
  padding: 40px 0 80px;
  min-height: 60vh;
}

/* Desk Header */
.cw-desk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.cw-desk-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cw-desk-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cw-desk-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.cw-desk-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--secondary);
  font-weight: 600;
  font-size: 16px;
}

.cw-desk-username {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.cw-desk-username:hover {
  color: var(--primary);
}

.cw-desk-logout {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
}

.cw-desk-logout:hover {
  color: var(--primary);
}

.cw-desk-menu-toggle,
.cw-desk-mobile-menu,
.cw-desk-mobile-menu-backdrop {
  display: none;
}

.cw-desk-menu-toggle {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cw-desk-menu-toggle__icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.cw-desk-menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cw-desk-menu-toggle__icon span:nth-child(1) {
  top: 3px;
}

.cw-desk-menu-toggle__icon span:nth-child(2) {
  top: 8px;
}

.cw-desk-menu-toggle__icon span:nth-child(3) {
  top: 13px;
}

.cw-desk-menu-toggle.is-open .cw-desk-menu-toggle__icon span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.cw-desk-menu-toggle.is-open .cw-desk-menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.cw-desk-menu-toggle.is-open .cw-desk-menu-toggle__icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.cw-desk-mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.24);
  z-index: 9997;
}

.cw-desk-mobile-menu {
  position: fixed;
  top: 16px;
  right: 16px;
  left: 16px;
  z-index: 9998;
  background: var(--card);
  border: 1px solid var(--gray-light);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
}

.cw-desk-mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.cw-desk-mobile-menu__link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  text-decoration: none;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
}

.cw-desk-mobile-menu__link.is-active {
  color: var(--gray);
}

.cw-desk-mobile-menu__link--logout {
  border-bottom: none;
}

body.cw-desk-menu-open {
  overflow: hidden;
  padding-right: var(--cw-scrollbar-compensation, 0px);
}

/* Desk Navigation */
.cw-desk-nav {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--gray-light);
}

.cw-desk-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cw-desk-nav__link {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.cw-desk-nav__link:hover {
  color: var(--primary);
}

.cw-desk-nav__link.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Cards */
.cw-card {
  background: var(--card);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
}

.cw-card__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
}

/* Dashboard Grid */
.cw-dashboard__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .cw-dashboard__grid {
    grid-template-columns: 1fr;
  }
}

/* Credits Display */
.cw-credits-display {
  margin-bottom: 12px;
}

.cw-credits-display__number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.cw-credits-display__label {
  font-size: 14px;
  color: var(--gray);
  margin-left: 8px;
}

.cw-credits-display__detail {
  font-size: 14px;
  color: var(--gray-dark);
  margin: 8px 0 4px;
}

.cw-credits-display__period {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
}

/* Credits Bar */
.cw-credits-bar {
  height: 6px;
  background: var(--gray-light);
  border-radius: 3px;
  overflow: hidden;
}

.cw-credits-bar__fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.3s;
}

/* Booking List */
.cw-booking-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cw-booking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  gap: 12px;
}

.cw-booking-item:last-child {
  border-bottom: none;
}

.cw-booking-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

.cw-booking-item__resource {
  color: var(--gray);
  font-size: 13px;
}

.cw-booking-item__link {
  color: inherit;
  text-decoration: none;
  display: block;
  flex: 1;
}

.cw-booking-item__link:hover {
  opacity: 0.7;
}

/* Updates List */
.cw-updates-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cw-updates-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 14px;
}

.cw-updates-item:last-child {
  border-bottom: none;
}

.cw-updates-item__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cw-updates-item__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  color: var(--gray-dark);
  font-weight: 600;
  font-size: 14px;
}

.cw-updates-item__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cw-updates-item__text {
  line-height: 1.3;
}

.cw-updates-item__text a {
  color: var(--primary);
  text-decoration: none;
}

.cw-updates-item__text a:hover {
  text-decoration: underline;
}

.cw-updates-item__date {
  color: var(--gray);
  font-size: 12px;
}

/* Hide datalist dropdown arrow on location field */
#cw-event-location::-webkit-calendar-picker-indicator {
  display: none !important;
}
#cw-event-location::-webkit-list-button {
  display: none !important;
}

/* Events Page */
.cw-events-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cw-events-page__header .cw-page-title {
  margin: 0;
}

/* Events Header */
.cw-events-page__header-actions {
  display: flex;
  gap: 8px;
}

/* Event Form */
.cw-event-form__actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

/* Event List */
.cw-events-list__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 20px 0 8px;
  padding: 0;
}

.cw-events-list__date:first-child {
  margin-top: 0;
}

.cw-event-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
  scroll-margin-top: 100px;
}

.cw-event-card:last-child {
  border-bottom: none;
}

.cw-event-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.cw-event-card__title {
  font-size: 16px;
}

.cw-event-card__actions {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.cw-recurring-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--gray-light);
  color: var(--gray-dark);
  white-space: nowrap;
}

.cw-event-card__meta {
  font-size: 13px;
  color: var(--gray-dark);
  margin-bottom: 4px;
}

.cw-event-card__desc {
  font-size: 14px;
  color: var(--gray-dark);
  margin: 4px 0 0;
}

.cw-event-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cw-event-card__creator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray);
}

.cw-event-card__avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.cw-event-card__rsvps {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.cw-event-card__rsvp-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  margin-left: -6px;
}

.cw-event-card__rsvp-avatar:first-child {
  margin-left: 0;
}

.cw-event-card__rsvp-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  color: var(--gray-dark);
  font-size: 11px;
  font-weight: 600;
}

.cw-event-card__rsvp-more {
  font-size: 12px;
  color: var(--gray);
  margin-left: 4px;
}

.cw-event-card__rsvp-count {
  font-size: 12px;
  color: var(--gray);
  margin-left: 4px;
}

/* Activity List */
.cw-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cw-activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 14px;
}

.cw-activity-item:last-child {
  border-bottom: none;
}

.cw-activity-item__type {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--gray-light);
  white-space: nowrap;
}

.cw-activity-item__amount {
  font-weight: 600;
  white-space: nowrap;
}

.cw-activity-item__date {
  color: var(--gray);
  margin-left: auto;
  font-size: 13px;
  white-space: nowrap;
}

.cw-positive { color: var(--green); }
.cw-negative { color: var(--red); }

/* Page Title */
.cw-page-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px;
}

/* Booking Page */
.cw-booking-page {
  max-width: 1200px;
}

.cw-booking-balance {
  font-size: 14px;
  color: var(--gray-dark);
  margin-bottom: 20px;
}

/* Booking toggle group spacing */
.cw-booking-page .btn-toggle-group {
  margin-bottom: 20px;
}

/* 2-Column Layout: Calendar + Slots */
.cw-booking-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

/* Calendar */
.cw-booking-calendar {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--card);
}

.cw-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cw-cal-title {
  font-size: 15px;
  font-weight: 600;
}

.cw-cal-nav {
  background: none;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--primary);
  transition: background 0.15s;
}

.cw-cal-nav:hover {
  background: var(--gray-light);
}

.cw-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.cw-cal-dow {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  padding: 4px 0 8px;
}

.cw-cal-day {
  font-size: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s;
  margin: 0 auto;
}

.cw-cal-day:hover:not(.cw-cal-day--disabled):not(.cw-cal-day--empty) {
  background: var(--gray-light);
}

.cw-cal-day--empty {
  cursor: default;
}

.cw-cal-day--disabled {
  color: var(--gray-light);
  cursor: default;
}

.cw-cal-day--today {
  font-weight: 600;
  border: 1px solid var(--gray);
}

.cw-cal-day--selected {
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
}

.cw-cal-day--selected:hover {
  background: var(--primary);
}

/* Time Slot List */
.cw-slots-label {
  font-size: 14px;
  color: var(--gray-dark);
  margin-bottom: 12px;
}

.cw-slots-label strong {
  color: var(--primary);
}

.cw-slots-back {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  margin-right: 8px;
}

.cw-slots-back:hover {
  text-decoration: underline;
}

.cw-slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.cw-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius);
  background: var(--gray-light);
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s;
}

.cw-slot:hover {
  background: var(--gray-dark);
  color: var(--white);
}

.cw-slot:hover .cw-slot__avail {
  color: var(--white);
}

.cw-slot__time {
  font-size: 15px;
  font-weight: 600;
}

.cw-slot__avail {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}

/* Booking Summary */
.cw-booking-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
  gap: 16px;
  flex-wrap: wrap;
}

.cw-booking-summary__details {
  font-size: 14px;
}

/* Booking Message */
.cw-booking-message {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-top: 16px;
}

.cw-booking-message--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.cw-booking-message--error {
  background: #ffebee;
  color: #c62828;
}

/* Tables */
.cw-table-wrap {
  overflow-x: auto;
}

.cw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cw-table th,
.cw-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

.cw-table th {
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-dark);
}

.cw-row--cancelled {
  color: var(--gray);
}

/* Badges */
.cw-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.cw-badge--confirmed {
  background: #e8f5e9;
  color: #2e7d32;
}

.cw-badge--active {
  background: var(--primary);
  color: var(--primary-foreground);
}

.cw-badge--cancelled {
  background: var(--gray-light);
  color: var(--gray);
}

/* History Filter */
.cw-history-filter {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cw-history-filter label {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cw-history-filter .btn {
  height: 42px;
  display: inline-flex;
  align-items: center;
}

.cw-history-view-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

/* Forms */
.cw-form {
  max-width: 720px;
}

.cw-form__section {
  margin-bottom: 32px;
}

.cw-form__heading {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-light);
}

.cw-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.cw-form__label {
  font-size: 14px;
  font-weight: 500;
}

.cw-form__label--required::after {
  content: " *";
  color: var(--red);
}

.cw-form__hint {
  font-size: 12px;
  color: var(--gray);
}

.cw-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cw-form__field--small {
  max-width: 120px;
}

.cw-form__actions {
  margin-top: 24px;
}

/* Avatar Upload */
.cw-avatar-upload {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cw-avatar-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.cw-avatar-preview--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  color: var(--gray-dark);
  font-size: 28px;
  font-weight: 600;
}

/* Notices */
.cw-notice {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
}

.cw-notice--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.cw-notice--info {
  background: #e3f2fd;
  color: #1565c0;
}

.cw-notice--error {
  background: #ffebee;
  color: #c62828;
}

/* Membership */
.cw-membership__plan {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
}

.cw-membership__price {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
}

.cw-membership__detail {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}

/* Monthly summary table */
.cw-membership__summary {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cw-membership__summary td {
  padding: 6px 0;
}

.cw-membership__summary-price {
  text-align: right;
  white-space: nowrap;
}

.cw-membership__summary-total td {
  border-top: 1px solid var(--gray);
  padding-top: 10px;
}

/* Plan switch */
.cw-plan-switch {
  margin-top: 12px;
}

/* Cancellation details/summary — suppress default marker */
.cw-cancellation-form {
  margin-top: 20px;
}

.cw-cancellation-form summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cw-cancellation-form summary::-webkit-details-marker {
  display: none;
}

.cw-cancellation-form summary::after {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  transition: transform 0.2s ease;
}

.cw-cancellation-form[open] summary::after {
  transform: rotate(180deg);
}

/* Destructive button — red background, no arrow */
.btn--destructive {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--destructive:hover,
.btn--destructive:focus {
  filter: brightness(0.9);
}

/* Add-ons */
.cw-addons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cw-addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  gap: 16px;
}

.cw-addon-item--active {
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.01);
}

.cw-addon-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cw-addon-item__name {
  font-size: 15px;
}

.cw-addon-item__price {
  font-size: 14px;
  color: var(--gray);
}

.cw-addon-item__desc {
  font-size: 13px;
  color: var(--gray);
}

.cw-addon-item__action {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Registration */
.cw-register-page {
  display: flex;
  justify-content: center;
  padding: 40px 0 80px;
}

.cw-register-card {
  width: 100%;
  max-width: 560px;
}

.cw-register-intro {
  font-size: 14px;
  color: var(--gray);
  margin: -16px 0 24px;
}

.cw-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.cw-form__checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.cw-form__checkbox a {
  color: var(--primary);
  text-decoration: underline;
}

/* Plan Choice (Registration) */
.cw-plan-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-plan-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s;
}

.cw-plan-option:hover {
  border-color: var(--gray);
}

.cw-plan-option--selected {
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.02);
}

.cw-plan-option input[type="radio"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.cw-plan-option__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cw-plan-option__name {
  font-size: 15px;
}

.cw-plan-option__desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}

.cw-register-login-link {
  font-size: 14px;
  color: var(--gray);
  margin-top: 16px;
}

.cw-register-login-link a {
  color: var(--primary);
}

/* Network */
.cw-network-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .cw-network-grid {
    grid-template-columns: 1fr;
  }
}

.cw-network-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
  min-height: 230px;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.cw-network-card--target,
.cw-team-card--target {
  background: #ebe7dc;
  box-shadow: 0 0 0 2px var(--primary);
}

.cw-network-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cw-network-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cw-network-card__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
}

.cw-network-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.cw-network-card__name {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cw-network-card__company {
  font-size: 13px;
  color: var(--gray-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cw-network-card__email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray);
  color: var(--white);
  flex-shrink: 0;
  margin-left: auto;
  transition: background 0.15s;
}

.cw-network-card__email:hover {
  background: var(--gray-dark);
}

.cw-network-card__about {
  font-size: 13px;
  color: var(--gray-dark);
  line-height: 1.4;
  margin: 0;
}

.cw-network-card__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.cw-network-card__footer + .cw-network-card__footer {
  margin-top: 10px;
}

/* Project pill — inline with skills, right-aligned */
.cw-network-card__project-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: var(--gray);
  color: var(--white);
  border: none;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.15s, color 0.15s;
}

.cw-network-card__project-pill::after {
  content: ' \2197';
  font-size: 12px;
  margin-left: 2px;
}
.cw-network-card__project-pill:hover {
  background: var(--gray-dark);
  color: var(--white);
}

/* Network search & filter */
.cw-network-toolbar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 12px;
}

.cw-network-toolbar .form-input {
  max-width: 280px;
  font-size: 13px;
  padding: 8px 12px;
}

.cw-network-skills-filter {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cw-network-skills-filter input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cw-network-skills-filter label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border, var(--gray-light));
  background: var(--secondary, #fff);
  color: var(--primary);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cw-network-skills-filter input:checked + label {
  background: var(--ceeju-choice-bg, var(--primary));
  border-color: var(--ceeju-choice-bg, var(--primary));
  color: var(--ceeju-choice-fg, var(--secondary));
}

.cw-network-skills-filter input:focus-visible + label {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cw-skill-filter-reset {
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: none;
  color: var(--gray);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.cw-skill-filter-reset[hidden] {
  display: none;
}

.cw-skill-filter-reset:not([hidden]) {
  display: inline-flex;
}

.cw-skill-filter-reset:hover {
  color: var(--primary);
}

/* Skill Tags (colored pills — color set via inline style) */
.cw-skill-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Network Tabs (underline style — same weight as desk nav) */
.cw-network-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-light);
}

.cw-network-tab {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  color: var(--gray);
  transition: color 0.15s, border-color 0.15s;
}

.cw-network-tab:hover {
  color: var(--primary);
}

.cw-network-tab.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}



/* Team Cards */
.cw-teams-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .cw-teams-grid {
    grid-template-columns: 1fr;
  }
}

.cw-team-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
  min-height: 230px;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

/* No special border on own team card — same as member cards */

.cw-team-card__actions {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  margin-top: auto;
}

.cw-team-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s;
}
.cw-team-icon-btn:hover {
  color: var(--primary);
}
.cw-team-icon-btn--delete:hover {
  color: #d44;
}

.cw-team-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cw-team-card__avatars {
  display: flex;
}

.cw-team-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-light);
  margin-left: -10px;
  flex-shrink: 0;
}

.cw-team-card__avatar:first-child {
  margin-left: 0;
}

.cw-team-card__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

.cw-team-card__names {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.cw-team-card__description {
  font-size: 13px;
  color: var(--gray-dark);
  line-height: 1.5;
  margin: 0;
}

/* My Team Section */
.cw-my-team-section {
  margin-bottom: 24px;
}

.cw-my-team-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cw-my-team-actions h3 {
  margin: 0;
  margin-right: auto;
  font-size: 16px;
}

/* Team Picker */
.cw-team-picker {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.cw-team-picker__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.cw-team-picker__header h3 {
  margin: 0;
  font-size: 16px;
  white-space: nowrap;
}

.cw-team-picker__typeahead-wrap {
  position: relative;
  margin-bottom: 16px;
}

.cw-team-picker__selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.cw-team-picker__selected:empty {
  display: none;
}

.cw-member-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-medium, #ddd);
  border-radius: 20px;
  padding: 4px 10px 4px 4px;
  font-size: 13px;
  font-weight: 500;
}

.cw-member-pill__avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cw-member-pill__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 9px;
}

.cw-member-pill__remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: var(--gray);
  padding: 0 0 0 2px;
}

.cw-member-pill__remove:hover {
  color: var(--black);
}

.cw-team-picker__typeahead-wrap .form-input {
  font-size: 13px;
  padding: 8px 12px;
}

.cw-team-picker__dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 20;
  background: var(--white);
  border: 1px solid var(--gray-medium, #ddd);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 240px;
  overflow-y: auto;
}

.cw-team-picker__dropdown:empty {
  display: none;
}

.cw-picker-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
}

.cw-picker-dropdown__item:hover {
  background: rgba(0,0,0,0.04);
}

.cw-picker-dropdown__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.cw-picker-dropdown__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 10px;
}

.cw-picker-dropdown__name {
  font-weight: 500;
}

.cw-picker-dropdown__skills {
  font-size: 12px;
  color: var(--gray);
  margin-left: auto;
}

.cw-picker-dropdown__empty {
  padding: 12px;
  color: var(--gray);
  font-size: 13px;
  text-align: center;
}

.cw-team-picker__description {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-team-picker__description label {
  font-size: 14px;
}

.cw-team-picker__description textarea {
  resize: vertical;
  min-height: 60px;
}

.cw-team-picker__footer {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* Ensure picker buttons use theme .btn styles (no extra overrides needed) */
.cw-team-picker__footer .btn {
  white-space: nowrap;
}

.btn--danger {
  background: #fc3749;
  color: #fff;
  border-color: #fc3749;
}

.btn--danger:hover {
  background: #e02d3e;
  border-color: #e02d3e;
}

/* Profile: Skills Input */
.cw-skills-input {
  position: relative;
}

.cw-skills-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.cw-skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--primary);
  color: var(--white);
}

.cw-skill-pill__remove {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  opacity: 0.7;
}

.cw-skill-pill__remove:hover {
  opacity: 1;
}

.cw-skills-typeahead {
  width: 100%;
}

.cw-skills-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--card);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  max-height: 200px;
  overflow-y: auto;
}

.cw-skills-dropdown:empty {
  display: none;
}

.cw-skills-dropdown__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: none;
  font-size: 14px;
  cursor: pointer;
}

.cw-skills-dropdown__item:hover {
  background: var(--gray-light);
}

.cw-skills-dropdown__item--new {
  color: var(--gray-dark);
  font-style: italic;
}

/* Loader */
.cw-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 14px;
}

.cw-loader::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--gray-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: cw-spin 0.6s linear infinite;
}

@keyframes cw-spin {
  to { transform: rotate(360deg); }
}

/* Misc */
.cw-empty {
  color: var(--gray);
  font-size: 14px;
}

.cw-empty-action {
  display: inline-flex;
  margin-top: 12px;
}

.cw-loading {
  color: var(--gray);
  font-size: 14px;
}

.cw-error {
  color: var(--red);
  font-size: 14px;
}

.cw-faq-page .accordion__trigger {
  text-align: left;
  align-items: flex-start;
}

.cw-faq-page .subsite-accordion-heading {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 24px;
  text-align: left;
}

.cw-faq-page .subsite-accordion-wrap {
  margin: 0;
  max-width: none;
}

.cw-faq-page .accordion__title {
  text-align: left;
  margin-right: auto;
}

.cw-faq-page .accordion__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.cw-faq-page .accordion__icon::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.cw-faq-page .accordion__icon svg {
  display: none;
}

/* Tablet */
@media (max-width: 768px) {
  .cw-booking-layout {
    grid-template-columns: 1fr;
  }

  .cw-network-grid {
    grid-template-columns: 1fr;
  }

  .cw-addon-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --site-gutter: 16px;
  }

  .cw-desk {
    padding: 8px 0 48px;
  }

  .cw-desk-header {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .cw-desk-user {
    min-width: 0;
  }

  .cw-desk-username {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cw-page-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .cw-faq-page .subsite-accordion-heading {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .cw-card {
    padding: 16px;
  }

  .cw-booking-summary {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cw-form__row {
    grid-template-columns: 1fr;
  }

  .cw-membership__price {
    font-size: 20px;
  }

  .cw-credits-display__number {
    font-size: 36px;
  }

  .cw-network-toolbar .form-input {
    max-width: 100%;
  }

  .cw-network-toolbar {
    flex-direction: column;
  }

  .cw-network-card .cw-skill-tag,
  .cw-team-card .cw-skill-tag {
    display: none;
  }

  .cw-register-card {
    padding: 24px 0;
  }

  .cw-history-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    overflow: hidden;
  }

  .cw-history-filter > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .cw-history-filter label {
    width: 100%;
    min-width: 0;
  }

  .cw-history-filter .form-input,
  .cw-history-filter .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .cw-history-filter input[type="month"] {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
  }

  .cw-history-filter .btn {
    display: flex;
    justify-content: center;
  }

  .cw-desk-logout--desktop {
    display: none;
  }

  .cw-desk-menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .cw-desk-nav {
    display: none;
  }

  .cw-desk--loading {
    pointer-events: none;
  }

  .cw-desk--loading .cw-desk-user,
  .cw-desk--loading .cw-page-title,
  .cw-desk--loading .cw-card,
  .cw-desk--loading .cw-booking-item,
  .cw-desk--loading .cw-updates-item,
  .cw-desk--loading .cw-activity-item,
  .cw-desk--loading .cw-event-card,
  .cw-desk--loading .cw-network-card,
  .cw-desk--loading .cw-team-card,
  .cw-desk--loading .cw-membership__summary tr {
    position: relative;
    overflow: hidden;
  }

  .cw-desk--loading .cw-desk-user > *,
  .cw-desk--loading .cw-page-title > *,
  .cw-desk--loading .cw-card > *,
  .cw-desk--loading .cw-booking-item > *,
  .cw-desk--loading .cw-updates-item > *,
  .cw-desk--loading .cw-activity-item > *,
  .cw-desk--loading .cw-event-card > *,
  .cw-desk--loading .cw-network-card > *,
  .cw-desk--loading .cw-team-card > *,
  .cw-desk--loading .cw-membership__summary tr > * {
    opacity: 0;
  }

  .cw-desk--loading .cw-desk-user::before,
  .cw-desk--loading .cw-page-title::before,
  .cw-desk--loading .cw-card::before,
  .cw-desk--loading .cw-booking-item::before,
  .cw-desk--loading .cw-updates-item::before,
  .cw-desk--loading .cw-activity-item::before,
  .cw-desk--loading .cw-event-card::before,
  .cw-desk--loading .cw-network-card::before,
  .cw-desk--loading .cw-team-card::before,
  .cw-desk--loading .cw-membership__summary tr::before {
    content: "";
    position: absolute;
    z-index: 1;
    pointer-events: none;
  }

  .cw-desk--loading .cw-desk-user::after,
  .cw-desk--loading .cw-page-title::after,
  .cw-desk--loading .cw-card::after,
  .cw-desk--loading .cw-booking-item::after,
  .cw-desk--loading .cw-updates-item::after,
  .cw-desk--loading .cw-activity-item::after,
  .cw-desk--loading .cw-event-card::after,
  .cw-desk--loading .cw-network-card::after,
  .cw-desk--loading .cw-team-card::after,
  .cw-desk--loading .cw-membership__summary tr::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
    animation: cw-desk-page-skeleton 1.1s ease-in-out infinite;
    pointer-events: none;
  }

  .cw-desk--loading .cw-desk-user::before {
    inset: 0;
    background:
      radial-gradient(circle at 20px 20px, #d9d9d9 0 20px, transparent 21px),
      linear-gradient(#d9d9d9 0 0) 56px 14px / calc(100% - 56px) 12px no-repeat;
  }

  .cw-desk--loading .cw-page-title {
    color: transparent;
  }

  .cw-desk--loading .cw-page-title::before {
    inset: 6px 0;
    border-radius: 999px;
    background: #d9d9d9;
    width: 58%;
  }

  .cw-desk--loading .cw-card::before,
  .cw-desk--loading .cw-event-card::before,
  .cw-desk--loading .cw-network-card::before,
  .cw-desk--loading .cw-team-card::before {
    inset: 16px;
    border-radius: 12px;
    background:
      linear-gradient(#d9d9d9 0 0) 0 0 / 40% 12px no-repeat,
      linear-gradient(#d9d9d9 0 0) 0 28px / 100% 10px no-repeat,
      linear-gradient(#d9d9d9 0 0) 0 46px / 76% 10px no-repeat,
      linear-gradient(#d9d9d9 0 0) 0 74px / 100% calc(100% - 74px) no-repeat;
  }

  .cw-desk--loading .cw-booking-item::before,
  .cw-desk--loading .cw-updates-item::before,
  .cw-desk--loading .cw-activity-item::before,
  .cw-desk--loading .cw-membership__summary tr::before {
    inset: 10px 0;
    background:
      linear-gradient(#d9d9d9 0 0) 0 0 / 46% 10px no-repeat,
      linear-gradient(#d9d9d9 0 0) 0 18px / 72% 10px no-repeat;
  }

  .cw-desk--loading .form-input,
  .cw-desk--loading .btn,
  .cw-desk--loading .cw-network-skills-filter label,
  .cw-desk--loading .cw-network-tab {
    color: transparent !important;
    border-color: transparent !important;
    background: #d9d9d9 !important;
    box-shadow: none !important;
  }

  .cw-desk-mobile-menu-backdrop.is-open,
  .cw-desk-mobile-menu.is-open {
    display: block;
  }

  /* --- Avatar: file input below image --- */
  .cw-avatar-upload {
    flex-direction: column;
    align-items: flex-start;
  }

  /* --- Responsive Table: "No More Tables" pattern --- */
  .cw-table thead {
    display: none;
  }

  .cw-table,
  .cw-table tbody,
  .cw-table tr,
  .cw-table td {
    display: block;
  }

  .cw-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
  }

  .cw-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: none;
    text-align: right;
  }

  .cw-table td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 13px;
    color: var(--gray-dark);
    text-align: left;
    margin-right: 12px;
  }

  /* --- Responsive Activity List --- */
  .cw-activity-item {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .cw-activity-item__date {
    margin-left: 0;
    width: 100%;
    font-size: 12px;
  }
}

/* ===================================================================
   Blur-Gate (GCD-only overlay for restricted pages)
   =================================================================== */

.cw-blur-gate {
  position: relative;
  max-height: 520px;
  overflow: hidden;
}

.cw-blur-gate__content {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

.cw-blur-gate__overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0.95) 100%);
  border-radius: var(--radius);
}

.cw-blur-gate__message {
  text-align: center;
  max-width: 480px;
  padding: 0 24px 48px;
}

.cw-blur-gate__message h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--gray-dark);
}

.cw-blur-gate__message p {
  font-size: 14px;
  color: var(--gray-mid);
  margin: 0 0 16px;
  line-height: 1.5;
}

.cw-blur-gate__message .btn {
  display: inline-block;
}

/* GCD member pill in network card footer */
.cw-gcd-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fc3749 !important;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.cw-gcd-pill::after {
  display: none !important;
  content: none !important;
}
.cw-gcd-pill:hover {
  background: #fc3749 !important;
  color: #fff !important;
}

.cw-shareholder-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: #cac0ff;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}

@keyframes cw-desk-page-skeleton {
  100% {
    transform: translateX(100%);
  }
}
