/**
 * WholeShare Master Workspace Stylesheet (app.css)
 * High-Craft Enterprise FinTech Workspace
 * Eliminates all emojis, cartoon gradients, and vibe-coded artifacts
 */

/* ==========================================================================
   1. Base Reset & Layout
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  background-color: var(--ws-bg-canvas);
  color: var(--ws-text-primary);
  font-family: var(--ws-font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.5;
}

.ws-step-indicator,
.ws-sample-kits-label,
.ws-step-indicator *,
.ws-card-title,
.ws-page-title,
.ws-trust-badge,
.ws-kpi-sub,
.ws-quick-chip,
.ws-term-v,
.ws-lock-val,
.btn-paypal-gold,
.b-sch-event-content,
.b-sch-event,
.b-sch-header-timeaxis-cell,
.b-grid-cell {
  font-variant-numeric: tabular-nums !important;
}

/* Custom Light Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F4EFEB;
}
::-webkit-scrollbar-thumb {
  background: #D7D0C5;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B8AFA6;
}

/* ==========================================================================
   2. Workspace Architecture Layout & Persistent Left Sidebar
   ========================================================================== */

.ws-app-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: var(--ws-bg-canvas);
  position: relative;
}

/* Left Sidebar */
.ws-sidebar {
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  background: var(--ws-bg-sidebar);
  border-right: var(--ws-border-hairline);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 16px 14px;
  box-sizing: border-box;
  z-index: 50;
}

/* Sidebar Brand Header */
.ws-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ws-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--ws-radius-sm);
  background: var(--ws-bg-elevated);
  border: var(--ws-border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ws-text-primary);
  flex-shrink: 0;
}

.ws-brand-mark svg {
  width: 16px;
  height: 16px;
}

.ws-brand-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ws-brand-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ws-brand-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ws-text-primary);
}

.ws-brand-sub {
  font-size: 10px;
  color: var(--ws-text-muted);
  font-weight: 500;
}

.ws-status-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Active Business / Persona Switcher Card */
.ws-sidebar-profile {
  margin: 12px 0 10px 0;
  padding: 8px 10px;
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--ws-duration-fast) var(--ws-ease-out);
}

.ws-sidebar-profile:hover {
  background: var(--ws-bg-elevated);
  border-color: rgba(255, 255, 255, 0.14);
}

.ws-profile-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--ws-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--ws-font-mono);
  flex-shrink: 0;
}

.ws-profile-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
}

.ws-profile-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ws-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ws-profile-badge {
  font-size: 9px;
  font-weight: 600;
  color: #10b981;
  letter-spacing: 0.03em;
  font-family: var(--ws-font-mono);
}

.ws-profile-chevron {
  color: var(--ws-text-muted);
  flex-shrink: 0;
}

/* Sidebar Section Titles */
.ws-nav-section-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ws-text-muted);
  padding: 6px 10px 4px 10px;
  font-family: var(--ws-font-mono);
}

/* Sidebar Navigation Items */
.ws-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.ws-sidebar-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--ws-radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ws-text-secondary);
  font-family: var(--ws-font-sans);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--ws-duration-fast) var(--ws-ease-out);
}

.ws-sidebar-nav-btn svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.ws-sidebar-nav-btn:hover {
  color: #ffffff;
  background: var(--ws-bg-hover);
}

.ws-sidebar-nav-btn:hover svg {
  opacity: 1;
}

.ws-sidebar-nav-btn.active {
  background: var(--ws-bg-elevated);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ws-sidebar-nav-btn.active svg {
  color: #38bdf8;
  opacity: 1;
}

.ws-sidebar-pill {
  margin-left: auto;
  font-family: var(--ws-font-mono);
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  font-weight: 600;
}

/* Sidebar Footer */
.ws-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ws-sidebar-stat-card {
  padding: 10px 12px;
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-sm);
}

.ws-stat-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ws-text-muted);
  font-family: var(--ws-font-mono);
}

.ws-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #10b981;
  margin: 2px 0;
}

.ws-stat-sub {
  font-size: 10px;
  color: var(--ws-text-secondary);
}

/* Role Switcher */
.ws-sidebar-role-toggle {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-sm);
}

.ws-role-pill {
  flex: 1;
  padding: 4px 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ws-text-secondary);
  font-family: var(--ws-font-sans);
  font-size: 11.5px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--ws-duration-fast) var(--ws-ease-out);
  text-align: center;
}

.ws-role-pill:hover {
  color: #ffffff;
}

.ws-role-pill.active {
  background: var(--ws-bg-elevated);
  color: #ffffff;
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Sidebar Search Button */
.ws-sidebar-search-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-sm);
  color: var(--ws-text-secondary);
  font-family: var(--ws-font-sans);
  font-size: 12px;
  cursor: pointer;
  transition: all var(--ws-duration-fast) ease;
}

.ws-sidebar-search-btn:hover {
  background: var(--ws-bg-hover);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.ws-sandbox-sentinel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ws-text-muted);
  padding: 2px 4px;
}

/* Viewport Layout */
.ws-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ws-bg-canvas);
}

/* Top Action Bar */
.ws-topbar {
  height: 52px;
  background: rgba(8, 9, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--ws-border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 40;
  box-sizing: border-box;
}

.ws-topbar-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ws-breadcrumb-root {
  font-size: 13px;
  font-weight: 500;
  color: var(--ws-text-muted);
}

.ws-breadcrumb-sep {
  color: var(--ws-text-muted);
  font-size: 12px;
}

.ws-breadcrumb-current {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.ws-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ws-topbar-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-sm);
  color: var(--ws-text-secondary);
  font-family: var(--ws-font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ws-duration-fast) ease;
}

.ws-topbar-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.ws-topbar-action-btn.ws-btn-copilot {
  background: rgba(56, 189, 248, 0.10);
  border-color: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.ws-topbar-action-btn.ws-btn-copilot:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
}

.ws-topbar-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--ws-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: var(--ws-border-hairline);
  color: var(--ws-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ws-duration-fast) ease;
}

.ws-topbar-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}

/* Sizing for AG Grid and Bryntum Containers */
#agGridLedgerContainer {
  width: 100%;
  height: 540px;
  min-height: 480px;
  border-radius: var(--ws-radius-md);
  overflow: hidden;
}

#bryntumTimelineContainer {
  width: 100%;
  height: 540px;
  min-height: 480px;
  border-radius: var(--ws-radius-md);
  overflow: hidden;
}

/* AG Grid Dark Quartz Theme Custom Overrides for FinTech Styling */
.ag-theme-quartz-dark {
  --ag-background-color: var(--ws-bg-surface);
  --ag-header-background-color: var(--ws-bg-canvas);
  --ag-odd-row-background-color: rgba(255, 255, 255, 0.015);
  --ag-border-color: rgba(255, 255, 255, 0.08);
  --ag-header-foreground-color: var(--ws-text-secondary);
  --ag-foreground-color: var(--ws-text-primary);
  --ag-row-hover-color: rgba(255, 255, 255, 0.04);
  --ag-selected-row-background-color: rgba(56, 189, 248, 0.08);
  --ag-font-family: var(--ws-font-sans);
  --ag-font-size: 13px;
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
}

.ag-theme-quartz-dark .ag-header-cell {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.ag-theme-quartz-dark .ag-cell {
  display: flex;
  align-items: center;
}

.telemetry-pill {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--ws-radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ws-text-secondary);
  border: var(--ws-border-hairline);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.telemetry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* Omni Search Button */
.ws-search-btn {
  background: rgba(255, 255, 255, 0.03);
  border: var(--ws-border-hairline);
  color: var(--ws-text-secondary);
  padding: 5px 10px;
  border-radius: var(--ws-radius-sm);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--ws-duration-fast) ease;
}

.ws-search-btn:hover {
  background: var(--ws-bg-hover);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ws-text-primary);
}

/* Profile Switcher Trigger */
.ws-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: var(--ws-border-hairline);
  padding: 3px 8px 3px 4px;
  border-radius: var(--ws-radius-sm);
  cursor: pointer;
  transition: all var(--ws-duration-fast) ease;
}

.ws-profile-btn:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--ws-bg-hover);
}

.ws-avatar {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--ws-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ws-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--ws-font-mono);
}

.ws-profile-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--ws-text-primary);
}

.ws-kyb-pill {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #10b981;
}

/* ==========================================================================
   3. Main Workspace Stage & Page Architecture
   ========================================================================== */

.ws-main-stage {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 28px;
  min-height: calc(100vh - 52px);
  width: 100%;
  box-sizing: border-box;
}

.ws-page {
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: wsFadeIn var(--ws-duration-fast) var(--ws-ease-out);
}

.ws-page.active {
  display: flex;
}

@keyframes wsFadeIn {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

.ws-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.ws-page-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--ws-text-primary);
  letter-spacing: -0.02em;
}

.ws-page-subtitle {
  font-size: 12.5px;
  color: var(--ws-text-muted);
  margin-top: 2px;
}

.ws-page-subtitle code {
  font-family: var(--ws-font-mono);
  font-size: 11px;
  color: var(--ws-text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 1px 4px;
  border-radius: 3px;
  border: var(--ws-border-hairline);
}

/* Standard Buttons */
.btn-step,
.ws-btn {
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  color: var(--ws-text-primary);
  padding: 6px 12px;
  border-radius: var(--ws-radius-sm);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--ws-duration-fast) ease;
}

.btn-step:hover,
.ws-btn:hover {
  background: var(--ws-bg-hover);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-step:disabled,
.ws-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary Button */
.ws-btn-primary {
  background: #10b981;
  color: #000000;
  border: 1px solid #10b981;
  font-weight: 600;
}
.ws-btn-primary:hover {
  background: #34d399;
}

/* Stage Segment Tabs */
.stage-tab-btn {
  background: transparent;
  border: var(--ws-border-hairline);
  color: var(--ws-text-secondary);
  padding: 5px 12px;
  border-radius: var(--ws-radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ws-duration-fast) ease;
}

.stage-tab-btn:hover {
  background: var(--ws-bg-hover);
  color: var(--ws-text-primary);
}

.stage-tab-btn.active {
  background: var(--ws-bg-elevated);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ws-text-primary);
}

/* ==========================================================================
   4. Financial Bento Grid Layout
   ========================================================================== */

.ws-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ws-stat-card {
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color var(--ws-duration-fast) ease;
}

.ws-stat-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.ws-stat-label {
  font-family: var(--ws-font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ws-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ws-stat-value {
  font-size: 22px;
  font-weight: 600;
  color: var(--ws-text-primary);
  margin: 2px 0;
  letter-spacing: -0.02em;
}

.ws-stat-meta {
  font-size: 12px;
  color: var(--ws-text-secondary);
}

/* ==========================================================================
   5. Panels & Tables (Linear Style High-Density Ledger)
   ========================================================================== */

.ws-section-panel {
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
  overflow: hidden;
}

.ws-panel-header {
  padding: 12px 18px;
  background: var(--ws-bg-canvas);
  border-bottom: var(--ws-border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws-panel-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ws-text-primary);
}

.ws-panel-body {
  padding: 18px;
}

/* High-Density Grid Table */
.ws-grid-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--ws-font-sans);
  font-size: 12.5px;
}

.ws-grid-table th {
  background: var(--ws-bg-canvas);
  color: var(--ws-text-muted);
  font-family: var(--ws-font-mono);
  font-weight: 500;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 14px;
  border-bottom: var(--ws-border-hairline);
  text-align: left;
}

.ws-grid-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--ws-text-primary);
  vertical-align: middle;
}

.ws-grid-table tr:hover td {
  background: var(--ws-bg-hover);
}

.ws-grid-master-row {
  cursor: pointer;
  transition: background-color var(--ws-duration-fast) ease;
}

.ws-grid-detail-row {
  background: rgba(0, 0, 0, 0.35);
}

.ws-detail-card {
  padding: 14px 16px;
  background: var(--ws-bg-elevated);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-sm);
  margin: 6px 14px 14px 14px;
}

/* Status Badges */
.ws-status-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  font-family: var(--ws-font-mono);
}

.ws-status-badge.active,
.status-badge.ACTIVE,
.status-badge.FORMING,
.status-badge.CONFIRMED,
.status-badge.BUYER_APPROVED,
.status-badge.SETTLED {
  background: rgba(16, 185, 129, 0.10);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.20);
}

.ws-status-badge.pending,
.status-badge.PENDING,
.status-badge.DRAFT,
.status-badge.AWAITING_SUPPLIER {
  background: rgba(245, 158, 11, 0.10);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.20);
}

.ws-status-badge.dispute,
.status-badge.DISPUTED,
.status-badge.REJECTED {
  background: rgba(239, 68, 68, 0.10);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.20);
}

.ws-status-badge.info,
.status-badge.DISPATCHED,
.status-badge.IN_TRANSIT,
.status-badge.LOCKED {
  background: rgba(14, 165, 233, 0.10);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.20);
}

.paypal-link {
  font-family: var(--ws-font-mono);
  font-size: 11.5px;
  color: #38bdf8;
  text-decoration: none;
}

.paypal-link:hover {
  text-decoration: underline;
}

.ws-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ==========================================================================
   6. Bryntum Svalbard Logistics Timeline
   ========================================================================== */

.ws-timeline-card {
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}

.ws-milestone-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.ws-milestone-step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ws-radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ws-milestone-step.completed {
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.04);
}

.ws-milestone-step.active {
  border-color: var(--ws-border-focus);
  background: rgba(14, 165, 233, 0.05);
}

.ws-inspection-clock-bar {
  height: 3px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.ws-inspection-clock-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 65%;
  background: #f59e0b;
  border-radius: 2px;
}

/* ==========================================================================
   7. Matchmaking, Radar & Category Filtering
   ========================================================================== */

.category-filter-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.category-filter-bar .cat-btn {
  background: rgba(255, 255, 255, 0.03);
  border: var(--ws-border-hairline);
  color: var(--ws-text-secondary);
  padding: 4px 10px;
  border-radius: var(--ws-radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ws-duration-fast) ease;
}

.category-filter-bar .cat-btn:hover {
  background: var(--ws-bg-hover);
  color: var(--ws-text-primary);
}

.category-filter-bar .cat-btn.active {
  background: var(--ws-bg-elevated);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ws-text-primary);
}

.ws-clans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 14px;
}

.ws-clan-card {
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--ws-duration-fast) ease;
}

.ws-clan-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.ws-clan-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.ws-clan-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ws-text-primary);
}

