/* Light theme with cool tinted neutrals (default) */
:root {
  /* Core brand color */
  --brand: #2563eb;
  
  /* Tinted surfaces - all carry a trace of the brand blue */
  --bg: #F4F6FA;              /* main background - white + 3% brand blue */
  --panel: #FAFBFD;           /* card/panel surface - white + 1.5% brand blue */
  --panel-2: #EDF0F7;         /* secondary surface - light grey + 5% brand blue */
  
  /* Borders with temperature */
  --line: #DDE3EE;            /* primary borders - grey + 5% brand blue */
  --line-strong: #BCC6DA;     /* strong borders - grey + 8% brand blue */
  
  /* Text hierarchy with cool temperature */
  --ink: #0F1520;             /* primary text - near black + blue lean */
  --ink-2: #3A4560;           /* secondary text - dark grey + blue lean */
  --muted: #7A8BA0;           /* muted text - grey + blue lean */
  
  /* Brand variations */
  --accent: #2563eb;          /* primary brand color */
  --accent-dark: #1e40af;     /* darker brand for hover states */
  --accent-light: #EEF3FF;    /* light brand for subtle backgrounds */
  --accent-subtle: #E0E9FF;   /* subtle brand tint */
  
  /* Status colors */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  
  /* Shadows with brand temperature */
  --shadow-sm: 0 1px 3px rgba(30, 50, 100, 0.08), 0 0 0 1px rgba(30, 50, 100, 0.04);
  --shadow: 0 4px 16px rgba(30, 50, 100, 0.10), 0 1px 4px rgba(30, 50, 100, 0.06);
  --shadow-md: 0 12px 40px rgba(30, 50, 100, 0.12), 0 2px 8px rgba(30, 50, 100, 0.06);
  
  --radius: 0.5rem;
}

/* Dark theme with cool tinted neutrals */
[data-theme="dark"] {
  /* Core brand color */
  --brand: #3b82f6;
  
  /* Dark tinted surfaces - all lean blue-dark */
  --bg: #0F1117;              /* main background - dark + blue lean */
  --panel: #161B27;           /* card/panel surface - dark grey + blue lean */
  --panel-2: #1E2738;         /* secondary surface - medium dark + blue lean */
  
  /* Dark borders */
  --line: #2A3441;            /* primary borders - dark grey + blue lean */
  --line-strong: #3D4A5C;     /* strong borders */
  
  /* Dark text hierarchy */
  --ink: #E8EDF5;             /* primary text - off white + cool lean */
  --ink-2: #B8C5D6;           /* secondary text */
  --muted: #8A9AB5;           /* muted text - grey + blue lean */
  
  /* Brand variations for dark */
  --accent: #3b82f6;          /* primary brand - slightly lighter for contrast */
  --accent-dark: #2563eb;     /* darker brand */
  --accent-light: #1e293b;    /* dark brand background */
  --accent-subtle: #1e2a3a;   /* subtle brand tint for dark */
  
  /* Status colors for dark */
  --success: #34d399;
  --error: #f87171;
  --warning: #fbbf24;
  
  /* Dark shadows become glows */
  --shadow-sm: 0 0 0 1px rgba(100, 140, 255, 0.08);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(100, 140, 255, 0.06);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(100, 140, 255, 0.08);
}

/* Alternative warm theme */
[data-theme="warm"] {
  /* Core brand color - warm */
  --brand: #C4502A;
  
  /* Warm tinted surfaces */
  --bg: #F7F3EE;              /* main background - white + warm tint */
  --panel: #FDFAF7;           /* card/panel surface */
  --panel-2: #F2EDE6;         /* secondary surface */
  
  /* Warm borders */
  --line: #E8DDD2;            /* primary borders */
  --line-strong: #C8B8A8;     /* strong borders */
  
  /* Warm text hierarchy */
  --ink: #1A1410;             /* primary text - near black + warm lean */
  --ink-2: #4A3E34;           /* secondary text */
  --muted: #9A8878;           /* muted text - grey + warm lean */
  
  /* Warm brand variations */
  --accent: #C4502A;          /* primary brand color */
  --accent-dark: #a0421f;     /* darker brand */
  --accent-light: #F5EAE4;    /* light brand background */
  --accent-subtle: #F0E1D6;   /* subtle brand tint */
  
  /* Status colors for warm theme */
  --success: #059669;
  --error: #dc2626;
  --warning: #d97706;
  
  /* Warm shadows */
  --shadow-sm: 0 1px 3px rgba(100, 60, 30, 0.08), 0 0 0 1px rgba(100, 60, 30, 0.04);
  --shadow: 0 4px 16px rgba(100, 60, 30, 0.10), 0 1px 4px rgba(100, 60, 30, 0.06);
  --shadow-md: 0 12px 40px rgba(100, 60, 30, 0.12), 0 2px 8px rgba(100, 60, 30, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-dark);
}

.app-header {
  align-items: center;
  background: rgba(250, 251, 253, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  position: sticky;
  top: 0;
  z-index: 50;
}

[data-theme="dark"] .app-header {
  background: rgba(15, 17, 23, 0.9);
}

.brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 0.75rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--accent);
  border-radius: 0.375rem;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.brand strong {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
}

.nav {
  display: flex;
  gap: 0.5rem;
}

