/*
 * css/beta-ui-cleanup.css — Beta-launch UI cleanup (Pattern A)
 *
 * Hides Plan Analysis (sidebar + Command Center top tab) and decorates
 * Schedules + Change Orders as "Coming Soon" with the Pattern A treatment:
 * ~50% opacity, "Soon" pill badge, cursor:not-allowed, click intercepted.
 *
 * Paired with js/beta-ui-cleanup.js. Reversible via:
 *   localStorage.setItem('beta-ui-cleanup-enabled', 'false');
 *
 * Per CLAUDE.md: no edits to styles.css. All beta cleanup styles live here.
 */

/* Coming Soon visual treatment — applied to nav-btn and dash-tab elements. */
.beta-coming-soon {
  opacity: 0.5;
  cursor: not-allowed !important;
  position: relative;
  pointer-events: auto; /* keep events alive so the JS interceptor can fire */
}

.beta-coming-soon * {
  cursor: not-allowed !important;
}

/* Inline "Soon" pill badge. Uses Job Soup tokens with hard-coded fallbacks
 * so it remains legible against both light and dark themes (default theme
 * is light per CLAUDE.md). */
.beta-soon-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-secondary, #6b7280);
  background: var(--card-bg, rgba(0, 0, 0, 0.06));
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
  pointer-events: none; /* badge never absorbs the click */
}

/* CSS-side safety net: even before the JS module runs, hidden items stay
 * hidden. The JS module also sets data-beta-hidden so this rule kicks in
 * defensively in case of late-rendered duplicates. */
[data-beta-hidden="plan-analysis"] {
  display: none !important;
}