.ws-moq-progress {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.ws-moq-bar {
  height: 100%;
  background: #10b981;
  border-radius: 3px;
}

/* Inline Interactive Pledge Range Slider */
.ws-pledge-calculator {
  background: var(--ws-bg-canvas);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ws-radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.ws-range-slider {
  width: 100%;
  accent-color: #10b981;
  cursor: pointer;
  height: 4px;
}

.ws-calc-breakdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 11px;
}

.ws-calc-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ==========================================================================
   8. Disputes & 48-Hour Inspection Case Manager
   ========================================================================== */

.ws-case-manager {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  min-height: 540px;
}

.ws-claims-list-pane {
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ws-claim-item-row {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background-color var(--ws-duration-fast) ease;
}

.ws-claim-item-row:hover {
  background: var(--ws-bg-hover);
}

.ws-claim-item-row.selected {
  background: var(--ws-bg-elevated);
  border-left: 2px solid var(--ws-accent-copilot);
}

.ws-claim-detail-pane {
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   9. Slide-Over Drawers (Linear Style)
   ========================================================================== */

.ws-drawer {
  position: fixed;
  top: 52px;
  right: 0;
  bottom: 0;
  width: 440px;
  background: var(--ws-bg-surface);
  border-left: var(--ws-border-hairline);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--ws-duration-normal) var(--ws-ease-out);
}

.ws-drawer.open {
  transform: translateX(0);
}

.ws-drawer-header {
  padding: 14px 18px;
  background: var(--ws-bg-canvas);
  border-bottom: var(--ws-border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ws-drawer-footer {
  padding: 12px 18px;
  background: var(--ws-bg-canvas);
  border-top: var(--ws-border-hairline);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ==========================================================================
   10. WholeShare Copilot (Linear / Raycast Style)
   ========================================================================== */

.ws-copilot-floating-trigger {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 250;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ws-bg-elevated);
  color: var(--ws-text-primary);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-sm);
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all var(--ws-duration-fast) var(--ws-ease-out);
}

.ws-copilot-floating-trigger:hover {
  background: var(--ws-bg-subtle);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.ws-copilot-modal {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 420px;
  height: 580px;
  max-height: calc(100vh - 72px);
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 500;
  display: none;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--ws-duration-normal) var(--ws-ease-out);
}

.ws-copilot-modal.open {
  display: flex;
}

.ws-copilot-modal.fullscreen {
  top: 16px;
  bottom: 16px;
  left: 16px;
  right: 16px;
  width: auto;
  height: auto;
  max-height: none;
  border-radius: var(--ws-radius-lg);
}

.ws-copilot-modal-header {
  padding: 12px 16px;
  background: var(--ws-bg-canvas);
  border-bottom: var(--ws-border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws-copilot-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ws-copilot-modal-footer {
  padding: 12px 16px;
  background: var(--ws-bg-canvas);
  border-top: var(--ws-border-hairline);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Chat Messages */
.chat-bubble {
  padding: 10px 14px;
  border-radius: var(--ws-radius-sm);
  font-size: 13px;
  line-height: 1.5;
  max-width: 90%;
  word-break: break-word;
}

.chat-bubble.user {
  background: var(--ws-bg-elevated);
  border: var(--ws-border-hairline);
  color: var(--ws-text-primary);
  align-self: flex-end;
}

.chat-bubble.ai {
  background: rgba(255, 255, 255, 0.03);
  border: var(--ws-border-hairline);
  color: var(--ws-text-primary);
  align-self: flex-start;
  width: 100%;
}

.chat-thought {
  font-family: var(--ws-font-mono);
  font-size: 11px;
  color: var(--ws-text-muted);
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preset-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.preset-chips .chip {
  background: rgba(255, 255, 255, 0.03);
  border: var(--ws-border-hairline);
  color: var(--ws-text-secondary);
  padding: 3px 8px;
  border-radius: var(--ws-radius-xs);
  font-size: 11px;
  cursor: pointer;
  transition: all var(--ws-duration-fast) ease;
}

.preset-chips .chip:hover {
  background: var(--ws-bg-hover);
  color: var(--ws-text-primary);
}

.chat-input-form {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   11. Cmd+K Modal Palette (Raycast / Linear Style)
   ========================================================================== */

.ws-cmdk-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 600;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.ws-cmdk-backdrop.active {
  display: flex;
}

.ws-cmdk-modal {
  width: 540px;
  max-width: 90vw;
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ws-cmdk-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: var(--ws-border-hairline);
  background: var(--ws-bg-canvas);
}

.ws-cmdk-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--ws-text-primary);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
}

.ws-cmdk-list {
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
}

.ws-cmdk-item {
  padding: 8px 12px;
  border-radius: var(--ws-radius-sm);
  font-size: 12.5px;
  color: var(--ws-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--ws-duration-fast) ease;
}

.ws-cmdk-item:hover,
.ws-cmdk-item.selected {
  background: var(--ws-bg-elevated);
  color: var(--ws-text-primary);
}

.ws-cmdk-category {
  font-family: var(--ws-font-mono);
  font-size: 9.5px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ws-text-muted);
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  border: var(--ws-border-hairline);
}

/* ==========================================================================
   12. Standard Forms, Inputs & Modals
   ========================================================================== */

.ws-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ws-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ws-form-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ws-text-secondary);
}

.ws-input {
  background: var(--ws-bg-canvas);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ws-radius-sm);
  padding: 7px 10px;
  color: var(--ws-text-primary);
  font-family: inherit;
  font-size: 12.5px;
  outline: none;
  transition: border-color var(--ws-duration-fast) ease;
}

.ws-input:focus {
  border-color: var(--ws-border-focus);
}

/* Modal Windows */
.ws-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 650;
  display: none;
  align-items: center;
  justify-content: center;
}

.ws-modal-backdrop.active {
  display: flex;
}

.ws-modal-box {
  width: 480px;
  max-width: 90vw;
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ws-modal-header {
  padding: 14px 18px;
  background: var(--ws-bg-canvas);
  border-bottom: var(--ws-border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws-modal-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ws-modal-footer {
  padding: 12px 18px;
  background: var(--ws-bg-canvas);
  border-top: var(--ws-border-hairline);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Toast Notifications Container */
.ws-toast-container {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 700;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.ws-toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  padding: 10px 14px;
  background: var(--ws-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ws-radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ws-toast.success { border-left: 3px solid #10b981; }
.ws-toast.error { border-left: 3px solid #ef4444; }
.ws-toast.info { border-left: 3px solid #0ea5e9; }

/* Connected AI Agents Grid */
.ws-agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.ws-agent-card {
  background: var(--ws-bg-canvas);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ws-radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ws-agent-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws-agent-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ws-text-primary);
}

.ws-agent-protocol {
  font-family: var(--ws-font-mono);
  font-size: 9.5px;
  font-weight: 500;
  padding: 2px 5px;
  border-radius: var(--ws-radius-xs);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ws-text-muted);
  border: var(--ws-border-hairline);
}

.ws-agent-desc {
  font-size: 11px;
  color: var(--ws-text-secondary);
}

.ws-agent-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 10.5px;
}


/* ==========================================================================
   WholeShare Extended FinTech Components: SVG Vault Logo, Hero, & Drawers
   ========================================================================== */

/* Animated SVG Escrow Vault Logo */
.ws-vault-logo {
  width: 28px;
  height: 28px;
  display: block;
}

.ws-vault-logo-lg {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
}

.ws-vault-arc {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: wsVaultDraw 1.2s var(--ws-ease-out) forwards;
}

.ws-vault-arc.arc-1 { animation-delay: 0.1s; stroke: #0070ba; }
.ws-vault-arc.arc-2 { animation-delay: 0.25s; stroke: #10b981; }
.ws-vault-arc.arc-3 { animation-delay: 0.4s; stroke: #94a3b8; }

@keyframes wsVaultDraw {
  to { stroke-dashoffset: 0; }
}

.ws-vault-pulse {
  animation: wsVaultGlow 2.5s ease-in-out infinite;
}

@keyframes wsVaultGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 6px #10b981); }
}

/* Workspace Role Switcher */
.ws-role-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-sm);
  padding: 2px;
  gap: 2px;
}

.ws-role-btn {
  background: transparent;
  border: none;
  color: var(--ws-text-muted);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--ws-duration-fast) ease;
}

.ws-role-btn.active {
  background: var(--ws-bg-elevated);
  color: var(--ws-text-primary);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Landing Page Hero View */
.ws-landing-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
}

.ws-hero {
  text-align: center;
  position: relative;
  padding: 30px 20px;
}

.ws-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(0, 112, 186, 0.12);
  border: 1px solid rgba(0, 112, 186, 0.25);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 500;
  margin-bottom: 20px;
}

.ws-hero-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  max-width: 820px;
  margin: 0 auto 16px auto;
}

.ws-hero-subtitle {
  font-size: 16px;
  color: var(--ws-text-secondary);
  max-width: 680px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

.ws-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #0070ba 0%, #005ea6 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--ws-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform var(--ws-duration-fast) var(--ws-ease-out), filter var(--ws-duration-fast) ease;
  box-shadow: 0 4px 14px rgba(0, 112, 186, 0.35);
}

.btn-hero-primary:active {
  transform: scale(0.98);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ws-bg-elevated);
  color: var(--ws-text-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--ws-radius-md);
  border: var(--ws-border-hairline);
  cursor: pointer;
  transition: background var(--ws-duration-fast) ease;
}

.btn-hero-secondary:hover {
  background: var(--ws-bg-subtle);
}

.ws-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.ws-metric-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%), #111216;
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-md);
  padding: 18px 16px;
  text-align: left;
}

.ws-metric-label {
  font-size: 11px;
  color: var(--ws-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.ws-metric-val {
  font-size: 24px;
  font-weight: 700;
  color: var(--ws-text-primary);
  margin-bottom: 4px;
}

.ws-metric-meta {
  font-size: 11px;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Bento Showcase Grid */
.ws-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ws-bento-card {
  background: var(--ws-bg-surface);
  border: var(--ws-border-hairline);
  border-radius: var(--ws-radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ws-bento-card.span-2 {
  grid-column: span 2;
}

.ws-bento-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--ws-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: var(--ws-border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0070ba;
}

.ws-bento-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ws-text-primary);
}

.ws-bento-desc {
  font-size: 12.5px;
  color: var(--ws-text-secondary);
  line-height: 1.5;
}

/* Dynamic Slide-Over Notification Drawer */
.ws-slide-over-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 250;
  display: none;
  justify-content: flex-end;
}

.ws-slide-over-backdrop.active {
  display: flex;
}

.ws-slide-over {
  width: 460px;
  max-width: 90vw;
  height: 100vh;
  background: var(--ws-bg-surface);
  border-left: var(--ws-border-hairline);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.5);
  animation: wsSlideOverIn 0.25s var(--ws-ease-out);
}

@keyframes wsSlideOverIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.ws-slide-over-header {
  height: 56px;
  padding: 0 20px;
  border-bottom: var(--ws-border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws-slide-over-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ws-slide-over-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.ws-slide-over-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ws-slide-over-close:hover {
  background: #1c2029;
  color: #ffffff;
}

.ws-slide-over-error {
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 13px;
  line-height: 1.5;
}

.ws-slide-over-detail-card {
  padding: 16px;
  background: #15181e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* PayPal Themed Components */
.btn-paypal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0070ba;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--ws-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--ws-duration-fast) ease;
}

.btn-paypal:hover {
  background: #005ea6;
}

.btn-paypal:active {
  transform: scale(0.98);
}

.btn-paypal-gold {
  background: #ffc439;
  color: #111216;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-paypal-gold:hover {
  background: #f4b321;
}

.ws-paypal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: #94a3b8;
  padding: 3px 8px;
  border-radius: var(--ws-radius-full);
  background: rgba(0, 112, 186, 0.08);
  border: 1px solid rgba(0, 112, 186, 0.2);
}

/* Checklist & Onboarding */
.ws-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ws-checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--ws-radius-sm);
  background: var(--ws-bg-canvas);
  border: var(--ws-border-hairline);
  font-size: 12px;
}

.ws-checklist-item.complete {
  border-color: rgba(16, 185, 129, 0.3);
}

.ws-checklist-status {
  font-size: 11px;
  font-family: var(--ws-font-mono);
  color: #10b981;
}

.ws-photo-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--ws-radius-md);
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
  cursor: pointer;
  transition: all var(--ws-duration-fast) ease;
}

.ws-photo-dropzone:hover {
  border-color: #0070ba;
  background: rgba(0, 112, 186, 0.04);
}

/* ==========================================================================
   15. BUTTON PRESS PHYSICS (Emil Kowalski Motion Physics)
   ==========================================================================
   Mechanical intent: scale(0.98) on :active state
   GPU-accelerated: transform property only
   Doherty Threshold: 60ms transition
*/

button:active,
.ws-sidebar-nav-btn:active,
.btn-hero-primary:active,
.btn-hero-secondary:active,
.btn-step:active,
.ws-topbar-action-btn:active,
.ws-topbar-icon-btn:active,
.ws-sidebar-search-btn:active,
.ws-role-pill:active,
.ws-profile-chevron:active,
.ws-sidebar-profile:active,
.ws-nav-btn:active {
  transform: scale(0.98);
  transition: transform 60ms var(--ws-ease-out);
}

/* Ensure all buttons have GPU-accelerated transitions */
button,
.ws-sidebar-nav-btn,
.btn-hero-primary,
.btn-hero-secondary,
.btn-step,
.ws-topbar-action-btn,
.ws-topbar-icon-btn,
.ws-sidebar-search-btn,
.ws-role-pill,
.ws-nav-btn {
  transition: transform 60ms var(--ws-ease-out), 
              opacity 120ms var(--ws-ease-out),
              background-color 120ms var(--ws-ease-out),
              border-color 120ms var(--ws-ease-out);
}

/* ==========================================================================
   16. BENTO GRID HOVER EFFECTS (Meng To Landing Page Design)
   ==========================================================================
   Lift on hover, press on active, icon pulse
*/

.ws-bento-card {
  transition: transform 200ms var(--ws-ease-out), 
              box-shadow 200ms var(--ws-ease-out);
}

.ws-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.ws-bento-card:active {
  transform: scale(0.98);
}

.ws-bento-icon {
  transition: transform 200ms var(--ws-ease-out);
}

.ws-bento-card:hover .ws-bento-icon {
  transform: scale(1.1);
}

/* ==========================================================================
   17. CARD & PANEL HOVER EFFECTS
   ==========================================================================
   Subtle lift and border glow on hover
*/

.ws-card,
.ws-panel,
.ws-section-panel,
.ws-stat-card {
  transition: transform 120ms var(--ws-ease-out), 
              box-shadow 120ms var(--ws-ease-out),
              border-color 120ms var(--ws-ease-out);
}

.ws-card:hover,
.ws-panel:hover,
.ws-section-panel:hover,
.ws-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--ws-border-focus);
}

.ws-card:active,
.ws-panel:active,
.ws-section-panel:active,
.ws-stat-card:active {
  transform: scale(0.98);
}

/* ==========================================================================
   18. SLIDE-OVER DRAWER ANIMATIONS (Garden Component Boundaries)
   ==========================================================================
   Smooth enter/exit animations for shadcn/ui Sheet components
*/

.ws-drawer {
  animation: wsDrawerEnter 250ms var(--ws-ease-out) forwards;
}

.ws-drawer-exit {
  animation: wsDrawerExit 200ms var(--ws-ease-out) forwards;
}

.ws-drawer-backdrop {
  animation: wsDrawerBackdropIn 200ms var(--ws-ease-out) forwards;
}

.ws-drawer-backdrop-exit {
  animation: wsDrawerBackdropOut 200ms var(--ws-ease-out) forwards;
}

/* ==========================================================================
   19. MODAL ANIMATIONS (Garden Component Boundaries)
   ==========================================================================
   Scale and fade animations for dialogs
*/

.ws-modal {
  animation: wsModalEnter 200ms var(--ws-ease-out) forwards;
}

.ws-modal-exit {
  animation: wsModalExit 150ms var(--ws-ease-out) forwards;
}