.account-actions {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.nav a {
  border-radius: 0.375rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  transition: all 0.2s;
}

.nav a:hover {
  background: var(--bg);
  color: var(--ink);
}

.nav a.active {
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* Header Actions */
.header-actions {
  align-items: center;
  display: flex;
  gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
}

.theme-toggle-button {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  height: 2.25rem;
  justify-content: center;
  transition: all 0.2s;
  width: 2.25rem;
}

.theme-toggle-button:hover {
  background: var(--panel-2);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-menu {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  min-width: 120px;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  z-index: 100;
}

.theme-toggle-menu[hidden] {
  display: none;
}

.theme-option {
  align-items: center;
  background: transparent;
  border: none;
  color: var(--ink-2);
  cursor: pointer;
  display: flex;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  transition: all 0.2s;
  width: 100%;
}

.theme-option:first-child {
  border-radius: 0.5rem 0.5rem 0 0;
}

.theme-option:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}

.theme-option:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.theme-option.active {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.theme-option i {
  width: 1rem;
  text-align: center;
}

.account-actions {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.shell {
  margin: 0 auto;
  max-width: 1200px;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 4rem;
}

.dashboard-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  margin-top: 2rem;
}

.two-column {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
}

/* Enhanced Dashboard */
.dashboard-hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius);
  color: #fff;
  margin-bottom: 2rem;
  padding: 3rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.dashboard-hero .eyebrow {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.dashboard-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.dashboard-hero .lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
}

.stat-item {
  text-align: center;
}

.stat-number {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Quick Actions */
.quick-actions {
  background: linear-gradient(135deg, #f8fafc 0%, var(--bg) 100%);
  border: 2px solid var(--accent-light);
}

[data-theme="dark"] .quick-actions {
  background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
  border-color: var(--line);
}

.action-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.action-card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  transition: all 0.2s;
}

.action-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.action-card.primary {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-light) 0%, #f0f9ff 100%);
}

[data-theme="dark"] .action-card.primary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18) 0%, var(--panel-2) 100%);
}

.action-icon {
  font-size: 2rem;
  line-height: 1;
}

.action-content {
  flex: 1;
}

.action-content h3 {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.action-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

/* Activity Feed */
.activity-feed {
  background: var(--panel);
  border: 2px solid var(--line);
}

.activity-count {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  align-items: center;
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--bg);
}