.ws-modal-backdrop {
  animation: wsDrawerBackdropIn 200ms var(--ws-ease-out) forwards;
}

.ws-modal-backdrop-exit {
  animation: wsDrawerBackdropOut 200ms var(--ws-ease-out) forwards;
}

/* ==========================================================================
   20. HERO SECTION SPECIFIC STYLES
   ==========================================================================
   Ensure hero elements have proper initial states for animations
*/

.ws-hero-badge {
  opacity: 0.6;
}

.ws-hero-title {
  opacity: 0;
}

.ws-hero-subtitle {
  opacity: 0;
}

.ws-hero-actions {
  opacity: 0;
  transform: translateY(10px);
}

.ws-metric-box {
  opacity: 0;
  transform: translateY(10px);
}


/* ==========================================================================
   21. 21st.dev Tallyfold & Efferd Dashboard Rebuild System
   ========================================================================== */

/* Strict View Isolation */
.ws-view {
  width: 100%;
  animation: wsViewFadeIn 120ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wsViewFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Standalone Landing Page (Tallyfold Instrument-Panel) */
.ws-landing-view {
  width: 100%;
  min-height: 100vh;
  background-color: var(--ws-bg-canvas);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-x: hidden;
}

.ws-landing-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 80px 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background-color: var(--ws-bg-canvas);
  position: relative;
}

/* 1. Top Instrument Header (64px) */
.ws-instrument-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 40px;
  padding: 0 4px;
}

.ws-instrument-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ws-logo-mono {
  font-family: var(--ws-font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.ws-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 4px;
  font-size: 10.5px;
  font-family: var(--ws-font-mono);
  color: #10b981;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ws-status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.ws-instrument-header-center {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ws-header-link {
  font-family: var(--ws-font-mono);
  font-size: 11.5px;
  color: var(--ws-text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 150ms ease;
}

.ws-header-link:hover {
  color: #ffffff;
}

.ws-instrument-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 2. Tallyfold Hero Section */
.ws-tallyfold-hero {
  padding: 40px 0 60px 0;
  display: flex;
  flex-direction: column;
}

.ws-eyebrow-tag {
  font-family: var(--ws-font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ws-blue);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.ws-tallyfold-headline {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
  max-width: 24ch;
  margin-bottom: 20px;
}

.ws-tallyfold-subheadline {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ws-text-muted);
  max-width: 62ch;
  margin-bottom: 48px;
}

/* 21st.dev Number Ticker Telemetry Strip (3 Equal Cells) */
.ws-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  padding: 24px;
  background: var(--ws-bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ws-radius-md);
}

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

.ws-telemetry-cell:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding-right: 16px;
}

.ws-telemetry-label {
  font-family: var(--ws-font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ws-text-muted);
  letter-spacing: 0.05em;
}

.ws-telemetry-value {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.ws-telemetry-sub {
  font-size: 12px;
  color: var(--ws-text-secondary);
}

/* Reviewer Persona Launcher Card */
.ws-persona-launcher-card {
  padding: 20px 24px;
  background: var(--ws-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ws-radius-md);
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ws-launcher-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.ws-launcher-title {
  font-family: var(--ws-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.ws-launcher-hint {
  font-size: 12px;
  color: var(--ws-text-muted);
}

.ws-persona-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ws-persona-pill {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ws-radius-sm);
  color: var(--ws-text-secondary);
  font-family: var(--ws-font-sans);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 120ms ease;
}

.ws-persona-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}

.ws-persona-pill.active {
  background: rgba(0, 112, 186, 0.15);
  border-color: rgba(0, 112, 186, 0.4);
  color: #38bdf8;
  font-weight: 600;
}

/* 4-Card Bento Grid (Quillery / MengTo 2x2 Asymmetric) */
.ws-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ws-bento-card {
  padding: 24px;
  background: var(--ws-bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ws-radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 150ms ease;
}

.ws-bento-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.ws-bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws-bento-tag {
  font-family: var(--ws-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ws-text-muted);
  letter-spacing: 0.06em;
}

.ws-bento-pill {
  font-family: var(--ws-font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.ws-bento-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.ws-bento-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ws-text-secondary);
}

.ws-bento-preview-box {
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--ws-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ws-radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}

.ws-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ws-text-muted);
}

/* ==========================================================================
   22. Workspace Shell & Views (Efferd Dashboard 2)
   ========================================================================== */

.workspace-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: var(--ws-bg-canvas);
}

.ws-workspace-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--ws-bg-canvas);
}

.ws-workspace-viewport {
  flex: 1;
  padding: 24px 32px;
  overflow-y: auto;
}

/* Official PayPal Buttons & Interaction Physics */
.btn-paypal-gold {
  background-color: #ffc439 !important;
  color: #111827 !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  padding: 9px 18px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  transition: background-color 150ms ease, transform 100ms ease !important;
}

.btn-paypal-gold:hover {
  background-color: #f2ba32 !important;
}

.btn-paypal-blue {
  background-color: #0070ba !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 9px 18px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  transition: background-color 150ms ease, transform 100ms ease !important;
}

.btn-paypal-blue:hover {
  background-color: #005ea6 !important;
}

.btn-titanium {
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: var(--ws-text-secondary) !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
  padding: 9px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  transition: background-color 150ms ease, transform 100ms ease !important;
}

.btn-titanium:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

/* Emil Kowalski Snappy Press Physics */
button:active,
.btn-paypal-gold:active,
.btn-paypal-blue:active,
.btn-titanium:active,
.ws-btn:active,
.ws-persona-pill:active {
  transform: scale(0.97) !important;
}

/* ==========================================================================
   Vengeance UI & Aurora Design Tokens
   ========================================================================== */
.ws-aurora-canvas {
  background: #FAF8F3 !important;
  position: relative;
  overflow-x: hidden;
}

.ws-aurora-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.12) 0%, rgba(168, 85, 247, 0.08) 50%, rgba(9, 10, 15, 0) 80%);
  pointer-events: none;
  filter: blur(50px);
  z-index: 0;
}

.ws-glass-header {
  position: relative;
  z-index: 10;
  background: rgba(9, 10, 15, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.ws-border-beam-card {
  position: relative;
  background: #101112 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  transition: all 250ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  overflow: hidden;
}

.ws-border-beam-card:hover {
  border-color: rgba(63, 222, 201, 0.4) !important;
  box-shadow: 0 0 25px -4px rgba(63, 222, 201, 0.18) !important;
  transform: translateY(-2px) !important;
  background: #131518 !important;
}

.ws-metric-delta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.ws-delta-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
}

.ws-delta-positive {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.ws-glow-pill {
  transition: all 200ms ease;
}

.ws-glow-pill:hover {
  border-color: rgba(0, 210, 255, 0.3) !important;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.15) !important;
}

.ws-interactive-btn {
  transition: all 200ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.ws-interactive-btn:hover {
  box-shadow: 0 0 20px rgba(255, 196, 57, 0.3) !important;
}

/* ==========================================================================
   21st.dev Efferd Dashboard & Tallyfold / Quillery React Tokens
   ========================================================================== */
.ws-root-viewport {
  min-height: 100vh;
  background: #FAF8F3;
  color: #0F1F2E;
  font-family: var(--ws-font-sans);
}

.ws-landing-wrapper {
  min-height: 100vh;
  background: #FAF8F3;
}

.ws-topbar-nav-link {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  transition: color 150ms ease !important;
}

.ws-topbar-nav-link:hover {
  color: #ffffff !important;
}

.ws-topbar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
}

.ws-topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.ws-topbar-brand-text {
  display: flex;
  flex-direction: column;
}

.ws-brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.ws-badge-status-pill {
  font-size: 10px;
  font-weight: 600;
  color: #10b981;
  letter-spacing: 0.08em;
}

[data-ws-view="landing"] .ws-btn-sm,
[data-ws-view="landing"] .ws-btn-sm span,
[data-ws-view="landing"] .ws-hero-eyebrow span,
[data-ws-view="landing"] .ws-bento-desc,
[data-ws-view="landing"] .ws-bento-stat-val {
  font-size: 12px !important;
}

[data-ws-view="landing"] .ws-bento-title {
  font-size: 14px !important;
}

[data-ws-view="landing"] .ws-bento-stat-label {
  font-size: 10px !important;
}

.ws-topbar-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ws-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ws-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.ws-hero-content {
  text-align: left;
}

.ws-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.ws-pulse-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.ws-hero-headline {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 880px;
}

.ws-hero-subheadline {
  font-size: 16px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 780px;
  margin: 0 0 28px;
}

.ws-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.ws-btn-hero {
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}

.ws-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.ws-metric-card {
  background: #FFFFFF;
  border: 1px solid #E7E2D8;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ws-metric-label {
  font-size: 10px;
  font-weight: 600;
  color: #5C6A79;
  letter-spacing: 0.08em;
}

.ws-metric-value {
  font-size: 26px;
  font-weight: 700;
  color: #0F1F2E;
}

.ws-metric-meta {
  font-size: 12px;
  color: #5C6A79;
}

.ws-persona-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 48px;
}

.ws-persona-title {
  font-size: 11px;
  font-weight: 600;
  color: #5C6A79;
  letter-spacing: 0.08em;
}

.ws-persona-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ws-persona-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #F4EFEB;
  border: 1px solid #E7E2D8;
  border-radius: 8px;
  color: #0F1F2E;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease;
}

.ws-persona-pill:hover {
  background: #F6F4EE;
  border-color: #0070BA;
  color: #0070BA;
}

.ws-persona-name {
  font-weight: 600;
}

.ws-persona-val {
  color: #0070BA;
}

.ws-bento-section {
  margin-top: 24px;
}

.ws-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ws-bento-card {
  background: #FFFFFF;
  border: 1px solid #E7E2D8;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 200ms ease;
}

.ws-bento-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: #11141a;
  transform: translateY(-2px);
}

.ws-bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ws-bento-badge {
  font-size: 10px;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.08em;
}

.ws-bento-status {
  font-size: 10px;
  font-weight: 600;
  color: #10b981;
  letter-spacing: 0.06em;
}

.ws-bento-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.ws-bento-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0 0 16px;
  flex: 1;
}

.ws-bento-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  font-size: 12px;
}

.ws-bento-stat-label {
  color: #64748b;
}

.ws-bento-stat-val {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   Stitch Light Workspace Shell Styles
   Canvas #FAF8F3, Card/Sidebar #FFFFFF, Ink #0F1F2E, Blue #0070BA
   ========================================================================== */
.ws-workspace-shell {
  display: flex;
  min-height: 100vh;
  background: #FAF8F3;
}


.ws-sidebar-brand {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #EFECE6;
  cursor: pointer;
}

.ws-sidebar-brand-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ws-sidebar-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0070BA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--ws-font-mono);
  flex-shrink: 0;
}

.ws-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0F1F2E;
  font-family: var(--ws-font-sans);
}

.ws-sidebar-tag {
  font-size: 10px;
  font-weight: 600;
  color: #0070BA;
  letter-spacing: 0.06em;
  font-family: var(--ws-font-mono);
  background: #EBF4FA;
  border: 1px solid rgba(0, 112, 186, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.ws-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  flex: 1;
}

.ws-nav-category-label {
  font-size: 11px;
  font-weight: 600;
  color: #5C6A79;
  letter-spacing: 0.06em;
  padding: 16px 12px 8px;
  font-family: var(--ws-font-sans);
}

.ws-sidebar-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #5C6A79;
  font-family: var(--ws-font-sans);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
  width: 100%;
  position: relative;
}

.ws-nav-text {
  flex: 1;
}

.ws-sidebar-nav-btn:hover {
  background: #F6F4EE;
  color: #0F1F2E;
}

.ws-sidebar-nav-btn.ws-nav-active {
  background: #EBF4FA;
  color: #0070BA;
  font-weight: 600;
}

.ws-nav-indicator {
  position: absolute;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0070BA;
}

.ws-sidebar-footer {
  padding: 12px;
  border-top: 1px solid #EFECE6;
}

.ws-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #F4EFEB;
  border-radius: 10px;
  border: 1px solid #E7E2D8;
  cursor: pointer;
  transition: background 120ms ease;
}

.ws-user-card:hover {
  background: #EFECE6;
}

.ws-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EBF4FA;
  color: #0070BA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--ws-font-mono);
  flex-shrink: 0;
}

.ws-user-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.ws-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #0F1F2E;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-family: var(--ws-font-sans);
}

.ws-user-role {
  font-size: 11px;
  color: #5C6A79;
  font-family: var(--ws-font-sans);
}

.ws-logout-btn {
  background: transparent;
  border: none;
  color: #8D9CAE;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.ws-logout-btn:hover {
  color: #BA1A1A;
}

.ws-workspace-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #FAF8F3;
}

.ws-workspace-topbar {
  height: 64px;
  border-bottom: 1px solid #E7E2D8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.ws-topbar-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: var(--ws-font-sans);
}

.ws-crumb-root {
  color: #5C6A79;
  cursor: pointer;
  font-weight: 500;
}

.ws-crumb-root:hover {
  color: #0F1F2E;
}

.ws-crumb-sep {
  color: #8D9CAE;
}

.ws-crumb-current {
  color: #0F1F2E;
  font-weight: 600;
}

.ws-topbar-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ws-stat-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #F4EFEB;
  border: 1px solid #E7E2D8;
  border-radius: 9999px;
  font-size: 12px;
  color: #0F1F2E;
  font-family: var(--ws-font-sans);
  font-weight: 500;
}

.ws-stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.ws-dot-green {
  background: #10b981;
}

.ws-dot-blue {
  background: #0070BA;
}

.ws-stage-container {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.ws-view-pane {
  display: block;
  width: 100%;
}

.ws-view-header {
  margin-bottom: 24px;
}

.ws-header-with-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ws-view-title {
  font-size: 20px;
  font-weight: 700;
  color: #0F1F2E;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.ws-view-subtitle {
  font-size: 13px;
  color: #5C6A79;
  margin: 0;
  max-width: 720px;
  line-height: 1.5;
}

.ws-stepper-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin-bottom: 24px;
}

.ws-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity 150ms ease;
}

.ws-step-item.ws-step-active {
  opacity: 1;
}

.ws-step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.ws-step-active .ws-step-circle {
  background: #10b981;
  color: #08090b;
}

.ws-step-label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.ws-step-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 16px;
}

.ws-kits-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ws-kits-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.06em;
}

.ws-kit-chip {
  padding: 6px 12px;
  background: #F4EFEB;
  border: 1px solid #E7E2D8;
  border-radius: 6px;
  color: #0F1F2E;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all 150ms ease;
}

.ws-kit-chip:hover {
  background: #F6F4EE;
  color: #0070BA;
}

.ws-card-glass {
  background: #FFFFFF;
  border: 1px solid #E7E2D8;
  border-radius: 10px;
  padding: 24px;
}

.ws-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

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

.ws-field-label {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}

.ws-input-titanium {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #ffffff;
  padding: 9px 12px;
  font-size: 13px;
  width: 100%;
  outline: none;
  transition: border-color 150ms ease;
}

.ws-input-titanium:focus {
  border-color: #0070ba;
  background: rgba(255, 255, 255, 0.06);
}

.ws-step-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.ws-slider-group {
  margin-bottom: 20px;
}

.ws-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: #94a3b8;
}

.ws-slider-val {
  color: #10b981;
  font-weight: 600;
}

.ws-range-slider {
  width: 100%;
  accent-color: #10b981;
}

.ws-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.ws-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FAF8F3;
  border: 1px solid #E7E2D8;
  border-radius: 8px;
  padding: 8px 12px;
  flex: 1;
  max-width: 480px;
}

.ws-search-icon {
  color: #5C6A79;
}

.ws-search-input {
  background: transparent;
  border: none;
  color: #0F1F2E;
  font-size: 13px;
  width: 100%;
  outline: none;
}

.ws-clans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ws-clan-card {
  background: #FFFFFF;
  border: 1px solid #E7E2D8;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.ws-clan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ws-clan-badge {
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
}

.ws-clan-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.ws-clan-commodity {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 16px;
}

.ws-clan-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 16px;
}

.ws-metric-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ws-meta-label {
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.06em;
}

.ws-meta-val {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.ws-text-emerald {
  color: #10b981 !important;
}

.ws-clan-progress-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.ws-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
}

.ws-progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.ws-progress-fill {
  height: 100%;
  background: #10b981;
  border-radius: 3px;
}

.ws-ag-studio-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #E7E2D8;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.ws-studio-preset-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ws-preset-label {
  font-size: 10px;
  font-weight: 600;
  color: #5C6A79;
  letter-spacing: 0.06em;
}

.ws-preset-chip {
  padding: 5px 10px;
  background: #F4EFEB;
  border: 1px solid #E7E2D8;
  border-radius: 6px;
  color: #0F1F2E;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease;
}

.ws-preset-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.ws-chip-reset {
  color: #ef4444 !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
}

.ws-chip-reset:hover {
  background: rgba(239, 68, 68, 0.1) !important;
}

.ws-agent-insight-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 12px;
  font-size: 12px;
}

.ws-insight-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f8fafc;
}

.ws-insight-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
}

.ws-studio-icon {
  color: #ffc439;
}

.ws-studio-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13px;
  flex: 1;
  outline: none;
}

.ws-inspection-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.ws-inspection-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ws-banner-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  display: block;
}

.ws-banner-sub {
  font-size: 11px;
  color: #94a3b8;
}

.ws-countdown-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ws-countdown-label {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  letter-spacing: 0.06em;
}

.ws-countdown-val {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

[data-ws-view="logistics"] .b-sch-header-text,
[data-ws-view="logistics"] .b-grid-header-text-content,
[data-ws-view="logistics"] .b-license-badge-state {
  font-size: 13px !important;
}

[data-ws-view="logistics"] .ws-btn-sm span {
  font-size: 13px !important;
}

.ws-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.ws-drawer-card {
  background: #FFFFFF;
  border: 1px solid #E7E2D8;
  border-radius: 12px;
  width: 520px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ws-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws-drawer-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-drawer-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.ws-close-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
}

.ws-drawer-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

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

.ws-drawer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.ws-leader-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.ws-requests-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.ws-request-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.ws-req-business {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  display: block;
}

.ws-req-meta {
  font-size: 12px;
  color: #94a3b8;
}

.ws-req-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-subs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ws-subs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ws-subs-badge {
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.08em;
}

.ws-subs-price {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.ws-subs-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.ws-subs-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 16px;
}

.ws-subs-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.ws-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.ws-dues-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.ws-dues-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #94a3b8;
}

.ws-dues-total {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  color: #ffffff;
  font-weight: 600;
}

.ws-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ws-card-header-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ws-settings-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}


/* ========================================================
   TINDER & JOB BOARD CLAN MATCHMAKING DOSSIER STYLES
   ======================================================== */

.ws-mode-pill-group {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 3px;
  gap: 4px;
}

.ws-mode-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.ws-mode-pill:hover {
  color: #ffffff;
}

.ws-mode-pill-active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
}

.ws-deck-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 10px 0 30px;
}

.ws-deck-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 16px;
}

.ws-deck-counter {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #00d2ff;
}

.ws-deck-pagination-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ws-deck-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ws-dot-active {
  width: 22px;
  border-radius: 4px;
  background: #00d2ff;
}

.ws-deck-card-container {
  position: relative;
  width: 100%;
}

.ws-deck-shadow-card {
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  border-radius: 14px;
  pointer-events: none;
}