.activity-icon {
  align-items: center;
  border-radius: 50%;
  display: flex;
  font-size: 1.25rem;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.activity-icon.match {
  background: var(--accent-light);
}

.activity-icon.profile {
  background: #ecfdf5;
}

.activity-icon.download {
  background: #fef3c7;
}

[data-theme="dark"] .activity-icon.profile {
  background: rgba(52, 211, 153, 0.14);
}

[data-theme="dark"] .activity-icon.download {
  background: rgba(251, 191, 36, 0.14);
}

.activity-content {
  flex: 1;
}

.activity-text {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.activity-meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.activity-job {
  font-weight: 600;
}

.activity-action {
  flex-shrink: 0;
}

/* Progress Panel */
.progress-panel {
  background: linear-gradient(135deg, var(--bg) 0%, #f1f5f9 100%);
}

[data-theme="dark"] .progress-panel {
  background: linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
}

.progress-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.progress-item {
  align-items: center;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 1rem;
  padding: 1rem;
  transition: all 0.2s;
}

.progress-item.complete {
  border-color: var(--success);
  background: #ecfdf5;
}

[data-theme="dark"] .progress-item.complete {
  background: rgba(52, 211, 153, 0.12);
}

.progress-icon {
  font-size: 1.5rem;
}

.progress-content {
  flex: 1;
}

.progress-content h3 {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.progress-content p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Sidebar Panels */
.credits-panel {
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
  border: 2px solid #f59e0b;
  color: #92400e;
}

[data-theme="dark"] .credits-panel {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

.credits-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.credits-indicator {
  text-align: center;
}

.credits-number {
  color: #92400e;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.credits-label {
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

[data-theme="dark"] .credits-label {
  color: var(--muted);
}

.credits-indicator.low .credits-number {
  color: var(--error);
}

.credits-indicator.medium .credits-number {
  color: #f59e0b;
}

.credits-indicator.good .credits-number {
  color: #059669;
}

.credits-usage {
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 0.75rem;
}

[data-theme="dark"] .credits-usage {
  background: var(--bg);
  border: 1px solid var(--line);
}

.usage-item {
  align-items: center;
  display: flex;
  font-size: 0.8rem;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.usage-item:last-child {
  margin-bottom: 0;
}

.usage-cost {
  font-weight: 600;
}

[data-theme="dark"] .usage-cost {
  color: var(--ink-2);
}

.credit-button {
  background: #92400e !important;
  border-color: #92400e !important;
  color: #fff !important;
  width: 100%;
}

.credit-button:hover {
  background: #78350f !important;
  border-color: #78350f !important;
}

/* Resume Status */
.resume-status {
  border: 2px solid var(--accent-light);
  background: linear-gradient(135deg, var(--accent-light) 0%, #f0f9ff 100%);
}

[data-theme="dark"] .resume-status {
  background: var(--panel);
  border-color: var(--line);
}

.status-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resume-preview {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1rem;
}

.preview-header {
  margin-bottom: 0.5rem;
}

.preview-header strong {
  color: var(--ink);
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.preview-location {
  color: var(--muted);
  font-size: 0.8rem;
}

.preview-summary {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.preview-meta {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.resume-actions {
  display: flex;
  gap: 0.5rem;
}

/* Latest Match */
.latest-match {
  border: 2px solid var(--success);
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

[data-theme="dark"] .latest-match {
  background: rgba(52, 211, 153, 0.12);
}

.match-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.match-score {
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
}

.match-score.high {
  background: var(--success);
  color: #fff;
}

.match-score.medium {
  background: #fbbf24;
  color: #fff;
}

.match-score.low {
  background: var(--muted);
  color: #fff;
}

.match-content {
  margin-bottom: 1rem;
}

.match-summary {
  color: var(--ink);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.match-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.keyword-tag {
  background: var(--success);
  border-radius: 1rem;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
}

.more-keywords {
  background: var(--muted);
  border-radius: 1rem;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
}

.match-actions {
  display: flex;
  gap: 0.5rem;
}

/* Getting Started Mini */
.getting-started-mini {
  background: linear-gradient(135deg, var(--accent-light) 0%, #f0f9ff 100%);
  border: 2px solid var(--accent-light);
  text-align: center;
}

[data-theme="dark"] .getting-started-mini {
  background: var(--panel);
  border-color: var(--line);
}

.getting-started-mini h3 {
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

.getting-started-mini p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Tips Panel */
.tips-panel {
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
  border: 2px solid #f59e0b;
}

[data-theme="dark"] .tips-panel {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
}

.tips-panel h3 {
  color: #92400e;
  margin-bottom: 1rem;
}

[data-theme="dark"] .tips-panel h3 {
  color: var(--warning);
}

.tip-content p {
  color: #92400e;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .tip-content p {
  color: var(--ink-2);
}

.tip-content p:last-of-type {
  margin-bottom: 1rem;
}

.tip-action {
  background: #92400e !important;
  border-color: #92400e !important;
  color: #fff !important;
}

.tip-action:hover {
  background: #78350f !important;
  border-color: #78350f !important;
}

/* Onboarding Styles */
.onboarding-container {
  max-width: 1200px;
  margin: 0 auto;
}

.onboarding-hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.onboarding-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero-animation > div {
  font-size: 4rem;
  line-height: 1;
}

.magic-sparkles {
  animation: sparkle 2s ease-in-out infinite alternate;
}

@keyframes sparkle {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(180deg) scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.onboarding-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-benefits {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.benefit-item {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.benefit-icon {
  font-size: 1.5rem;
}

/* Process Overview */
.process-overview {
  margin-bottom: 4rem;
  text-align: center;
}

.process-overview h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  text-align: center;
}

.process-steps {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  flex: 1;
  max-width: 280px;
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.process-step.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

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

.step-visual {
  margin-bottom: 1.5rem;
  position: relative;
}

.step-number {
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  height: 2rem;
  line-height: 2rem;
  position: absolute;
  right: -0.5rem;
  top: -0.5rem;
  width: 2rem;
  z-index: 2;
}

.step-icon {
  font-size: 3rem;
  line-height: 1;
}

.step-content h3 {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.step-details {
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
  padding: 0;
  text-align: left;
}

.step-details li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.step-details li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
  left: 0;
  position: absolute;
}

.process-arrow {
  color: var(--accent);
  font-size: 2rem;
  font-weight: bold;
}

/* Getting Started Options */
.getting-started-section {
  margin-bottom: 4rem;
}

.getting-started-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

.starting-options {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}

.option-card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.option-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.option-card.primary {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-light) 0%, #f0f9ff 100%);
  position: relative;
}

.option-card.primary::before {
  content: 'Recommended';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  text-transform: uppercase;
}

.option-header {
  margin-bottom: 1.5rem;
}

.option-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.option-header h3 {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.option-content {
  flex: 1;
  margin-bottom: 2rem;
}

.option-content p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.option-time {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.button.extra-large {
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

/* Tips Section */
.tips-section {
  margin-bottom: 4rem;
}

.tips-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.tips-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}

.tip-card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tip-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow);
}

.tip-card.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.tip-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tip-content h3 {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.tip-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Sample Results */
.sample-results {
  margin-bottom: 4rem;
}

.sample-results h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

.results-preview {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.before-after {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 2rem;
}

.before, .after {
  transition: all 0.3s ease;
}

.before-after.hover-active .before {
  opacity: 0.6;
  transform: scale(0.95);
}

.before-after.hover-active .after {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.before h3, .after h3 {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.resume-preview {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: 'Georgia', serif;
  font-size: 0.9rem;
  padding: 1.5rem;
}

.resume-preview.generic {
  border-left: 4px solid var(--muted);
}

.resume-preview.optimized {
  border-left: 4px solid var(--success);
}

.resume-line {
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.preview-note {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

.arrow-transform {
  color: var(--accent);
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.analysis-preview {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  border-radius: var(--radius);
  color: #fff;
  padding: 1.5rem;
}

.analysis-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.analysis-badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
}

.match-score {
  font-size: 1.25rem;
  font-weight: 800;
}

.detected-requirements {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.requirement-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.requirement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.req-tag {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius);
  color: #fff;
  margin-bottom: 2rem;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.cta-stats .stat {
  text-align: center;
}

.cta-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.cta-stats .stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
  opacity: 0.8;
}

.cta-actions {
  margin-top: 2rem;
}

.cta-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Match Results Enhancements */
.match-header-panel {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 2px solid var(--success);
  margin-bottom: 2rem;
}

.match-overview {
  margin-bottom: 2rem;
}

.match-status-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.status-indicator {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.status-icon {
  font-size: 2rem;
}

.status-content h1 {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

.status-subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

.match-metrics {
  display: flex;
  gap: 2rem;
}

.metric {
  text-align: center;
}

.metric-value {
  color: var(--success);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-top: 0.25rem;
}

.match-summary h2 {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.match-description {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.requirements-section {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.section-header-inline {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-header-inline h3 {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.requirement-count {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.keyword-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.keyword-tag {
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
}

.keyword-tag.primary {
  background: var(--success);
  color: #fff;
}

.keyword-tag.secondary {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
}

.match-actions-bar {
  align-items: center;
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 1.5rem;
}

.actions-left,
.actions-right {
  display: flex;
  gap: 1rem;
}

/* Results Grid */
.results-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
}

.results-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.results-header.compact {
  margin-bottom: 1rem;
}

.header-content {
  flex: 1;
}

.header-content h2 {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.header-description {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.results-stats {
  display: flex;
  gap: 1.5rem;
}

.results-count {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Experience Results */
.experience-results {
  border: 2px solid var(--accent-light);
  background: linear-gradient(135deg, var(--accent-light) 0%, #f0f9ff 100%);
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.experience-result-card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.experience-result-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
}

.experience-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.role-info {
  flex: 1;
}

.company-name {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.role-details {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  gap: 1rem;
}

.job-title {
  font-weight: 600;
}

.role-metrics {
  flex-shrink: 0;
}

.relevance-score {
  background: var(--success);
  border-radius: var(--radius);
  color: #fff;
  padding: 0.5rem 0.75rem;
  text-align: center;
}

.relevance-score.medium {
  background: #f59e0b;
}

.relevance-score.low {
  background: var(--muted);
}

.score-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.score-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.8;
  text-transform: uppercase;
}

.highlights-section {
  margin-top: 1rem;
}

.highlights-title {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.highlights-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.highlight-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1rem;
}

.highlight-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-text {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
}

.highlight-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.relevance-indicator {
  background: var(--success);
  border-radius: 1rem;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
}

.relevance-indicator.medium {
  background: #f59e0b;
}

.relevance-indicator.low {
  background: var(--muted);
}

.matched-keywords {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.keywords-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.matched-keyword {
  background: var(--accent-light);
  border-radius: 1rem;
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
}

/* Projects Results */
.projects-results {
  border: 2px solid #fbbf24;
  background: linear-gradient(135deg, #fef3c7 0%, #fefce8 100%);
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-result-card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.project-result-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow);
}

.project-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.project-info {
  flex: 1;
}

.project-name {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

.project-link {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

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

.project-score {
  background: var(--success);
  border-radius: var(--radius);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
}

.project-score.medium {
  background: #f59e0b;
}

.project-score.low {
  background: var(--muted);
}

.project-description {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.project-tech,
.project-matches {
  margin-bottom: 0.75rem;
}

.tech-label,
.matches-label {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.tech-tags,
.matched-requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.tech-tag {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
}

.requirement-tag {
  background: var(--success);
  border-radius: 1rem;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
}

/* Skills Results */
.skills-results {
  border: 2px solid #a855f7;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.skill-category {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.category-name {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-item {
  background: var(--accent-light);
  border-radius: 1rem;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
}

.skill-item.high {
  background: var(--success);
  color: #fff;
}

.skill-item.medium {
  background: #fbbf24;
  color: #fff;
}

.skill-item.low {
  background: var(--muted);
  color: #fff;
}

/* Next Steps Panel */
.next-steps-panel {
  background: linear-gradient(135deg, var(--accent-light) 0%, #f0f9ff 100%);
  border: 2px solid var(--accent-light);
}

.next-steps-content {
  text-align: center;
}

.steps-header {
  margin-bottom: 2rem;
}

.steps-header h2 {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.steps-description {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
}

.step-card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.step-card.primary {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-light) 0%, #dbeafe 100%);
}

.step-card .step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.step-content h3 {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.step-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.step-action {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.step-action.primary {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.adjustment-options {
  margin-top: 2rem;
}

.adjustment-details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: left;
}

.adjustment-details summary {
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 1rem;
}

.adjustment-content {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.adjustment-option {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.adjustment-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

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

/* Empty Results */
.empty-results {
  padding: 2rem;
  text-align: center;
}

.empty-results.compact {
  padding: 1rem;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-results h3 {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.empty-results p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.empty-results ul {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1rem 0;
  text-align: left;
}

/* Responsive Adjustments */
@media (max-width: 820px) {
  .process-steps {
    flex-direction: column;
  }

  .process-arrow {
    transform: rotate(90deg);
  }

  .hero-benefits {
    flex-direction: column;
  }

  .cta-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .arrow-transform {
    transform: rotate(90deg);
  }

  .match-status-section {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .match-metrics {
    justify-content: center;
  }

  .match-actions-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .actions-left,
  .actions-right {
    justify-content: center;
    width: 100%;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .experience-header {
    flex-direction: column;
    gap: 1rem;
  }

  .project-header {
    flex-direction: column;
    gap: 1rem;
  }

  .highlight-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.intro-panel h1,
.panel > h1 {
  color: var(--ink);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}

h2 {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h3 {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.lede {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button,
button.button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  justify-content: center;
  padding: 0.5rem 1rem;
  transition: all 0.2s;
}

[data-theme="dark"] .button,
[data-theme="dark"] button.button {
  background: var(--panel-2);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button:hover {
  background: var(--bg);
  border-color: var(--muted);
  text-decoration: none;
}

[data-theme="dark"] .button:hover,
[data-theme="dark"] button.button:hover {
  background: var(--accent-light);
  border-color: var(--accent);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.danger {
  color: var(--error);
}

.button.danger:hover {
  background: #fef2f2;
  border-color: #fecaca;
}

[data-theme="dark"] .button.danger:hover {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.4);
}

.button.small {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
}

.stat-panel strong {
  color: var(--accent);
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.25rem 0;
}

.summary-grid,
.field-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

/* Workflow Breadcrumbs */
.workflow-breadcrumbs {
  background: linear-gradient(135deg, var(--accent-light) 0%, #f0f9ff 100%);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

[data-theme="dark"] .workflow-breadcrumbs {
  background: var(--panel);
}

.breadcrumb-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.breadcrumb-item.active {
  color: var(--accent-dark);
  font-weight: 700;
}

.step-number {
  align-items: center;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  display: flex;
  font-size: 0.75rem;
  font-weight: 700;
  height: 1.75rem;
  justify-content: center;
  width: 1.75rem;
}

.breadcrumb-item.active .step-number {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.breadcrumb-arrow {
  color: var(--line);
  font-size: 1.25rem;
  font-weight: bold;
}

/* Profile Page Enhancements */
.profile-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid var(--accent-light);
  margin-bottom: 0;
}

.profile-header-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.completion-indicator {
  text-align: center;
}

.completion-circle {
  align-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 1.25rem;
  font-weight: 800;
  height: 4rem;
  justify-content: center;
  margin: 0 auto 0.5rem;
  width: 4rem;
}

.completion-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Tab Navigation */
.profile-tabs {
  margin-bottom: 2rem;
}

.tab-nav {
  border-bottom: 2px solid var(--line);
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
}

.tab-button {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  transition: all 0.2s;
}

.tab-button:hover {
  background: var(--bg);
  color: var(--ink);
}

.tab-button.active {
  background: var(--panel);
  border-bottom-color: var(--accent);
  color: var(--accent-dark);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Section Panels */
.section-panel {
  border: 2px solid var(--line);
  margin-bottom: 2rem;
  position: relative;
}

.section-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-description {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

.section-actions {
  display: flex;
  gap: 0.75rem;
}

.section-status {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.status-dot {
  border-radius: 50%;
  height: 0.5rem;
  width: 0.5rem;
}

.status-dot.complete {
  background: var(--success);
}

.status-dot.incomplete {
  background: var(--muted);
}

.status-text {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Enhanced Cards */
.enhanced-project-card {
  border: 2px solid var(--line);
  transition: all 0.2s;
}

.enhanced-project-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

.project-status {
  align-items: center;
  background: var(--bg);
  border-radius: 0.375rem;
  display: flex;
  font-size: 0.8rem;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 0.75rem;
}

.status-indicator {
  border-radius: 50%;
  height: 0.5rem;
  width: 0.5rem;
}

.status-indicator.ready {
  background: var(--success);
}

.status-indicator.loading {
  animation: pulse 2s infinite;
  background: var(--accent);
}

.status-indicator.error {
  background: var(--error);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Enhanced Skills */
.skill-card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.skill-card:hover {
  box-shadow: var(--shadow);
}

.skill-items {
  margin-top: 1rem;
}

.skill-items-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2rem;
  display: flex;
  gap: 0.5rem;
  overflow: hidden;
  padding: 0;
}

.skill-tag input {
  background: transparent;
  border: none;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  width: auto;
  min-width: 80px;
}

.skill-tag button {
  align-items: center;
  background: var(--error);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 0.75rem;
  height: 1.5rem;
  justify-content: center;
  margin-right: 0.25rem;
  width: 1.5rem;
}

/* Auto-save Status */
.auto-save-status {
  align-items: center;
  background: var(--success);
  border-radius: 2rem;
  color: #fff;
  display: flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  position: fixed;
  right: 2rem;
  top: 5rem;
  z-index: 100;
}

.auto-save-status.saving {
  background: var(--accent);
}

.auto-save-status.error {
  background: var(--error);
}

/* Profile Save Section */
.profile-save-section {
  background: linear-gradient(135deg, var(--accent-light) 0%, #f0f9ff 100%);
  border: 2px solid var(--accent-light);
  border-radius: var(--radius);
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
}

.save-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.save-help {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.button.large {
  font-size: 1rem;
  padding: 0.875rem 2rem;
}

/* Empty States */
.empty-section {
  background: var(--bg);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}

.empty-message {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.empty-help {
  color: var(--muted);
  margin: 0 0 2rem;
}

.empty-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Job Analysis Enhancements */
.job-analysis-container {
  max-width: 1200px;
  margin: 0 auto;
}

.job-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid var(--accent-light);
  margin-bottom: 2rem;
}

.analysis-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.progress-step.active {
  color: var(--accent-dark);
  font-weight: 700;
}

.progress-step.completed {
  color: var(--success);
  font-weight: 600;
}

.progress-arrow {
  color: var(--line);
  font-size: 1.25rem;
}

.job-header-content {
  text-align: center;
}

.job-input-panel {
  background: var(--panel);
  border: 2px solid var(--line);
}

.job-input-section {
  margin-bottom: 2rem;
}

.textarea-wrapper {
  position: relative;
}

.textarea-tools {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.tool-button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

.tool-button:hover {
  background: var(--bg);
  color: var(--ink);
}

.char-count {
  color: var(--muted);
  font-size: 0.75rem;
}

/* Optimization Presets */
.optimization-presets {
  margin-bottom: 2rem;
}

.optimization-presets h3 {
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.preset-description {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.preset-options {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.preset-option {
  cursor: pointer;
  display: block;
}

.preset-option input {
  position: absolute;
  opacity: 0;
}

.preset-card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.2s;
}

.preset-option input:checked + .preset-card {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.preset-card:hover {
  border-color: var(--accent-light);
}

.preset-header {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.preset-header h4 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.preset-badge {
  background: var(--accent);
  border-radius: 1rem;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  text-transform: uppercase;
}

.preset-card p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1rem;
}

.preset-details {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.custom-controls {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.analysis-actions {
  margin-top: 2rem;
  text-align: center;
}

.button-loading {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.loading-spinner {
  animation: spin 1s linear infinite;
  border: 2px solid #fff;
  border-radius: 50%;
  border-top: 2px solid transparent;
  height: 1rem;
  width: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.analysis-help {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 1rem 0 0;
}

/* Sidebar Enhancements */
.analysis-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.how-it-works {
  background: linear-gradient(135deg, #f0f9ff 0%, var(--bg) 100%);
}

.process-steps {
  display: grid;
  gap: 1.25rem;
}

.process-step {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
}

.step-icon {
  font-size: 1.5rem;
}

.process-step h4 {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

.latest-match {
  border: 2px solid var(--success);
}

.match-summary {
  margin-bottom: 1.5rem;
}

.match-status {
  align-items: center;
  border-radius: 0.375rem;
  display: flex;
  font-size: 0.8rem;
  font-weight: 600;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
}

.match-status.success {
  background: #ecfdf5;
  color: #065f46;
}

.match-notice {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1rem;
}

.keyword-preview {
  margin-top: 1rem;
}

.more-keywords {
  background: var(--muted) !important;
  color: #fff !important;
}

.match-actions {
  display: grid;
  gap: 0.75rem;
}

.getting-started {
  background: linear-gradient(135deg, var(--accent-light) 0%, #f0f9ff 100%);
}

.tip-list {
  display: grid;
  gap: 1rem;
}

.tip {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
}

.tip-icon {
  font-size: 1.25rem;
}

.tip p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Modal Styles */
.modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  height: 100vh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1000;
}

.modal[hidden] {
  display: none;
}

.modal-content {
  background: var(--panel);
  border-radius: var(--radius);
  max-height: 80vh;
  max-width: 600px;
  overflow-y: auto;
  width: 90vw;
}

.modal-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem;
}

.modal-header h3 {
  margin: 0;
}

.modal-body {
  padding: 1.5rem;
}

.tip-section {
  margin-bottom: 2rem;
}

.tip-section:last-child {
  margin-bottom: 0;
}

.tip-section h4 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.tip-section ul {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  padding-left: 1.25rem;
}

.tip-section li {
  margin-bottom: 0.5rem;
}

/* Enhanced GitHub Integration */
.repo-search-panel.enhanced {
  background: linear-gradient(135deg, #f8fafc 0%, var(--bg) 100%);
  border: 2px solid var(--accent-light);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.search-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.search-header h3 {
  color: var(--ink);
  font-size: 1.1rem;
  margin: 0;
}

.search-controls {
  margin-bottom: 1.5rem;
}

.search-input-group {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.search-input-group input {
  flex: 1;
}

.search-filters {
  display: flex;
  gap: 1rem;
}

.search-status {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.85rem;
  gap: 0.5rem;
}

.repo-result-list.enhanced {
  display: grid;
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
}

.repo-result.enhanced {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  padding: 1.25rem;
  transition: all 0.2s;
}

.repo-result.enhanced:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow);
}

.repo-info h4 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.repo-description {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

.repo-meta {
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.repo-meta span {
  margin-right: 1rem;
}

.repo-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.repo-topic {
  background: var(--accent-light);
  border-radius: 1rem;
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
}

.repo-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Validation Styles */
[data-required]:invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.validation-error {
  background: #fef2f2;
  border-radius: 0.25rem;
  color: var(--error);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.25rem;
  padding: 0.5rem 0.75rem;
}

.section-head {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.stacked-form {
  display: grid;
  gap: 1.25rem;
}

label {
  color: var(--ink);
  display: grid;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.375rem;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  transition: all 0.2s;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 2px solid transparent;
  ring: 2px solid var(--accent-light);
  box-shadow: 0 0 0 3px var(--accent-light);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.notice {
  background: var(--accent-light);
  border-radius: var(--radius);
  color: var(--accent-dark);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
}

.card-list {
  display: grid;
  gap: 1.25rem;
}

.editor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}

.editor-card:hover {
  box-shadow: var(--shadow);
}

.card-toolbar {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.card-toolbar h3 {
  margin: 0;
}

.nested-list {
  display: grid;
  gap: 1rem;
}

.inline-editor {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.inline-editor.compact {
  align-items: center;
}

.current-hint {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: -0.75rem;
}

.artifact,
.result-block {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.artifact-list {
  display: grid;
  gap: 1rem;
}

.provider-list {
  display: grid;
  gap: 0.75rem;
}

.repo-search-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 1rem 0 1.25rem;
  padding: 1rem;
}

.repo-result-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.repo-result {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1rem;
}

[data-theme="dark"] .repo-result {
  background: var(--panel);
}

.repo-result h3,
.repo-result p {
  margin: 0;
}

.provider-row {
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1rem;
}

.provider-row h3 {
  margin-bottom: 0.25rem;
}

.provider-row p {
  margin: 0;
}

.provider-action {
  display: flex;
  justify-content: flex-end;
}

.callback-line {
  margin-top: 0.5rem !important;
}

code {
  background: #eef2ff;
  border: 1px solid #dbe4ff;
  border-radius: 0.25rem;
  color: var(--accent-dark);
  font-size: 0.85em;
  padding: 0.1rem 0.25rem;
}

[data-theme="dark"] code {
  background: var(--accent-light);
  border-color: var(--line);
  color: var(--ink);
}

.artifact {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 5rem 1fr auto;
}

.artifact span {
  background: var(--bg);
  border-radius: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  text-align: center;
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.keyword-row span {
  background: var(--accent-light);
  border-radius: 9999px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
}

.score {
  background: #ecfdf5;
  border-radius: 0.25rem;
  color: #065f46;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 0.5rem;
  padding: 0.125rem 0.375rem;
  text-transform: uppercase;
}

[data-theme="dark"] .score {
  background: rgba(52, 211, 153, 0.14);
  color: var(--success);
}

.muted-score {
  background: #f1f5f9;
  color: var(--muted);
}

[data-theme="dark"] .muted-score {
  background: var(--panel-2);
}

.muted {
  color: var(--muted);
}

.preview-card {
  border-top: 4px solid var(--accent);
}

.preview-card h2 {
  color: var(--accent);
  margin-top: 0.5rem;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s;
}

.price-card:hover {
  transform: translateY(-2px);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  position: relative;
}

.price-card.featured::after {
  background: var(--accent);
  border-radius: 0 0 0.5rem 0.5rem;
  color: #fff;
  content: "Best Value";
  font-size: 0.65rem;
  font-weight: 800;
  left: 50%;
  padding: 0.25rem 0.75rem;
  position: absolute;
  text-transform: uppercase;
  top: 0;
  transform: translateX(-50%);
}

.price-card strong {
  color: var(--ink);
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  margin: 1rem 0;
}

table {
  border-collapse: collapse;
  font-size: 0.875rem;
  width: 100%;
}

td,
th {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
}

th {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 820px) {
  .dashboard-grid,
  .two-column,
  .summary-grid,
  .field-grid,
  .field-grid.three,
  .pricing-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    padding: 2rem 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .action-card {
    flex-direction: column;
    text-align: center;
  }

  .activity-item {
    flex-direction: column;
    text-align: center;
  }

  .progress-item {
    flex-direction: column;
    text-align: center;
  }

  .resume-actions,
  .match-actions {
    flex-direction: column;
  }

  .match-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .preset-options {
    grid-template-columns: 1fr;
  }

  .breadcrumb-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .breadcrumb-arrow {
    transform: rotate(90deg);
  }

  .profile-header-content {
    flex-direction: column;
    text-align: center;
  }

  .tab-nav {
    flex-direction: column;
  }

  .tab-button {
    text-align: left;
  }

  .section-header {
    flex-direction: column;
    gap: 1rem;
  }

  .section-actions {
    width: 100%;
  }

  .save-actions {
    flex-direction: column;
  }

  .empty-actions {
    flex-direction: column;
  }

  .analysis-progress {
    flex-direction: column;
    gap: 0.5rem;
  }

  .progress-arrow {
    transform: rotate(90deg);
  }

  .search-input-group {
    flex-direction: column;
  }

  .search-filters {
    flex-direction: column;
  }

  .repo-result.enhanced {
    grid-template-columns: 1fr;
  }

  .repo-actions {
    flex-direction: row;
  }

  .app-header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
  }


  .account-actions {
    justify-content: center;
    width: 100%;
  }

  .artifact {
    grid-template-columns: 1fr;
  }

  .provider-row {
    grid-template-columns: 1fr;
  }

  .provider-action {
    justify-content: flex-start;
  }

  .modal-content {
    margin: 1rem;
    width: calc(100% - 2rem);
  }

  .modal-content.large {
    margin: 0.5rem;
    width: calc(100% - 1rem);
  }

  .skill-tags {
    flex-direction: column;
  }

  .skill-tag {
    width: 100%;
  }

  .skill-tag input {
    flex: 1;
    min-width: 0;
  }
}

/* Enhanced Skills Tag Cloud */
.skill-tags.cloud-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
  align-items: flex-start;
}

.skill-tag.enhanced {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 120px;
  flex: 0 0 auto;
  position: relative;
  cursor: grab;
}

.skill-tag.enhanced:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  cursor: grab;
  padding-right: 4rem;
}

.skill-tag.enhanced.dragging {
  opacity: 0.6;
  transform: rotate(5deg);
  cursor: grabbing;
  z-index: 1000;
}

.skill-tag.enhanced.drag-over {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(var(--accent-rgb), 0.3);
}

.skill-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  position: relative;
}

.skill-input-group input[type="text"] {
  background: transparent;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0;
  flex: 1;
  min-width: 80px;
  transition: all 0.2s;
}

.skill-input-group input[type="text"]:focus {
  outline: none;
  background: var(--panel);
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
}

/* Skill Tag Text */
.skill-tag-text {
  font-weight: 500;
  color: var(--text);
  padding-right: 0.5rem;
  user-select: none;
}

/* Drag and Drop */
.skill-category.drag-zone {
  min-height: 120px;
  border: 2px dashed transparent;
  transition: all 0.3s;
  position: relative;
}

.skill-category.drag-zone.drag-over {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
}

.skill-category.drag-zone.drag-over::before {
  content: "Drop skill here";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  pointer-events: none;
}

.skill-category.drag-zone.empty::before {
  content: "Drag skills here or add manually";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 400;
  pointer-events: none;
}

/* Uncategorized Skills Area */
.uncategorized-skills {
  background: var(--panel-2);
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 2rem;
  transition: all 0.3s;
}

.uncategorized-skills.drag-over {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
}

.uncategorized-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.uncategorized-header .icon {
  color: var(--text-muted);
  font-size: 1.25rem;
}

.uncategorized-header h3 {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.uncategorized-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-height: 60px;
}

.uncategorized-tags.empty::before {
  content: "Drag uncategorized skills here";
  color: var(--text-muted);
  font-size: 0.875rem;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
}

/* Confirmation Popup */
.confirm-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.confirm-popup.show {
  opacity: 1;
  visibility: visible;
}

.confirm-popup-content {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s;
}

.confirm-popup.show .confirm-popup-content {
  transform: scale(1) translateY(0);
}

.confirm-popup h3 {
  color: var(--text);
  font-size: 1.125rem;
  margin: 0 0 0.75rem 0;
}

.confirm-popup p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

.confirm-popup-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.confirm-popup .button {
  min-width: 80px;
}

/* Repo search actions */
.repo-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.repo-suggestion.not-connected {
  border: 1px dashed var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
}

/* Repository Header Styles */
.repo-header {
  flex: 1;
  display: flex;
  align-items: center;
}

.repo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.2s;
  min-height: 2.5rem;
}

.repo-link:hover {
  background: var(--panel-3);
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.repo-link.placeholder {
  background: var(--panel);
  border-style: dashed;
  color: var(--text-muted);
  cursor: default;
}

.repo-link.placeholder:hover {
  background: var(--panel);
  border-color: var(--line);
  color: var(--text-muted);
}

.repo-link .fab.fa-github {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.repo-link:hover .fab.fa-github {
  color: var(--accent);
}

.repo-name {
  font-family: 'JetBrains Mono', 'Fira Code', 'Monaco', monospace;
  font-size: 0.875rem;
  flex: 1;
}

.repo-link .fa-external-link-alt {
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.repo-link:hover .fa-external-link-alt {
  opacity: 1;
}

.repo-edit-btn {
  background: none;
  border: none;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.repo-edit-btn:hover {
  background: var(--panel-3);
  color: var(--accent);
}

.repo-edit-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 0.75rem;
}

.edit-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  justify-content: flex-end;
}

/* Project card toolbar adjustments */
.enhanced-project-card .card-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
/* Hover Actions Container */
.skill-hover-actions {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 0.375rem 0.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.skill-tag.enhanced:hover .skill-hover-actions {
  transform: translateY(-50%) translateX(8px);
  opacity: 1;
  visibility: visible;
}

.skill-hover-action {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  width: 28px;
  height: 28px;
}

.skill-hover-action:hover {
  transform: scale(1.1);
}

.skill-hover-action.always-show {
  color: var(--accent);
}

.skill-hover-action.always-show.active {
  color: #f59e0b;
}

.skill-hover-action.delete {
  color: var(--danger);
}

.skill-hover-action.delete:hover {
  color: var(--danger);
}

/* Hidden always show toggle (kept for form submission) */
.always-show-toggle {
  display: none;
}

.always-show-toggle input[type="checkbox"] {
  display: none;
}

.toggle-indicator {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  color: var(--muted);
  display: flex;
  height: 1.25rem;
  justify-content: center;
  transition: all 0.2s;
  width: 1.25rem;
}

.always-show-toggle input:checked + .toggle-indicator {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.toggle-label {
  color: var(--ink-2);
  user-select: none;
}

.always-show-toggle:hover .toggle-indicator {
  border-color: var(--accent);
}

.always-show-toggle:hover .toggle-label {
  color: var(--ink);
}

/* Enhanced Experience Highlights */
.inline-editor.enhanced {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1rem;
  transition: all 0.2s;
}

.inline-editor.enhanced:hover {
  border-color: var(--accent-subtle);
  box-shadow: var(--shadow-sm);
}

.highlight-input-group {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.highlight-input-group textarea {
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 3rem;
  padding: 0.75rem;
  resize: vertical;
  transition: all 0.2s;
}

.highlight-input-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-light);
}

/* Profile Defaults Section */
.field-grid.four {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.field-help {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.defaults-note {
  background: var(--accent-light);
  border-radius: 0.5rem;
  margin-top: 1.5rem;
  padding: 1rem;
}

.defaults-note .muted {
  color: var(--ink-2);
  font-size: 0.875rem;
  margin: 0;
}

/* GitHub Repository Search Enhancements */
.repo-search-enhanced {
  position: relative;
}

.repo-search-input {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: all 0.2s;
  width: 100%;
}

.repo-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-light);
  outline: none;
}

.repo-suggestions {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  max-height: 300px;
  overflow-y: auto;
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 10;
}

.repo-suggestion {
  align-items: center;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  transition: all 0.2s;
}

.repo-suggestion:hover {
  background: var(--accent-light);
}

.repo-suggestion:last-child {
  border-bottom: none;
}

.repo-icon {
  color: var(--muted);
  font-size: 1rem;
}

.repo-info {
  flex: 1;
  min-width: 0;
}

.repo-name {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 0.25rem 0;
}

.repo-description {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.repo-meta {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.repo-language {
  background: var(--accent-subtle);
  border-radius: 0.25rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.125rem 0.375rem;
}

@media (max-width: 768px) {
  .skill-tags.cloud-layout {
    flex-direction: column;
  }
  
  .skill-tag.enhanced {
    min-width: 100%;
  }
  
  .highlight-input-group {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .field-grid.four {
    grid-template-columns: 1fr;
  }
}

/* Project Repository Status and Editing */
.repo-edit-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.25rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 0.5rem;
}

.repo-edit-btn:hover {
  background: var(--surface-3);
  color: var(--text);
}

.repo-edit-form {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

.repo-edit-form .field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.edit-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.project-status .status-indicator.incomplete {
  background: var(--warning);
  border-color: var(--warning);
}

.project-status .status-indicator.ready {
  background: var(--success);
  border-color: var(--success);
}

/* Repository Assessment Cards */
.repo-assessment-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  transition: all 0.2s ease;
}

.repo-assessment-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--shadow);
}

.repo-assessment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.repo-assessment-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.repo-assessment-title h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-1);
  margin: 0;
}

.repo-assessment-title .repo-link {
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s ease;
}

.repo-assessment-title .repo-link:hover {
  color: var(--accent);
}

.repo-readiness-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.repo-readiness-badge.excellent {
  background: var(--success-subtle);
  color: var(--success);
}

.repo-readiness-badge.good {
  background: var(--accent-subtle);
  color: var(--accent);
}

.repo-readiness-badge.fair {
  background: var(--warning-subtle);
  color: var(--warning);
}

.repo-readiness-badge.poor {
  background: var(--danger-subtle);
  color: var(--danger);
}

.repo-assessment-score {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.repo-score-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
}

.repo-score-circle.excellent {
  background: var(--success);
}

.repo-score-circle.good {
  background: var(--accent);
}

.repo-score-circle.fair {
  background: var(--warning);
}

.repo-score-circle.poor {
  background: var(--danger);
}

.repo-assessment-summary {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-2);
  margin-bottom: 1rem;
}

.repo-assessment-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.repo-assessment-section {
  background: var(--surface-1);
  border-radius: 8px;
  padding: 1rem;
}

.repo-assessment-section h5 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-3);
  margin: 0 0 0.5rem 0;
}

.repo-strengths {
  border-left: 3px solid var(--success);
}

.repo-weaknesses {
  border-left: 3px solid var(--danger);
}

.repo-assessment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.repo-assessment-list li {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 0.25rem;
  padding-left: 1rem;
  position: relative;
}

.repo-assessment-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-3);
}

.repo-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.repo-tech-tag {
  background: var(--surface-3);
  color: var(--text-2);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.repo-assessment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.repo-assessment-meta {
  font-size: 0.75rem;
  color: var(--text-3);
}

.repo-analyze-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.repo-analyze-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.repo-analyze-btn:disabled {
  background: var(--text-4);
  cursor: not-allowed;
  transform: none;
}