.ws-deck-layer-2 {
  top: 14px;
  transform: scale(0.94);
  background: rgba(18, 20, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 1;
}

.ws-deck-layer-1 {
  top: 7px;
  transform: scale(0.97);
  background: rgba(18, 20, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.ws-clan-dossier-card {
  position: relative;
  z-index: 3;
  background: #FFFFFF;
  border: 1px solid #E7E2D8;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 31, 46, 0.06);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ws-dossier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ws-dossier-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 6px;
  padding: 3px 8px;
  color: #10b981;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ws-category-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px 8px;
  color: #94a3b8;
  font-size: 11px;
}

.ws-dossier-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ws-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.ws-status-forming {
  background: #00d2ff;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

.ws-status-locked {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.ws-status-text {
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
}

.ws-dossier-title-section {
  margin-bottom: 20px;
}

.ws-dossier-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.ws-dossier-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #94a3b8;
}

.ws-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ws-meta-bullet {
  color: rgba(255, 255, 255, 0.2);
}

.ws-leader-dossier {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.ws-leader-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.ws-leader-info {
  flex: 1;
}

.ws-leader-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ws-leader-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.ws-leader-pill {
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
}

.ws-leader-title {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 2px;
}

.ws-leader-stats-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #cbd5e1;
  margin-top: 4px;
}

.ws-track-record-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.ws-track-cell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ws-track-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.04em;
}

.ws-track-value {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.ws-track-positive {
  color: #10b981;
}

.ws-moq-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.ws-moq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ws-moq-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.ws-moq-percent {
  font-size: 16px;
  font-weight: 700;
  color: #00d2ff;
}

.ws-moq-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.ws-moq-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d2ff 0%, #10b981 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.ws-moq-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: #94a3b8;
}

.ws-tiers-section {
  margin-bottom: 18px;
}

.ws-tiers-title {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.ws-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ws-tier-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 8px;
  transition: all 0.15s ease;
}

.ws-tier-reached {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.ws-tier-min {
  font-size: 11px;
  color: #94a3b8;
}

.ws-tier-pct {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.ws-tier-reached .ws-tier-pct {
  color: #10b981;
}

.ws-dossier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.ws-dossier-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  color: #94a3b8;
}

.ws-deck-actions {
  display: grid;
  grid-template-columns: 140px 140px 1fr;
  gap: 12px;
}

.ws-deck-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.ws-deck-btn:active {
  transform: scale(0.98);
}

.ws-deck-btn-pass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.ws-deck-btn-pass:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.ws-deck-btn-shortlist {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.ws-deck-btn-shortlist:hover,
.ws-shortlisted {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.3);
  color: #f472b6;
}

.ws-deck-btn-join {
  background: #f59e0b;
  border: none;
  color: #0d0f14;
}

.ws-deck-btn-join:hover {
  background: #fbbf24;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.ws-deck-nav-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.ws-nav-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.ws-nav-circle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

.ws-nav-circle-btn:active {
  transform: scale(0.95);
}

/* Job Board Catalog Styles */
.ws-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}

.ws-catalog-card {
  background: #FFFFFF;
  border: 1px solid #E7E2D8;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ws-catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ws-catalog-category-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.ws-catalog-cat {
  font-size: 11px;
  color: #94a3b8;
}

.ws-verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #10b981;
}

.ws-catalog-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.ws-catalog-location {
  font-size: 11px;
  color: #64748b;
  display: block;
  margin-top: 2px;
}

.ws-catalog-status {
  font-size: 11px;
  font-weight: 600;
  color: #00d2ff;
  background: rgba(0, 210, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.ws-catalog-leader-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
}

.ws-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.ws-leader-mini-name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
}

.ws-leader-mini-role {
  font-size: 11px;
  color: #94a3b8;
}

.ws-catalog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ws-catalog-price-label {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}

.ws-catalog-price-val {
  font-size: 16px;
  font-weight: 700;
  color: #10b981;
}

[data-ws-view="radar"] .ws-dossier-tag,
[data-ws-view="radar"] .ws-verified-badge span,
[data-ws-view="radar"] .ws-category-badge,
[data-ws-view="radar"] .ws-status-text,
[data-ws-view="radar"] .ws-track-label,
[data-ws-view="radar"] .ws-moq-label,
[data-ws-view="radar"] .ws-moq-units,
[data-ws-view="radar"] .ws-moq-members,
[data-ws-view="radar"] .ws-tiers-title,
[data-ws-view="radar"] .ws-tier-min,
[data-ws-view="radar"] .ws-catalog-cat,
[data-ws-view="radar"] .ws-verified-chip,
[data-ws-view="radar"] .ws-catalog-location,
[data-ws-view="radar"] .ws-catalog-status,
[data-ws-view="radar"] .ws-leader-mini-role,
[data-ws-view="radar"] .ws-catalog-price-label {
  font-size: 11px !important;
}

[data-ws-view="radar"] .ws-dossier-meta-row span,
[data-ws-view="radar"] .ws-leader-title,
[data-ws-view="radar"] .ws-track-value,
[data-ws-view="radar"] .ws-tier-pct,
[data-ws-view="radar"] .ws-deck-btn span,
[data-ws-view="radar"] .ws-leader-mini-name,
[data-ws-view="radar"] .ws-mode-pill span {
  font-size: 13px !important;
}

[data-ws-view="radar"] .ws-leader-name,
[data-ws-view="radar"] .ws-moq-percent,
[data-ws-view="radar"] .ws-catalog-name,
[data-ws-view="radar"] .ws-catalog-price-val {
  font-size: 16px !important;
}

[data-ws-view="radar"] .ws-dossier-title {
  font-size: 20px !important;
}
[data-ws-view="radar"].ws-radar-clean,
[data-ws-view="ledger"].ws-ledger-clean { max-width: 1440px; margin-inline: auto; }
.ws-radar-heading { align-items: flex-end; }
.ws-radar-heading .ws-eyebrow { margin: 0 0 8px; color: var(--color-text-secondary, #a9b2c1); font: 600 11px/1.2 "JetBrains Mono", monospace; letter-spacing: .08em; }
.ws-radar-heading .ws-view-title { margin: 0; }
.ws-radar-controls { display: flex; gap: 12px; margin: 24px 0; }
.ws-radar-search, .ws-radar-category { display: block; background: transparent; border: 0; }
.ws-radar-search { flex: 1; }
.ws-radar-search input, .ws-radar-category select { min-width: 0; width: 100%; }
.ws-radar-category { width: min(260px, 34vw); }
.ws-radar-category select option { color: #edf1f6; background: #151a22; }
.ws-radar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ws-radar-card { min-width: 0; padding: 20px; background: #151a22; border: 1px solid #2b3440; border-radius: 10px; }
.ws-radar-card-top, .ws-radar-progress-label { display: flex; justify-content: space-between; gap: 12px; color: #9faabb; font-size: 12px; }
.ws-radar-card-top span:first-child { color: #70c9bd; }
.ws-radar-card h2 { margin: 20px 0 4px; color: #edf1f6; font-size: 18px; line-height: 1.25; }
.ws-radar-sku { margin: 0 0 22px; color: #98a4b3; font: 12px/1.5 "JetBrains Mono", monospace; overflow-wrap: anywhere; }
.ws-radar-progress-label { align-items: center; margin-bottom: 8px; }
.ws-radar-progress-label strong { color: #edf1f6; }
.ws-radar-card progress { display: block; width: 100%; height: 7px; accent-color: #46a99a; }
.ws-radar-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 18px 0; color: #9faabb; font-size: 12px; }
.ws-radar-facts strong { color: #e5eaf0; }
.ws-radar-action { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.ws-radar-message { margin: 24px 0; padding: 16px; color: #b8c2d0; background: #151a22; border-radius: 8px; }
.ws-radar-error { color: #ffd4cf; border: 1px solid #8f4039; }
.ws-radar-message button { margin-left: 10px; color: #fff; text-decoration: underline; background: transparent; border: 0; cursor: pointer; }
.ws-ledger-table-wrap { overflow-x: auto; background: #151a22; border: 1px solid #2b3440; border-radius: 10px; }
.ws-ledger-table { width: 100%; border-collapse: collapse; text-align: left; }
.ws-ledger-table th, .ws-ledger-table td { padding: 14px 16px; border-bottom: 1px solid #2b3440; color: #c6ced9; font-size: 13px; white-space: nowrap; }
.ws-ledger-table thead th { color: #98a4b3; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ws-ledger-table tbody th { font-weight: 600; }
.ws-ledger-table tbody th span, .ws-ledger-table tbody th small { display: block; }
.ws-ledger-table tbody th small { margin-top: 4px; color: #929dac; font: 11px "JetBrains Mono", monospace; }
.ws-ledger-status { padding: 4px 8px; color: #c3d4cc; background: #22362f; border-radius: 99px; font-size: 11px; }
.ws-ledger-note { margin-top: 14px; color: #9faabb; font-size: 12px; }
.ws-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 980px) { .ws-radar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ws-radar-controls { flex-direction: column; } .ws-radar-category { width: auto; } .ws-radar-grid { grid-template-columns: 1fr; } .ws-ledger-table th, .ws-ledger-table td { padding: 11px 12px; } }
[data-ws-view="landing"].ws-home { min-height: 100vh; padding: 28px clamp(20px, 6vw, 88px) 32px; color: #e9edf3; background: #10151b; }

.ws-paypal-attribution {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid #E7E2D8;
  background: #FAF8F3;
  color: #5C6A79;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.ws-paypal-attribution img {
  display: block;
  width: 68px;
  height: auto;
  opacity: 0.9;
}

.ws-drawer-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(3, 5, 8, 0.7);
  backdrop-filter: blur(4px);
}

.ws-clan-drawer {
  width: min(460px, 100vw);
  height: 100dvh;
  overflow-y: auto;
  padding: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: #10151b;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
  animation: ws-drawer-enter 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.ws-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ws-drawer-header h2 {
  margin: 6px 0 0;
  color: #f5f7fa;
  font-size: 21px;
  line-height: 1.3;
}

.ws-clan-drawer-facts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 10px 0 20px;
}

.ws-clan-drawer-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ws-clan-drawer-facts dt { color: #98a4b3; font-size: 12px; }
.ws-clan-drawer-facts dd { margin: 0; color: #e5e9ef; font-size: 12px; text-align: right; }

.ws-paypal-pledge {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ws-paypal-pledge h3 { margin: 0; color: #f5f7fa; font-size: 16px; }
.ws-paypal-pledge-name { margin: -8px 0 0; color: #98a4b3; font-size: 12px; }
.ws-paypal-field { display: grid; gap: 6px; color: #b8c1ce; font-size: 12px; }
.ws-paypal-field input { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px; background: #0b0e12; color: #f5f7fa; font: inherit; }
.ws-paypal-field input:focus-visible { outline: 2px solid #0070ba; outline-offset: 2px; }
.ws-paypal-quote { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; color: #b8c1ce; font-size: 12px; }
.ws-paypal-quote strong { color: #fff; font-size: 20px; font-variant-numeric: tabular-nums; }
.ws-paypal-pledge-note, .ws-paypal-status, .ws-paypal-receipt { margin: 0; color: #98a4b3; font-size: 12px; line-height: 1.55; }
.ws-paypal-status[role="alert"] { color: #f1bd68; }
.ws-paypal-receipt { padding: 12px; border: 1px solid rgba(0, 112, 186, 0.45); border-radius: 6px; background: rgba(0, 112, 186, 0.1); color: #d8edff; }
.ws-paypal-button-host { min-height: 44px; transition: opacity 140ms ease; }
.ws-paypal-button-host.is-disabled { opacity: 0.45; pointer-events: none; }
.ws-paypal-button-host paypal-button { display: block; width: 100%; }

@keyframes ws-drawer-enter {
  from { transform: translateX(16px); opacity: 0.6; }
  to { transform: translateX(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ws-clan-drawer { animation: none; }
  .ws-paypal-button-host { transition: none; }
}
.ws-home-nav { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; color: #9ea9b8; font-size: 13px; }
.ws-home-brand { color: #edf1f6; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-decoration: none; }
.ws-home-hero { max-width: 1200px; margin: clamp(72px, 12vh, 128px) auto 56px; }
.ws-home-hero h1 { margin: 16px 0; color: #f1f4f7; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.ws-home-hero > p:not(.ws-eyebrow) { max-width: 530px; margin: 0 0 24px; color: #aab4c1; font-size: 16px; line-height: 1.6; }
.ws-home-hero .ws-btn { display: inline-flex; align-items: center; gap: 10px; }
.ws-home-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1200px; margin: 0 auto; }
.ws-home-action { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; min-height: 126px; padding: 20px; color: #e9edf3; text-align: left; background: #151b23; border: 1px solid #2a3440; border-radius: 10px; cursor: pointer; }
.ws-home-action-icon { display: grid; width: 36px; height: 36px; place-items: center; color: #8bd0c5; background: #21332f; border-radius: 8px; }
.ws-home-action strong, .ws-home-action small { display: block; }
.ws-home-action strong { margin: 2px 0 8px; font-size: 14px; }
.ws-home-action small { color: #aab4c1; font-size: 12px; line-height: 1.5; }
.ws-home-action > svg { margin-top: 4px; color: #9ea9b8; }
.ws-home-foot { max-width: 1200px; margin: 24px auto 0; color: #8f9baa; font-size: 11px; line-height: 1.5; }
@media (max-width: 760px) { .ws-home-actions { grid-template-columns: 1fr; } .ws-home-hero { margin-top: 72px; } }
.ws-claim-view { max-width: 980px; }
.ws-claim-notice { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0; padding: 15px 16px; color: #e4c88a; background: #2c281e; border: 1px solid #625330; border-radius: 8px; }
.ws-claim-notice p { margin: 0; color: #d7c9a7; font-size: 13px; line-height: 1.5; }
.ws-claim-form { padding: 22px; background: #151a22; border: 1px solid #2b3440; border-radius: 10px; }
.ws-claim-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ws-claim-fields label { display: grid; gap: 7px; color: #c6ced9; font-size: 12px; font-weight: 600; }
.ws-claim-fields input, .ws-claim-fields textarea { width: 100%; min-height: 42px; padding: 10px 12px; color: #edf1f6; background: #10151b; border: 1px solid #3b4654; border-radius: 6px; font: 14px/1.4 Inter, sans-serif; }
.ws-claim-fields textarea { min-height: 96px; resize: vertical; }
.ws-claim-description { grid-column: 1 / -1; }
.ws-claim-form > .ws-btn { margin-top: 20px; }
@media (max-width: 640px) { .ws-claim-fields { grid-template-columns: 1fr; } .ws-claim-description { grid-column: auto; } }
.ws-capability-view { max-width: 900px; }
.ws-capability-card { display: flex; align-items: flex-start; gap: 16px; max-width: 720px; margin-top: 24px; padding: 22px; color: #8bd0c5; background: #151a22; border: 1px solid #2b3440; border-radius: 10px; }
.ws-capability-card h2 { margin: 0 0 8px; color: #edf1f6; font-size: 16px; }
.ws-capability-card p { max-width: 580px; margin: 0; color: #aab4c1; font-size: 13px; line-height: 1.55; }
.ws-policy-list { margin: 20px 0 0; }
.ws-policy-list div { display: flex; justify-content: space-between; gap: 32px; padding: 12px 0; border-top: 1px solid #2b3440; }
.ws-policy-list dt { color: #aab4c1; font-size: 13px; }
.ws-policy-list dd { margin: 0; color: #edf1f6; font-weight: 600; }
.ws-tabular-nums { font-variant-numeric: tabular-nums; }
.ws-radar-more { display: block; margin: 20px auto 0; }
.ws-ledger-search { margin: 20px 0 12px; }
.ws-ledger-grid { width: 100%; min-height: 420px; height: min(60vh, 640px); color: #e9edf3; border: 1px solid #2b3440; border-radius: 10px; overflow: hidden; }
.ws-ledger-grid .ag-root-wrapper { border: 0; }

.ws-copilot-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; color: #0F1F2E; background: #FFFFFF; border: 1px solid #E7E2D8; border-radius: 12px; font: 600 12px Inter, sans-serif; cursor: pointer; transition: transform 150ms ease, background 150ms ease, border-color 150ms ease; }
.ws-copilot-trigger:hover { background: #F6F4EE; border-color: #0070BA; }
.ws-copilot-trigger:active { transform: scale(.98); }
.ws-copilot-backdrop { position: fixed; z-index: 800; inset: 0; display: flex; justify-content: flex-end; background: rgba(3, 7, 10, .56); backdrop-filter: blur(3px); animation: ws-copilot-fade 160ms ease-out; }
.ws-copilot-panel { display: flex; flex-direction: column; width: min(460px, 100vw); height: 100%; color: #edf1f6; background: #11171e; border-left: 1px solid #303b46; box-shadow: -18px 0 52px rgba(0,0,0,.32); animation: ws-copilot-enter 210ms cubic-bezier(.2,.8,.2,1); }
.ws-copilot-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid #29333d; }
.ws-copilot-header .ws-eyebrow { margin: 0 0 8px; color: #7fc8bb; font-size: 10px; letter-spacing: .12em; }
.ws-copilot-header h2 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.025em; }
.ws-copilot-header p:last-child { margin: 0; color: #91a0ae; font-size: 12px; }
.ws-icon-button { display: grid; width: 34px; height: 34px; place-items: center; color: #aab4c1; background: #19212a; border: 1px solid #303b46; border-radius: 7px; cursor: pointer; }
.ws-copilot-content { display: flex; flex: 1; flex-direction: column; gap: 18px; overflow: auto; padding: 22px 24px; }
.ws-copilot-intro { margin: 0; color: #b4bfca; font-size: 13px; line-height: 1.65; }
.ws-copilot-prompts { display: grid; gap: 8px; margin-top: auto; }
.ws-copilot-prompts button { padding: 12px 14px; color: #d9e1e8; text-align: left; background: #151d25; border: 1px solid #303b46; border-radius: 7px; font: 12px Inter, sans-serif; cursor: pointer; }
.ws-copilot-prompts button:hover { border-color: #60847d; background: #192724; }
.ws-copilot-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; padding: 16px 20px 20px; background: #0d1217; border-top: 1px solid #29333d; }
.ws-copilot-form textarea { min-height: 58px; max-height: 160px; resize: vertical; padding: 12px; color: #edf1f6; background: #151c23; border: 1px solid #35414e; border-radius: 7px; font: 13px/1.5 Inter, sans-serif; }
.ws-copilot-form textarea:focus-visible { outline: 2px solid #5c9c91; outline-offset: 2px; }
.ws-copilot-form > button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 13px; color: #081411; background: #8bd0c5; border: 0; border-radius: 7px; font: 600 12px Inter, sans-serif; cursor: pointer; }
.ws-copilot-form > button:disabled { opacity: .45; cursor: not-allowed; }
.ws-copilot-progress { display: flex; align-items: center; gap: 9px; margin: 0; color: #a9c7c2; font-size: 13px; }
.ws-copilot-result { padding: 16px; background: #151d25; border: 1px solid #303b46; border-radius: 8px; }
.ws-copilot-result-heading { display: flex; justify-content: space-between; gap: 12px; color: #8bd0c5; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.ws-copilot-result-heading small { color: #8291a0; font-size: 10px; letter-spacing: 0; text-transform: none; }
.ws-copilot-result > p { margin: 12px 0 0; color: #e1e7ed; font-size: 13px; line-height: 1.6; }
.ws-copilot-result details { margin-top: 14px; color: #aebac5; font-size: 12px; }
.ws-copilot-result summary { cursor: pointer; }
.ws-copilot-result ol { display: grid; gap: 12px; padding-left: 18px; }
.ws-copilot-result li strong, .ws-copilot-result li span { display: block; }
.ws-copilot-result li strong { color: #dce4eb; font-family: "JetBrains Mono", monospace; font-size: 11px; }
.ws-copilot-result li span { margin-top: 4px; color: #99a8b5; line-height: 1.5; }
.ws-spin { animation: ws-spin 1s linear infinite; }
@keyframes ws-copilot-enter { from { transform: translateX(18px); opacity: .75; } to { transform: translateX(0); opacity: 1; } }
@keyframes ws-copilot-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ws-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .ws-copilot-panel { width: 100vw; } }
@media (prefers-reduced-motion: reduce) { .ws-copilot-trigger, .ws-copilot-backdrop, .ws-copilot-panel, .ws-spin { animation: none; transition: none; } }

/* WholeShare Clan Governance, Sourcing & Research Styles */
.ws-drawer-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ws-drawer-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  color: #f5f7fa;
  font-size: 15px;
  font-weight: 600;
}
.ws-research-brief-card {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #141b22;
  margin-bottom: 12px;
}
.ws-supplier-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ws-supplier-item:last-child {
  border-bottom: none;
}
.ws-supplier-url {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #7fc8bb;
  word-break: break-all;
}
.ws-badge-established {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(139, 208, 197, 0.15);
  color: #8bd0c5;
  font-size: 10px;
  font-weight: 600;
}
.ws-badge-pending {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(241, 189, 104, 0.15);
  color: #f1bd68;
  font-size: 10px;
  font-weight: 600;
}
.ws-proposal-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #141b22;
  margin-bottom: 10px;
}
.ws-proposal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.ws-proposal-type {
  font-size: 11px;
  font-weight: 700;
  color: #8bd0c5;
  letter-spacing: 0.04em;
}
.ws-proposal-value {
  font-size: 12px;
  color: #edf1f6;
  margin: 4px 0;
  word-break: break-all;
}
.ws-proposal-rationale {
  font-size: 11px;
  color: #98a4b3;
  margin: 4px 0 8px;
}
.ws-proposal-tally {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  font-size: 11px;
  color: #b8c1ce;
  margin-bottom: 8px;
}
.ws-vote-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.ws-modal-backdrop {
  position: fixed;
  z-index: 1050;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 5, 8, 0.75);
  backdrop-filter: blur(4px);
}
.ws-modal-card {
  width: min(640px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px;
  background: #11171f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  color: #edf1f6;
}
.ws-template-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.ws-template-option {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #161e27;
  cursor: pointer;
  text-align: left;
  transition: all 120ms ease;
}
.ws-template-option.selected {
  border-color: #8bd0c5;
  background: #1a282f;
}
.ws-template-option h4 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #f5f7fa;
}
.ws-template-option p {
  margin: 0;
  font-size: 11px;
  color: #98a4b3;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .ws-template-cards {
    grid-template-columns: 1fr;
  }
}


/* AG Studio search and filter inputs: keep the leading icon clear of the placeholder text. */
.ag-input-wrapper:has([class*="search-icon"], [class*="filter-icon"]) .ag-input-field-input,
.ag-studio-search .ag-input-field-input {
  padding-inline-start: 32px !important;
}

/* Mosaic deep-work page: chat column plus context column, stacked on narrow screens. */
.ws-mosaic-deep { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; width: 100%; max-width: 980px; margin: 0 auto; }
.ws-mosaic-deep-chat { height: calc(100vh - 140px); min-height: 520px; }
@media (max-width: 1000px) {
  .ws-mosaic-deep { grid-template-columns: minmax(0, 1fr); }
  .ws-mosaic-deep-chat { height: 70vh; }
}

/* Workspace stat strip: real-data summary at the top of each workspace page. */
.ws-stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.ws-stat {
  background: #FFFFFF; border: 1px solid #E7E2D8; border-radius: 12px; padding: 16px 20px;
  animation: ws-stat-rise 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), border-color 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ws-stat:hover { transform: translateY(-2px); border-color: #0F1F2E; }
.ws-stat-label { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #5C6A79; }
.ws-stat-value { margin: 8px 0 0; font-size: 28px; line-height: 32px; font-weight: 600; color: #0F1F2E; font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.ws-stat-note { margin: 4px 0 0; font-size: 12px; line-height: 16px; color: #5C6A79; }
@keyframes ws-stat-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .ws-stat { animation: none; transition: none; } }

/* Press feedback on workspace buttons. */
.ws-root-viewport button:not(:disabled):active { transform: scale(0.98); }

/* Top navigation bar (replaces the sidebar). */
.ws-appbar-inner { display: flex; align-items: center; gap: 24px; max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 64px; }
.ws-appbar-brand { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; font: 600 18px/24px 'Geist', sans-serif; letter-spacing: -0.02em; color: #0F1F2E; flex-shrink: 0; }
.ws-appbar-tabs { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ws-appbar-tabs::-webkit-scrollbar { display: none; }
.ws-appbar-tab { background: none; border: 0; padding: 8px 12px; border-radius: 8px; font: 500 14px/20px 'Geist', sans-serif; color: #5C6A79; cursor: pointer; white-space: nowrap; transition: background-color 200ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms cubic-bezier(0.22, 1, 0.36, 1); }
.ws-appbar-tab:hover { color: #0F1F2E; background: #F4EFEB; }
.ws-appbar-tab.is-active { color: #0070BA; background: #EBF4FA; font-weight: 600; }
.ws-appbar-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ws-appbar-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 36px; width: 220px; background: #FAF8F3; border: 1px solid #E7E2D8; border-radius: 8px; color: #5C6A79; transition: border-color 200ms cubic-bezier(0.22, 1, 0.36, 1), width 300ms cubic-bezier(0.22, 1, 0.36, 1); }
.ws-appbar-search:focus-within { border-color: #0070BA; width: 280px; }
.ws-appbar-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 14px/20px 'Geist', sans-serif; color: #0F1F2E; }
.ws-copilot-trigger--compact { height: 36px; padding: 0 16px; border-radius: 8px; background: #FFC439; border: 1px solid #FFC439; color: #0F1F2E; font: 600 14px/20px 'Geist', sans-serif; cursor: pointer; transition: background-color 200ms cubic-bezier(0.22, 1, 0.36, 1), transform 200ms cubic-bezier(0.22, 1, 0.36, 1); }
.ws-copilot-trigger--compact:hover { background: #F2B82F; border-color: #F2B82F; }
.ws-appbar-identity { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; text-align: right; }
.ws-appbar-identity-text { display: flex; flex-direction: column; line-height: 16px; }
.ws-appbar-identity-text b { font: 600 13px/16px 'Geist', sans-serif; color: #0F1F2E; }
.ws-appbar-identity-text small { font: 400 11px/16px 'Geist Mono', monospace; color: #5C6A79; }
.ws-appbar-avatar { width: 32px; height: 32px; border-radius: 8px; background: #0F1F2E; color: #fff; display: grid; place-items: center; font: 600 12px/16px 'Geist', sans-serif; }
@media (max-width: 1100px) { .ws-appbar-search, .ws-appbar-identity-text { display: none; } }
@media (max-width: 720px) { .ws-appbar-inner { padding: 0 16px; gap: 12px; } .ws-appbar-brand span { display: none; } }

/* Standalone onboarding frame: no app chrome while the user sets up. */
.ws-onboarding-frame { min-height: 100vh; background: #FAF8F3; display: flex; flex-direction: column; }
.ws-onboarding-bar { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; width: 100%; margin: 0 auto; padding: 16px 32px; }
.ws-onboarding-body { flex: 1; display: flex; justify-content: center; padding: 16px 32px 64px; }

/* Grid cell vocabulary: two-line names, in-cell progress, status badges. */
.ws-cell-stack { display: flex; flex-direction: column; justify-content: center; line-height: 1.25; min-width: 0; height: 100%; }
.ws-cell-title { font-weight: 600; color: #0F1F2E; white-space: normal; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ws-cell-sub { font-size: 12px; color: #5C6A79; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-cell-num { font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }
.ws-cell-center { display: inline-flex; align-items: center; height: 100%; }
.ws-cell-muted { color: #5C6A79; }
.ws-cell-progress { gap: 6px; width: 100%; padding-right: 8px; }
.ws-money-cell { text-align: right; font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; font-weight: 500; }

.ws-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; line-height: 16px; color: #5C6A79; margin: 0 0 12px; }
.ws-legend span { display: inline-flex; align-items: center; gap: 8px; }
.ws-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

/* Astryx ships a light and dark scheme. WholeShare is light only, so third party widgets must not follow a dark preference. */
html, body, #root, .ws-root-viewport, .b-widget, .b-scheduler, .b-grid, .b-calendar, .b-taskboard { color-scheme: light; }

.ws-jumpbar { position: sticky; top: 64px; z-index: 25; display: flex; justify-content: flex-start; overflow-x: auto; padding: 8px 0; background: #FAF8F3; box-shadow: 0 8px 0 0 #FAF8F3; }
:root { --color-accent: #0070BA; }

/* Mosaic live activity: appears on every screen while Mosaic works in the background. */
.ws-live { position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 340px; max-width: calc(100vw - 32px); background: #FFFFFF; border: 1px solid #E7E2D8; border-radius: 16px; padding: 16px; box-shadow: 0 16px 48px rgba(15, 31, 46, 0.14); animation: ws-live-in 400ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.ws-live-title { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font: 600 14px/20px 'Geist', sans-serif; color: #0F1F2E; }
.ws-live-dot { width: 8px; height: 8px; border-radius: 4px; background: #5C6A79; }
.ws-live-dot.is-active { background: #0070BA; animation: ws-live-pulse 1.2s ease-in-out infinite; }
.ws-live ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ws-live li { font: 400 13px/18px 'Geist', sans-serif; color: #0F1F2E; padding: 8px 12px; border-radius: 8px; background: #EBF4FA; animation: ws-live-in 300ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.ws-live li.is-pending { background: #F4EFEB; color: #5C6A79; }
.ws-live li.is-failed { background: #FFDAD6; color: #BA1A1A; }
@keyframes ws-live-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ws-live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .ws-live, .ws-live li, .ws-live-dot.is-active { animation: none; } }

.ws-mosaic-deep-chat > * { flex: 1 1 auto; min-height: 100%; }
.ws-live-link { color: #0070BA; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Astryx scopes its accent to its own wrapper, so set the brand blue where the component renders. */
.ws-cell-progress, .ws-live, .ws-mosaic-deep { --color-accent: #0070BA; --color-accent-muted: #EBF4FA; }

/* Discover card grid */
.ws-groupgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; margin-bottom: 16px; --color-accent: #0070BA; }
.ws-group-card { display: flex; flex-direction: column; gap: 4px; min-height: 190px; padding: 16px; }
.ws-group-card.is-selected { box-shadow: 0 0 0 2px #0070BA inset; border-radius: 12px; }
.ws-group-card-top { display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.ws-group-card-cat { font: 600 11px/16px 'Geist', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #5C6A79; }
.ws-group-card-name { margin: 0; font: 600 16px/22px 'Geist', sans-serif; color: #0F1F2E; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-group-card-meta { margin: 0; font: 400 13px/18px 'Geist', sans-serif; color: #5C6A79; }
.ws-group-card-price { margin: 8px 0; font: 600 24px/28px 'Geist Mono', monospace; color: #0F1F2E; display: flex; align-items: baseline; gap: 8px; }
.ws-group-card-price small { font: 500 12px/16px 'Geist', sans-serif; color: #0070BA; }
.ws-group-card-foot { margin: 4px 0 0; font: 400 12px/16px 'Geist Mono', monospace; color: #5C6A79; }

/* Mosaic photo attachments */
.ws-attach-strip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ws-attach-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border: 1px solid #E7E2D8; border-radius: 12px; background: #FFFFFF; font: 400 12px/16px 'Geist', sans-serif; color: #0F1F2E; }
.ws-attach-chip img { width: 36px; height: 36px; object-fit: cover; border-radius: 8px; }
.ws-attach-chip button { border: 0; background: none; color: #0070BA; font: 600 12px/16px 'Geist', sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ws-attach-note { font: 400 12px/16px 'Geist', sans-serif; color: #5C6A79; }
.ws-attach-note.is-error { color: #BA1A1A; }

.ws-product-visual { display: grid; place-items: center; margin-bottom: 8px; }

.ws-appbar-tab { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1100px) { .ws-agents-grid { grid-template-columns: minmax(0, 1fr) !important; } }

.ws-paypal-lockup { display: flex; width: 100%; }
.ws-paypal-lockup-inner { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid #E7E2D8; border-radius: 999px; background: #FFFFFF; font: 400 13px/16px 'Geist', sans-serif; color: #5C6A79; }
.ws-paypal-lockup-inner b { color: #003087; font-weight: 700; letter-spacing: -0.01em; }

/* Pledge wizard (Astryx checkout-wizard shape) */
.ws-pledge-wizard { display: flex; flex-direction: column; gap: 16px; }
.ws-pledge-head h3 { margin: 0; font-size: 18px; color: #0F1F2E; }
.ws-pledge-head p { margin: 2px 0 0; font-size: 13px; color: #5C6A79; }
.ws-pledge-body { display: flex; flex-direction: column; gap: 12px; }
.ws-pledge-body[hidden], .ws-paypal-button-host[hidden] { display: none !important; }
.ws-pledge-wizard .ws-paypal-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #0F1F2E; }
.ws-pledge-wizard .ws-paypal-field input { padding: 10px 12px; border: 1px solid #E3DED3; border-radius: 8px; background: #fff; color: #0F1F2E; font: inherit; }
.ws-pledge-summary { border: 1px solid #E3DED3; border-radius: 12px; background: #fff; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.ws-pledge-row { display: flex; justify-content: space-between; font-size: 13px; color: #5C6A79; }
.ws-pledge-total { border-top: 1px solid #E3DED3; padding-top: 10px; color: #0F1F2E; font-weight: 600; }
.ws-pledge-total strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.ws-pledge-actions { display: flex; gap: 8px; }
.ws-pledge-actions > :last-child { flex: 1; }
.ws-pledge-wizard .ws-paypal-pledge-note { margin: 0; font-size: 13px; color: #5C6A79; line-height: 1.5; }
.ws-pledge-actions .lp-gold { flex: 1; display: flex; }
.ws-pledge-actions .lp-gold > * { flex: 1; width: 100%; }

/* PayPal hub */
.ws-hub { width: 100%; box-sizing: border-box; max-width: 1152px; margin: 0 auto; padding: 24px 16px 64px; display: flex; flex-direction: column; gap: 20px; }
.ws-hub-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ws-hub-title { display: flex; align-items: center; gap: 14px; }
.ws-hub-title h1 { margin: 0; font-size: 26px; letter-spacing: -0.02em; color: #0F1F2E; }
.ws-hub-title p { margin: 2px 0 0; font-size: 14px; color: #5C6A79; }
.ws-hub-tabs { position: sticky; top: 64px; z-index: 5; background: #FAF8F3; padding: 8px 0; overflow-x: auto; }
.ws-hub-panel { background: #fff; border: 1px solid #E3DED3; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.ws-hub-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ws-hub-panel-head h2 { margin: 0; font-size: 18px; color: #0F1F2E; }
.ws-hub-panel-head p, .ws-hub-muted { margin: 4px 0 0; font-size: 13px; color: #5C6A79; line-height: 1.5; }
.ws-hub-scroll { overflow-x: auto; }
.ws-hub-table { width: 100%; border-collapse: collapse; font-size: 13px; color: #0F1F2E; }
.ws-hub-table th { text-align: left; font-weight: 600; font-size: 12px; color: #5C6A79; padding: 8px 12px; border-bottom: 1px solid #E3DED3; white-space: nowrap; }
.ws-hub-table td { padding: 12px; border-bottom: 1px solid #F0ECE2; vertical-align: middle; }
.ws-hub-table tr:last-child td { border-bottom: 0; }
.ws-hub-sub { display: block; font-size: 12px; color: #5C6A79; margin-top: 2px; font-weight: 400; }
.ws-hub-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ws-hub-line { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 13px; color: #0F1F2E; }
.ws-hub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ws-hub-card { border: 1px solid #E3DED3; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #FAF8F3; }
.ws-hub-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.ws-hub-card-top strong { font-size: 14px; color: #0F1F2E; }
.ws-hub-file { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #5C6A79; }
.lp-gold button { background: #FFC439 !important; color: #0F1F2E !important; border-color: #FFC439 !important; }
.ws-hub .lp-gold button:hover, .ws-pledge-wizard .lp-gold button:hover { background: #F2B82F !important; border-color: #F2B82F !important; }
.ws-hub .lp-gold { display: inline-flex; }
.ws-hub-card .lp-gold, .ws-hub-card .lp-gold button { width: 100%; }
.ws-hub-cards--wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ws-hub-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #5C6A79; }
.ws-hub-field input, .ws-hub-field select { padding: 9px 12px; border: 1px solid #E3DED3; border-radius: 8px; background: #fff; color: #0F1F2E; font: inherit; font-size: 14px; }
.ws-hub-result { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 12px; background: #fff; border: 1px solid #E3DED3; border-radius: 10px; }
.ws-hub-qr { border-radius: 8px; border: 1px solid #E3DED3; }
.ws-hub-link { color: #0070BA; font-size: 13px; font-weight: 600; }

/* AG Grid cells: vertically centered so mixed content (text, bars, badges) aligns. */
.ag-theme-quartz .ag-cell, .ag-cell { display: flex; align-items: center; }
.ag-cell .ag-cell-wrapper { align-items: center; }

.ws-product-photo { overflow: hidden; background: #EDE9DF; }
.ws-product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ws-credits { display: grid; gap: 10px; max-height: 52vh; overflow-y: auto; padding-top: 8px; }
.ws-credits-row { display: flex; gap: 12px; align-items: center; font-size: 13px; }
.ws-credits-row img { border-radius: 6px; object-fit: cover; flex: none; }
.ws-credits-row div { display: grid; gap: 2px; min-width: 0; }
.ws-credits-row a { color: #0070BA; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-credits-row span { color: #5C6A79; font-size: 12px; }

/* PayPal connect card and permissions panel */
.ws-connect-card { display: grid; gap: 14px; padding: 18px; border: 1px solid #E3DED3; border-radius: 14px; background: #fff; }
.ws-connect-head { display: flex; gap: 14px; align-items: flex-start; }
.ws-connect-head > div { flex: 1; min-width: 0; }
.ws-connect-head strong { font-size: 15px; color: #0F1F2E; }
.ws-connect-head p { margin: 4px 0 0; font-size: 13px; color: #5C6A79; line-height: 1.5; }
.ws-connect-mark { width: 40px; height: 40px; border-radius: 12px; background: #E8F2FA; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ws-connect-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ws-perms { display: grid; gap: 14px; }
.ws-perms-locked { display: flex; gap: 8px; align-items: flex-start; padding-top: 10px; border-top: 1px solid #EDE9DF; }

/* Keep every top-nav item visible at laptop widths. */
.ws-appbar-inner { max-width: 1520px; gap: 16px; }
.ws-appbar-search { width: 180px; }
.ws-appbar-search:focus-within { width: 240px; }
.ws-appbar-tab { padding: 8px 10px; }
@media (max-width: 1360px) { .ws-appbar-identity-text { display: none; } }

/* Group page */
.ws-group { max-width: 1180px; margin: 0 auto; padding: 16px 20px 64px; display: grid; gap: 20px; width: 100%; box-sizing: border-box; }
.ws-group-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .ws-group-grid { grid-template-columns: minmax(0, 1fr); } }
.ws-group-media { display: grid; gap: 14px; position: sticky; top: 84px; }
.ws-group-media .ws-product-visual { height: 380px; }
.ws-group-supplier { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid #E3DED3; border-radius: 12px; color: #0070BA; }
.ws-group-supplier div { display: grid; gap: 2px; color: #0F1F2E; }
.ws-group-supplier span { font-size: 12px; color: #5C6A79; }
.ws-group-main { display: grid; gap: 16px; min-width: 0; }
.ws-group-badges { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ws-group-city { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; color: #5C6A79; }
.ws-group-main h1 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -0.025em; color: #0F1F2E; }
.ws-group-sku { margin: -8px 0 0; font-size: 13px; color: #5C6A79; }
.ws-group-price { display: flex; align-items: baseline; gap: 10px; }
.ws-group-price-main { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; color: #0F1F2E; font-variant-numeric: tabular-nums; }
.ws-group-price-note { font-size: 13px; color: #0070BA; font-weight: 500; }
.ws-group-progress { display: grid; gap: 8px; }
.ws-group-progress-row { display: flex; justify-content: space-between; font-size: 13px; color: #5C6A79; font-variant-numeric: tabular-nums; }
.ws-group-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ws-tier { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid #E3DED3; border-radius: 12px; background: #fff; opacity: 0.7; }
.ws-tier b { font-size: 16px; color: #0F1F2E; }
.ws-tier span { font-size: 12px; color: #5C6A79; }
.ws-tier small { font-size: 11px; color: #5C6A79; }
.ws-tier.is-reached { opacity: 1; border-color: #0070BA; background: #F2F8FC; }
.ws-tier.is-reached small { color: #0070BA; font-weight: 600; }
.ws-tier.is-next { opacity: 1; border-style: dashed; }
.ws-group-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #5C6A79; }
.ws-group-meta span { display: inline-flex; gap: 6px; align-items: center; }
.ws-group-pledge { display: grid; gap: 14px; padding: 20px; background: #fff; border: 1px solid #E3DED3; border-radius: 16px; }
.ws-group-sections { display: grid; gap: 12px; }
.ws-group-trigger { font-size: 15px; font-weight: 600; color: #0F1F2E; }
.ws-group-muted { margin: 8px 0 0; font-size: 13px; color: #5C6A79; line-height: 1.55; }
.ws-group-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ws-group-rules div { display: grid; gap: 2px; padding: 10px 12px; background: #FAF8F3; border-radius: 10px; }
.ws-group-rules b { font-size: 12px; color: #5C6A79; font-weight: 600; }
.ws-group-rules span { font-size: 13px; color: #0F1F2E; }
.ws-group { --color-accent: #0070BA; }
.ws-pledge-stepup { display: grid; gap: 8px; padding: 14px; border: 1px solid #E3DED3; border-radius: 12px; background: #FAF8F3; }
.ws-pledge-stepup strong { font-size: 14px; color: #0F1F2E; }
.ws-pledge-stepup p { margin: 0; font-size: 13px; color: #5C6A79; line-height: 1.5; }
.ws-pledge-stepup img { border-radius: 8px; border: 1px solid #E3DED3; justify-self: start; }

/* Group dashboard */
.ws-gdash-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ws-gdash-thumb { width: 96px; flex: none; }
.ws-gdash-title { flex: 1; min-width: 220px; }
.ws-gdash-title h1 { margin: 0; font-size: 24px; letter-spacing: -0.02em; color: #0F1F2E; }
.ws-gdash-title p { margin: 4px 0 0; font-size: 13px; color: #5C6A79; }
.ws-gdash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; align-items: start; }
.ws-gdash-card { display: grid; gap: 14px; padding: 20px; background: #fff; border: 1px solid #E3DED3; border-radius: 16px; }
.ws-gdash-card h2 { margin: 0; font-size: 17px; color: #0F1F2E; }
.ws-gdash-debts { display: grid; gap: 8px; }
.ws-gdash-debt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; background: #FAF8F3; border-radius: 10px; }
.ws-gdash-debt div { display: grid; gap: 2px; }
.ws-gdash-debt span { font-size: 12px; color: #5C6A79; }
.ws-gdash .ws-hub-card { background: #fff; border-radius: 16px; padding: 20px; }
.ws-hub-line > :first-child { flex: none; }

/* Claim detail dialog */
.ws-clickable-row { cursor: pointer; }
.ws-claim-detail { display: grid; gap: 12px; padding-top: 8px; }
.ws-claim-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #5C6A79; }
.ws-claim-row b { color: #0F1F2E; font-weight: 600; }
.ws-claim-desc { margin: 0; font-size: 13px; color: #5C6A79; line-height: 1.5; }
.ws-claim-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.ws-claim-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; border: 1px solid #E3DED3; }
.ws-claim-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Phone widths: the shell never grows past the viewport; the tab row scrolls inside itself. */
.flex.flex-col.flex-1.min-h-screen.bg-brand-bg { min-width: 0; max-width: 100vw; overflow-x: clip; }
.ws-appbar-inner { min-width: 0; }
@media (max-width: 720px) {
  .ws-appbar-tabs { flex: 1 1 0; min-width: 0; }
  .ws-copilot-trigger--compact { padding: 0 10px; }
  .ws-group { padding-left: 16px; padding-right: 16px; }
  .ws-gdash-grid { grid-template-columns: minmax(0, 1fr); }
  .ws-hub-cards, .ws-hub-cards--wide { grid-template-columns: minmax(0, 1fr); }
}

/* Canvas dock: where Mosaic puts what it found */
.ws-canvas { position: fixed; top: 72px; right: 16px; bottom: 16px; width: min(600px, calc(100vw - 32px)); z-index: 60; display: flex; flex-direction: column; background: #fff; border: 1px solid #E3DED3; border-radius: 18px; box-shadow: 0 24px 64px -16px rgba(15, 31, 46, 0.28); overflow: hidden; animation: ws-canvas-in 320ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes ws-canvas-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ws-canvas { animation: none; } }
.ws-canvas-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 16px 18px; border-bottom: 1px solid #EDE9DF; background: #FAF8F3; }
.ws-canvas-head h2 { margin: 0; font-size: 16px; color: #0F1F2E; letter-spacing: -0.01em; }
.ws-canvas-head p { margin: 4px 0 0; font-size: 12px; color: #5C6A79; line-height: 1.45; max-width: 380px; }
.ws-canvas-head-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.ws-canvas-body { flex: 1; min-height: 0; overflow: auto; padding: 14px; }
.ws-canvas-grid { height: 100%; min-height: 320px; }
.ws-canvas-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ws-canvas-card { display: grid; gap: 6px; text-align: left; padding: 10px; background: #fff; border: 1px solid #E3DED3; border-radius: 14px; cursor: pointer; font: inherit; transition: box-shadow 200ms ease, transform 200ms ease; }
.ws-canvas-card:hover { box-shadow: 0 10px 28px rgba(15, 31, 46, 0.12); transform: translateY(-2px); }
.ws-canvas-card b { font-size: 14px; color: #0F1F2E; line-height: 1.3; }
.ws-canvas-card span { font-size: 12px; color: #5C6A79; }
.ws-canvas-card small { font-size: 11px; color: #5C6A79; font-variant-numeric: tabular-nums; }
.ws-canvas-research { display: grid; gap: 12px; }
.ws-canvas-research ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 13px; color: #0F1F2E; line-height: 1.5; }
.ws-canvas-link { display: inline-flex; gap: 6px; align-items: center; color: #0070BA; font-size: 13px; font-weight: 500; word-break: break-all; }
.ws-canvas-meta { margin: 0; font-size: 12px; color: #5C6A79; }
@media (max-width: 720px) { .ws-canvas { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; height: 70vh; } }
body:has(.ws-canvas) .ws-live { right: auto; left: 24px; }
.ws-canvas { width: min(680px, calc(100vw - 32px)); }

/* Command bar */
.ws-cmd-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 31, 46, 0.42); backdrop-filter: blur(3px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 0; }
.ws-cmd { width: min(680px, 100%); background: #fff; border: 1px solid #E3DED3; border-radius: 20px; box-shadow: 0 32px 80px -16px rgba(15, 31, 46, 0.4); overflow: hidden; animation: ws-canvas-in 260ms cubic-bezier(0.22, 1, 0.36, 1); }
.ws-cmd-input { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #EDE9DF; color: #5C6A79; }
.ws-cmd-input input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 17px/24px 'Geist', sans-serif; color: #0F1F2E; }
.ws-cmd-input input::placeholder { color: #8A96A3; }
.ws-cmd-body { padding: 16px 18px; max-height: 52vh; overflow-y: auto; display: grid; gap: 10px; }
.ws-cmd-label { margin: 0; font-size: 12px; font-weight: 600; color: #5C6A79; letter-spacing: 0.02em; }
.ws-cmd-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-cmd-examples button { padding: 8px 14px; border: 1px solid #E3DED3; border-radius: 999px; background: #FAF8F3; font: 500 13px 'Geist', sans-serif; color: #0F1F2E; cursor: pointer; transition: background 160ms ease, border-color 160ms ease; }
.ws-cmd-examples button:hover { background: #EBF4FA; border-color: #0070BA; color: #0070BA; }
.ws-cmd-hint { margin: 4px 0 0; font-size: 12px; color: #5C6A79; line-height: 1.5; }
.ws-cmd-working { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 14px; color: #0F1F2E; }
.ws-cmd-error { padding: 12px; border-radius: 10px; background: #FFDAD6; color: #8C1D18; font-size: 13px; }
.ws-cmd-result { display: grid; gap: 10px; }
.ws-cmd-result p { margin: 0; font-size: 14px; color: #0F1F2E; line-height: 1.5; }
.ws-cmd-result ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ws-cmd-result li { padding: 8px 12px; border-radius: 10px; font-size: 13px; background: #EBF4FA; color: #0F1F2E; }
.ws-cmd-result li[data-ok="false"] { background: #F4EFEB; color: #5C6A79; }
.ws-cmd-result a { color: #0070BA; font-weight: 500; }
.ws-cmd-foot { display: flex; justify-content: space-between; padding: 10px 18px; background: #FAF8F3; border-top: 1px solid #EDE9DF; font-size: 11px; color: #5C6A79; }
.ws-canvas-scheduler { margin-top: 10px; min-height: 520px; }

/* Claims board: cards are moved, not created. */
.b-taskboard .b-task-board-column-footer, .b-taskboard .b-taskboard-column-footer, .b-taskboard .b-task-board-footer-item { display: none !important; }
.ws-canvas-board { margin-top: 10px; }

/* Insights (AG Studio) */
.ws-insights { max-width: 1480px; margin: 0 auto; padding: 16px 20px 48px; display: grid; gap: 16px; width: 100%; box-sizing: border-box; }
.ws-insights-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ws-insights-head h1 { margin: 0; font-size: 26px; letter-spacing: -0.02em; color: #0F1F2E; }
.ws-insights-head p { margin: 4px 0 0; font-size: 14px; color: #5C6A79; max-width: 640px; line-height: 1.5; }
.ws-insights-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ws-insights-stage { height: calc(100vh - 280px); min-height: 600px; border: 1px solid #E3DED3; border-radius: 16px; overflow: hidden; background: #fff; }

.ws-settings-columns > div { break-inside: avoid; margin-bottom: 28px; }
@media (max-width: 1100px) { .ws-settings-columns { column-count: 1 !important; } }

.ws-suggest { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; padding: 11px 14px; border-radius: 12px; border: 1px solid #E7E2D8; background: #FFFFFF; color: #0F1F2E; font: 500 14px/20px inherit; cursor: pointer; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.ws-suggest:hover { border-color: #0070BA; box-shadow: 0 2px 10px rgba(0,112,186,.10); }
.ws-suggest:active { transform: scale(0.985); }
.ws-suggest small { color: #5C6A79; font-size: 12px; white-space: nowrap; }
.ws-trace { display: grid; gap: 8px; margin-top: 8px; min-width: min(520px, 100%); }
.ws-trace-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid #E7E2D8; border-radius: 12px; background: #FFFFFF; }
.ws-trace-row.is-running { border-color: #BBD8EC; background: #F7FBFE; }
.ws-trace-row.is-failed { border-color: #F2B8BC; background: #FFF6F6; }
.ws-trace-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.ws-trace-body { display: grid; gap: 2px; min-width: 0; }
.ws-trace-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 13px; }
.ws-trace-system { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.ws-trace-why { font-size: 12px; color: #5C6A79; }
.ws-trace-state { display: grid; place-items: center; color: #2FA66A; }
.ws-trace-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #BBD8EC; border-top-color: #0070BA; animation: ws-spin .8s linear infinite; }
@keyframes ws-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ws-trace-spinner { animation: none; } }

/* Layout guard fixes (verify-ui-layout.js): header search no longer collides with the nav on laptops, settings nav stays inside its card. */
@media (max-width: 1300px) { .ws-appbar-search { display: none; } }
[aria-label="Settings categories"] > * { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
[aria-label="Settings categories"] * { max-width: 100%; box-sizing: border-box; }

/* Docked results panel: on wide screens the page makes room for it so the chat transcript stays readable. */
@media (min-width: 1280px) { body.ws-canvas-open main { max-width: none; margin-left: 0; margin-right: 0; padding-right: calc(min(540px, 40vw) + 40px); transition: padding-right 280ms cubic-bezier(0.22, 1, 0.36, 1); } }

.ws-sandbox-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: #FFF4D6; border: 1px solid #F1DDA4; color: #7A5600; font: 600 11px/16px 'Geist', sans-serif; letter-spacing: 0.02em; white-space: nowrap; }
@media (max-width: 1300px) { .ws-sandbox-badge { display: none; } }
@media (max-width: 1500px) { .ws-appbar-search { display: none; } }

/* ---------- Glass: floating command bar, glass header and cards, soft canvas glow ---------- */
.ws-workspace-shell {
  background:
    radial-gradient(900px 520px at 6% -8%, rgba(0, 112, 186, 0.11), transparent 62%),
    radial-gradient(760px 460px at 96% -4%, rgba(255, 196, 57, 0.16), transparent 62%),
    radial-gradient(900px 600px at 50% 112%, rgba(0, 112, 186, 0.07), transparent 60%),
    #FAF8F3;
  background-attachment: fixed;
  padding-bottom: 96px;
}
.ws-workspace-shell > div { background: transparent !important; }
.ws-appbar {
  background: rgba(250, 248, 243, 0.66) !important;
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid rgba(15, 31, 46, 0.07) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 32px -18px rgba(15, 31, 46, 0.22);
}
.ws-stat, .astryx-card, .ws-insights-stage {
  background: rgba(255, 255, 255, 0.66) !important;
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 0 0 1px rgba(15, 31, 46, 0.06), 0 12px 36px -20px rgba(15, 31, 46, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ws-stat:hover, button.astryx-card:hover, a.astryx-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(0, 112, 186, 0.22), 0 18px 44px -20px rgba(0, 112, 186, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.ws-fab {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 20;
  display: flex; align-items: center; gap: 12px;
  width: min(520px, calc(100vw - 32px)); height: 54px; padding: 0 10px 0 8px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(15, 31, 46, 0.07), 0 18px 48px -14px rgba(15, 31, 46, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  color: #0F1F2E; font: 500 15px/20px 'Geist', 'Inter', sans-serif; text-align: left; cursor: pointer;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ws-fab:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 0 0 1px rgba(0, 112, 186, 0.3), 0 24px 56px -14px rgba(0, 112, 186, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.95); }
.ws-fab:active { transform: translateX(-50%) scale(0.98); }
.ws-fab:focus-visible { outline: 2px solid #0070BA; outline-offset: 3px; }
.ws-fab-orb { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(145deg, #FFE08A, #FFC439); color: #0F1F2E; box-shadow: 0 6px 16px -6px rgba(255, 196, 57, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.8); flex: none; }
.ws-fab-text { flex: 1; color: #3A4A5B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-fab-key { flex: none; padding: 3px 8px; border-radius: 8px; border: 1px solid rgba(15, 31, 46, 0.12); background: rgba(255, 255, 255, 0.7); color: #5C6A79; font: 600 12px/16px 'Geist Mono', monospace; }
@media (max-width: 640px) { .ws-fab-key { display: none; } .ws-fab { bottom: 16px; } }

.ws-cmd-backdrop { background: rgba(250, 248, 243, 0.38) !important; backdrop-filter: blur(14px) saturate(1.25) !important; -webkit-backdrop-filter: blur(14px) saturate(1.25) !important; }
.ws-cmd { background: rgba(255, 255, 255, 0.74) !important; backdrop-filter: blur(26px) saturate(1.6); -webkit-backdrop-filter: blur(26px) saturate(1.6); border: 1px solid rgba(255, 255, 255, 0.9) !important; box-shadow: 0 0 0 1px rgba(15, 31, 46, 0.08), 0 40px 100px -24px rgba(15, 31, 46, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important; }

@media (prefers-reduced-motion: reduce) { .ws-fab, .ws-stat, .astryx-card { transition: none; } }
@media (prefers-reduced-transparency: reduce) {
  .ws-fab, .ws-appbar, .ws-stat, .astryx-card, .ws-insights-stage, .ws-cmd { backdrop-filter: none !important; background: #FFFFFF !important; }
}
.ws-workspace-shell main > section:not([class]) { background: transparent !important; }

/* ---------- Toasts replace the old blue banners ---------- */
.ws-toast { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 12px; max-width: min(520px, calc(100vw - 32px)); padding: 10px 12px 10px 14px; border-radius: 14px; color: #0F1F2E; background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px rgba(15, 31, 46, 0.07), 0 18px 44px -16px rgba(15, 31, 46, 0.3); animation: ws-toast-in 220ms cubic-bezier(0.22, 1, 0.36, 1); }
.ws-toast svg { flex: none; color: #5C6A79; }
.ws-toast--error svg { color: #B3261E; }
.ws-toast-text { display: grid; gap: 2px; min-width: 0; font: 400 13px/18px 'Geist', 'Inter', sans-serif; }
.ws-toast-text strong { font-weight: 600; font-size: 14px; }
.ws-toast-text span { color: #5C6A79; }
.ws-toast-close { border: 0; background: transparent; color: #5C6A79; cursor: pointer; padding: 4px; border-radius: 8px; display: grid; place-items: center; }
.ws-toast-close:hover { background: rgba(15, 31, 46, 0.06); }
@keyframes ws-toast-in { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Agents: how Mosaic works ---------- */
.ws-harness { display: grid; gap: 16px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px rgba(15, 31, 46, 0.06), 0 14px 40px -22px rgba(15, 31, 46, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.ws-harness-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.ws-harness-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #0070BA; background: linear-gradient(145deg, rgba(0, 112, 186, 0.14), rgba(0, 112, 186, 0.04)); border: 1px solid rgba(0, 112, 186, 0.18); }
.ws-harness-title { display: grid; gap: 4px; min-width: 0; }
.ws-harness-title b { font: 600 16px/22px 'Geist', sans-serif; }
.ws-harness-title span { font: 400 14px/20px 'Geist', sans-serif; color: #5C6A79; max-width: 64ch; }
.ws-harness-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ws-harness-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.ws-harness-tile { display: grid; gap: 2px; text-align: left; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(15, 31, 46, 0.08); cursor: pointer; font: inherit; color: inherit; transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1), border-color 160ms, background 160ms; }
.ws-harness-tile:hover { transform: translateY(-2px); border-color: rgba(0, 112, 186, 0.4); }
.ws-harness-tile[data-open] { border-color: #0070BA; background: rgba(0, 112, 186, 0.07); }
.ws-harness-count { font: 600 28px/32px 'Geist', sans-serif; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ws-harness-label { font: 600 14px/20px 'Geist', sans-serif; }
.ws-harness-note { font: 400 13px/18px 'Geist', sans-serif; color: #5C6A79; }
.ws-harness-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ws-harness-chips span { font: 400 13px/18px 'Geist', sans-serif; padding: 4px 10px; border-radius: 999px; background: rgba(15, 31, 46, 0.05); border: 1px solid rgba(15, 31, 46, 0.06); }
.ws-harness-more { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/18px 'Geist', sans-serif; color: #5C6A79; }
.ws-harness-rules { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; font: 400 13px/18px 'Geist', sans-serif; color: #5C6A79; }
@media (max-width: 720px) { .ws-harness-head { grid-template-columns: auto minmax(0, 1fr); } .ws-harness-badges { grid-column: 1 / -1; justify-content: flex-start; } }

/* ---------- Glass AI helper boxes and the claim summary ---------- */
.ws-ai-fill { display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); border: 1px solid rgba(15, 31, 46, 0.1); box-shadow: 0 8px 24px -16px rgba(15, 31, 46, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.ws-claim-aside { align-self: start; position: sticky; top: 96px; display: grid; gap: 14px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px rgba(15, 31, 46, 0.06), 0 14px 40px -22px rgba(15, 31, 46, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.ws-claim-eyebrow { font: 600 11px/16px 'Geist Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; color: #5C6A79; }
.ws-claim-total { display: grid; gap: 2px; }
.ws-claim-total span { font: 600 36px/40px 'Geist', sans-serif; letter-spacing: -0.02em; color: #0F1F2E; }
.ws-claim-total small { font: 400 13px/18px 'Geist', sans-serif; color: #5C6A79; }
.ws-claim-rows { display: grid; gap: 8px; margin: 0; }
.ws-claim-rows div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(15, 31, 46, 0.08); font: 400 13px/18px 'Geist', sans-serif; }
.ws-claim-rows dt { color: #5C6A79; }
.ws-claim-rows dd { margin: 0; font-weight: 600; }
.ws-claim-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font: 400 13px/18px 'Geist', sans-serif; color: #5C6A79; }
.ws-claim-checks li { display: flex; align-items: center; gap: 10px; }
.ws-claim-checks li span { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(15, 31, 46, 0.25); flex: none; display: grid; place-items: center; }
.ws-claim-checks li[data-done] { color: #0F1F2E; }
.ws-claim-checks li[data-done] span { background: #0070BA; border-color: #0070BA; }
.ws-claim-checks li[data-done] span::after { content: ""; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translate(-1px, -1px); }
.ws-claim-foot { margin: 0; font: 400 12px/18px 'Geist', sans-serif; color: #5C6A79; }

/* ---------- Mosaic chat, built on the Astryx chat templates ---------- */
.ws-chat { display: flex; flex-direction: column; height: calc(100dvh - 150px); min-height: 520px; }
.ws-chat-start { margin: auto; width: min(720px, 100%); display: grid; gap: 28px; padding: 8px 0 32px; }
.ws-chat-greeting { display: grid; gap: 6px; }
.ws-chat-greeting p { margin: 0; display: flex; align-items: center; gap: 10px; font: 500 18px/24px 'Geist', sans-serif; color: #5C6A79; }
.ws-chat-greeting h1 { margin: 0; font: 600 44px/48px 'Geist', sans-serif; letter-spacing: -0.03em; color: #0F1F2E; }
.ws-chat-orb { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #3AA6E6, #0070BA); box-shadow: 0 8px 20px -8px rgba(0, 112, 186, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.ws-chat-composer { border-radius: 24px; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 0 0 1px rgba(15, 31, 46, 0.07), 0 22px 56px -22px rgba(15, 31, 46, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.95); }
.ws-chat-composer--dock { max-width: 760px; margin: 0 auto; width: 100%; }
.ws-chat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.ws-chat-card { display: grid; gap: 4px; text-align: left; }
.ws-chat-card strong { font: 600 15px/22px 'Geist', sans-serif; color: #0F1F2E; }
.ws-chat-card span { font: 400 13px/18px 'Geist', sans-serif; color: #5C6A79; }
.ws-chat-thread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 24px; background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 0 0 1px rgba(15, 31, 46, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.ws-chat-allow { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
@media (max-width: 640px) { .ws-chat-greeting h1 { font-size: 32px; line-height: 36px; } }
.ws-product-photo { position: relative; }
.ws-product-photo img[data-art] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px 0; box-sizing: border-box; }
.ws-product-photo:has(img[data-art]) { background: linear-gradient(135deg, #EAF3FA, #FAF8F3); }

/* Calmer rhythm for forms and page sections */
.ws-workspace-shell main { row-gap: 28px; }
.ws-workspace-shell main h1 { margin-bottom: 4px; }
.ws-workspace-shell form { row-gap: 16px; }
body:has([role="dialog"][aria-modal="true"]) .ws-fab, body:has(.astryx-dialog) .ws-fab { opacity: 0; pointer-events: none; }

/* Conversation: use the width that is there, and keep the docked results from squeezing it */
.ws-chat-thread > * { flex: 1 1 auto; min-height: 0; }
.ws-chat-thread [class*="bubble"] { max-width: 100%; }
.ws-canvas { width: min(540px, 40vw); }
/* The chat already shows every step as it happens, so the floating activity pill is not needed there. */
body:has([data-ws-view="mosaic-chat"]) .ws-live { display: none; }

/* ---------- Agents: the three ways an agent can work here ---------- */
.ws-surfaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ws-surface { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px rgba(15, 31, 46, 0.06), 0 12px 32px -22px rgba(15, 31, 46, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.ws-surface-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #0070BA; background: rgba(0, 112, 186, 0.1); }
.ws-surface-body { display: grid; gap: 6px; min-width: 0; }
.ws-surface-body b { font: 600 14px/20px 'Geist', sans-serif; }
.ws-surface-note { font: 400 13px/18px 'Geist', sans-serif; color: #5C6A79; }
.ws-surface-names { display: flex; flex-wrap: wrap; gap: 4px; }
.ws-surface-names code { font: 500 11px/16px 'Geist Mono', monospace; padding: 2px 7px; border-radius: 6px; background: rgba(15, 31, 46, 0.05); color: #0F1F2E; }
.ws-surface-count { display: grid; justify-items: end; font: 600 24px/28px 'Geist', sans-serif; font-variant-numeric: tabular-nums; }
.ws-surface-count small { font: 500 11px/14px 'Geist', sans-serif; color: #5C6A79; }
@media (max-width: 1100px) { .ws-surfaces { grid-template-columns: minmax(0, 1fr); } }
.ws-paytoday { margin: 10px 0 0; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(15, 31, 46, 0.1); font: 400 14px/20px 'Geist', sans-serif; color: #5C6A79; width: fit-content; max-width: 100%; }
.ws-paytoday b { color: #0F1F2E; font-weight: 600; }

/* Agents: slim surfaces row and the live feed */
.ws-surfaces-wrap { display: grid; gap: 12px; }
.ws-surface-body { align-content: center; }
.ws-surface-body .ws-surface-note { font: 400 13px/18px 'Geist', sans-serif; }
.ws-agent-feed { display: grid; gap: 6px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(15, 31, 46, 0.08); font: 400 13px/18px 'Geist', sans-serif; color: #5C6A79; }
.ws-agent-feed b { color: #0F1F2E; font-weight: 600; font-size: 14px; }
.ws-agent-feed ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ws-agent-feed li { display: flex; justify-content: space-between; gap: 12px; color: #0F1F2E; }
.ws-agent-feed li small { color: #5C6A79; font-variant-numeric: tabular-nums; }
.ws-toast--agent svg { color: #0070BA; }

.ws-appbar-signout { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(15, 31, 46, 0.12); background: rgba(255, 255, 255, 0.6); color: #0F1F2E; font: 500 13px/16px 'Geist', sans-serif; cursor: pointer; }
.ws-appbar-signout:hover { background: rgba(255, 255, 255, 0.9); }
.ws-appbar-signout:disabled { opacity: 0.6; cursor: default; }
@media (max-width: 720px) { .ws-appbar-signout span { display: none; } }

/* Landing: the problem statement and its sourced numbers */
.lp-problem .lp-lede { max-width: 640px; margin: 10px 0 0; color: #5C6A79; font: 400 17px/26px 'Geist', sans-serif; }
.lp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.lp-stat { display: grid; gap: 8px; align-content: start; padding: 20px; }
.lp-stat b { font: 600 34px/38px 'Geist', sans-serif; letter-spacing: -0.02em; color: #0F1F2E; font-variant-numeric: tabular-nums; }
.lp-stat span { font: 400 14px/20px 'Geist', sans-serif; color: #3C4A59; }
.lp-stat a { font: 500 12px/16px 'Geist Mono', monospace; color: #0070BA; text-decoration: none; }
.lp-stat a:hover { text-decoration: underline; }
.lp-blockers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.lp-blockers div { display: grid; gap: 4px; padding: 16px 18px; border-left: 3px solid #FFC439; background: rgba(255, 255, 255, 0.6); border-radius: 0 12px 12px 0; }
.lp-blockers b { font: 600 15px/20px 'Geist', sans-serif; color: #0F1F2E; }
.lp-blockers span { font: 400 14px/20px 'Geist', sans-serif; color: #5C6A79; }
@media (max-width: 900px) { .lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-blockers { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lp-stats { grid-template-columns: 1fr; } }

/* Comparison panel: verdict cards, the factor table and quick bars fill the docked panel */
.ws-canvas--compare { width: min(780px, 54vw); }
@media (min-width: 1280px) { body.ws-canvas-open.ws-canvas-wide main { padding-right: calc(min(780px, 54vw) + 40px); } }
.ws-canvas--compare .ws-canvas-head p { max-width: 560px; }
.ws-cmp { display: grid; gap: 14px; }
.ws-cmp-verdicts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ws-cmp-verdict { display: grid; gap: 2px; padding: 12px; border-radius: 14px; background: #F4F9FD; border: 1px solid #D6E7F5; min-width: 0; }
.ws-cmp-verdict small { font: 500 11px/14px 'Geist Mono', monospace; letter-spacing: 0.04em; text-transform: uppercase; color: #5C6A79; }
.ws-cmp-verdict b { font: 600 15px/20px 'Geist', sans-serif; color: #0F1F2E; overflow-wrap: anywhere; }
.ws-cmp-verdict em { font: 500 13px/18px 'Geist', sans-serif; font-style: normal; color: #0070BA; font-variant-numeric: tabular-nums; }
.ws-cmp-icon { color: #0070BA; display: inline-flex; margin-bottom: 4px; }
.ws-cmp-table-wrap { overflow-x: auto; border: 1px solid #E3DED3; border-radius: 14px; }
.ws-cmp-table { width: 100%; border-collapse: collapse; font: 400 13.5px/19px 'Geist', sans-serif; font-variant-numeric: tabular-nums; }
.ws-cmp-table th { text-align: left; padding: 10px 12px; background: #FAF8F3; color: #0F1F2E; font-weight: 600; border-bottom: 1px solid #EDE9DF; }
.ws-cmp-table th small { display: block; font-weight: 400; color: #5C6A79; font-size: 12px; }
.ws-cmp-table td { padding: 9px 12px; border-bottom: 1px solid #F0ECE3; color: #0F1F2E; vertical-align: top; }
.ws-cmp-table td:first-child { color: #5C6A79; width: 34%; }
.ws-cmp-table tr:last-child td { border-bottom: 0; }
.ws-cmp-table td.is-best { background: #E8F5EC; color: #146B34; font-weight: 600; }
.ws-cmp-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ws-cmp-bars { display: grid; gap: 8px; padding: 12px; border: 1px solid #E3DED3; border-radius: 14px; min-width: 0; }
.ws-cmp-bars b { font: 600 13px/18px 'Geist', sans-serif; color: #0F1F2E; }
.ws-cmp-bar-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 8px; align-items: center; font: 400 12.5px/16px 'Geist', sans-serif; color: #5C6A79; }
.ws-cmp-bar-row em { font-style: normal; color: #0F1F2E; font-variant-numeric: tabular-nums; }
.ws-cmp-bar-track { height: 10px; background: #EEF2F6; border-radius: 6px; overflow: hidden; }
.ws-cmp-bar { height: 100%; background: #9DB8D2; border-radius: 6px; transition: width 500ms ease; }
.ws-cmp-bar.is-best { background: #0070BA; }
@media (max-width: 900px) { .ws-cmp-verdicts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-cmp-charts { grid-template-columns: 1fr; } }

/* Mosaic chat fits the window: the conversation scrolls inside its own panel and the page itself does not scroll */
body:has([data-ws-view="mosaic-chat"]) { overflow: hidden; }
main:has([data-ws-view="mosaic-chat"]) > div.mt-8 { display: none; }
main:has([data-ws-view="mosaic-chat"]) { padding-top: 16px; padding-bottom: 16px; }
.ws-chat { height: calc(100dvh - 64px - 40px); min-height: 440px; }
