:root {
  --primary: #4338ca;
  --primary-hover: #3730a3;
  --primary-light: #eef2ff;
  --primary-text: #a5b4fc;
  --secondary: #e5322d;
  --accent: #10b981;
  --bg: #0b0f19;
  --surface: #111827;
  --surface-2: #1f2937;
  --border: #374151;
  --text: #f9fafb;
  --text-muted: #a3aab8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-arcade: 'Orbitron', sans-serif;
  --sidebar-w: 290px;
}

[data-theme="light"] {
  --primary: #4338ca;
  --primary-hover: #3730a3;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #475569;
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Top Bar */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #4f46e5, #e5322d);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-title span {
  color: #818cf8;
}

.brand-badge {
  background: rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.3);
  color: #818cf8;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* Master 2-Column App Layout */
.app-viewport {
  display: flex;
  flex: 1;
  width: 100%;
  min-height: calc(100vh - 66px);
}

/* LEFT SIDEBAR NAVIGATION */
.sidebar-col {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 66px;
  height: calc(100vh - 66px);
  overflow-y: auto;
  padding: 16px 12px 24px;
  scrollbar-width: thin;
}

.sidebar-heading {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 14px 6px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 0.15s ease;
}

.nav-item-btn i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.nav-item-btn .nav-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-item-btn.active {
  background: rgba(79, 70, 229, 0.15);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.3);
  font-weight: 700;
}

.badge-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 12px;
  background: #991b1b;
  color: #ffffff;
}

.badge-ats {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 12px;
  background: #1e40af;
  color: #ffffff;
}

/* Mobile Sidebar Toggle */
.mobile-sidebar-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .mobile-sidebar-toggle {
    display: block;
  }
  .sidebar-col {
    position: fixed;
    top: 66px;
    left: 0;
    z-index: 99;
    height: calc(100vh - 66px);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 10px 0 25px rgba(0,0,0,0.5);
  }
  .sidebar-col.open {
    transform: translateX(0);
  }
}

/* RIGHT MAIN WORKSPACE */
.main-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 28px 60px;
}

.workspace-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* Suite Panels */
.suite-panel {
  display: none;
  animation: fadeIn 0.2s ease-in-out;
}

.suite-panel.active {
  display: block;
}

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

/* Standard Typography & Hero */
.suite-hero {
  margin-bottom: 24px;
}

.suite-hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .suite-hero h1 {
  background: linear-gradient(135deg, #0f172a, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.suite-hero p {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 820px;
}

/* Cards & Controls */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Buttons */
.btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

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

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
  color: var(--text);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: #ef4444;
  color: white;
}

.btn-success {
  background: var(--accent);
}

.btn-success:hover {
  background: #059669;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

input[type="text"], input[type="number"], select, textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  outline: none;
  transition: border 0.15s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

textarea {
  min-height: 80px;
  resize: vertical;
}

/* PDF Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow);
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: #6366f1;
  box-shadow: 0 12px 30px -5px rgba(79, 70, 229, 0.25);
}

.tool-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.tool-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.tool-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ===================================================
   RESUME BUILDER (FULL ATS SPLIT INTERFACE)
   =================================================== */
.resume-app-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1100px) {
  .resume-app-layout {
    grid-template-columns: 1fr;
  }
}

.resume-editor-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.resume-preview-col {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.resume-toolbar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tmpl-selector {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.tmpl-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.tmpl-btn:hover {
  background: var(--surface);
  color: var(--text);
  border-color: #64748b;
}

.tmpl-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(67, 56, 202, 0.35);
}

/* Pro Styler Bar */
.resume-styler-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.resume-styler-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.resume-color-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
}

.resume-color-pill {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease;
}

.resume-color-pill:hover,
.resume-color-pill.active {
  transform: scale(1.25);
  border-color: #ffffff;
  box-shadow: 0 0 0 2px #6366f1;
}

.resume-color-input {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  padding: 0;
}

.resume-styler-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ATS Live Score Bar */
.ats-meter-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: white;
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid #334155;
}

.ats-meter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ats-score-badge {
  font-size: 1.2rem;
  font-weight: 900;
  color: #38bdf8;
}

.ats-track {
  background: #334155;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.ats-fill {
  background: linear-gradient(90deg, #38bdf8, #10b981);
  height: 100%;
  width: 85%;
  transition: width 0.3s ease;
}

/* A4 Live Sheet */
.resume-sheet-wrap {
  background: #cbd5e1;
  padding: 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  display: flex;
  justify-content: center;
}

.resume-sheet {
  --resume-accent: #2563eb;
  --resume-font: 'Plus Jakarta Sans', sans-serif;
  --resume-size: 14px;
  --resume-spacing: 14px;
  background: #ffffff;
  width: 100%;
  max-width: 800px;
  min-height: 1040px;
  padding: 44px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  color: #1e293b;
  font-family: var(--resume-font);
  font-size: var(--resume-size);
  position: relative;
  box-sizing: border-box;
  line-height: 1.5;
}

/* Section Spacing Density Modes */
.resume-sheet.density-compact {
  padding: 28px 32px;
  --resume-spacing: 9px;
  --resume-size: 13px;
}
.resume-sheet.density-compact .r-item {
  margin-bottom: 8px;
}
.resume-sheet.density-compact .r-section-title {
  margin: 10px 0 6px;
}

.resume-sheet.density-relaxed {
  padding: 50px;
  --resume-spacing: 18px;
  --resume-size: 15px;
}
.resume-sheet.density-relaxed .r-item {
  margin-bottom: 16px;
}

/* ==========================================================================
   8 Professional ATS Resume Templates
   ========================================================================== */

/* 1. Modern Indigo */
.tmpl-modern .r-header {
  border-bottom: 2.5px solid var(--resume-accent);
  padding-bottom: 16px;
  margin-bottom: 18px;
}
.tmpl-modern .r-name {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.tmpl-modern .r-role {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--resume-accent);
  margin-bottom: 8px;
}
.tmpl-modern .r-contacts {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.tmpl-modern .r-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--resume-accent);
  border-bottom: 1.5px solid #e2e8f0;
  padding-bottom: 4px;
  margin: var(--resume-spacing) 0 8px;
}

/* 2. Executive Serif */
.tmpl-minimalist {
  font-family: 'Merriweather', Georgia, serif;
}
.tmpl-minimalist .r-header {
  text-align: center;
  border-bottom: 1.5px solid #0f172a;
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.tmpl-minimalist .r-name {
  font-size: 1.95rem;
  font-weight: 700;
  color: #0f172a;
}
.tmpl-minimalist .r-role {
  font-size: 1.05rem;
  font-style: italic;
  color: #475569;
  margin-bottom: 6px;
}
.tmpl-minimalist .r-contacts {
  justify-content: center;
  font-size: 0.82rem;
  color: #475569;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tmpl-minimalist .r-section-title {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid #94a3b8;
  padding-bottom: 3px;
  margin: var(--resume-spacing) 0 8px;
  color: #0f172a;
}

/* 3. Tech Slate */
.tmpl-tech .r-header {
  background: #0f172a;
  color: white;
  padding: 24px;
  border-radius: 8px;
  margin: -24px -24px 18px -24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.tmpl-tech .r-name {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}
.tmpl-tech .r-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 6px;
}
.tmpl-tech .r-contacts {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tmpl-tech .r-section-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  padding: 4px 10px;
  border-left: 4px solid var(--resume-accent);
  margin: var(--resume-spacing) 0 8px;
  border-radius: 0 4px 4px 0;
}
.tmpl-tech .r-skill-tag {
  background: #0f172a;
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  border: 1px solid #334155;
}

/* 4. Creative Sidebar (Two-Column Layout) */
.tmpl-sidebar {
  padding: 0 !important;
  display: flex !important;
  min-height: 1040px;
}
.tmpl-sidebar .r-sidebar-col {
  width: 34%;
  background: #f8fafc;
  border-right: 1.5px solid #e2e8f0;
  padding: 32px 22px;
  box-sizing: border-box;
}
.tmpl-sidebar .r-main-col {
  width: 66%;
  padding: 32px 28px;
  box-sizing: border-box;
}
.tmpl-sidebar .r-header {
  margin-bottom: 20px;
  border-bottom: 2px solid var(--resume-accent);
  padding-bottom: 12px;
}
.tmpl-sidebar .r-name {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
}
.tmpl-sidebar .r-role {
  font-size: 1rem;
  font-weight: 700;
  color: var(--resume-accent);
}
.tmpl-sidebar .r-sidebar-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--resume-accent);
  border-bottom: 1.5px solid #cbd5e1;
  padding-bottom: 4px;
  margin: 18px 0 10px;
}
.tmpl-sidebar .r-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  border-bottom: 1.5px solid #e2e8f0;
  padding-bottom: 4px;
  margin: var(--resume-spacing) 0 8px;
}

/* 5. Nordic Minimalist */
.tmpl-nordic .r-header {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}
.tmpl-nordic .r-name {
  font-size: 2.1rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.03em;
}
.tmpl-nordic .r-role {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.tmpl-nordic .r-contacts {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  gap: 14px;
}
.tmpl-nordic .r-section-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 4px;
  margin: var(--resume-spacing) 0 8px;
}

/* 6. Corporate Emerald */
.tmpl-corporate .r-header {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid var(--resume-accent);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 18px;
}
.tmpl-corporate .r-name {
  font-size: 2rem;
  font-weight: 800;
  color: #064e3b;
}
.tmpl-corporate .r-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--resume-accent);
  margin-bottom: 6px;
}
.tmpl-corporate .r-contacts {
  font-size: 0.82rem;
  color: #374151;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tmpl-corporate .r-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #064e3b;
  border-bottom: 2px solid var(--resume-accent);
  padding-bottom: 4px;
  margin: var(--resume-spacing) 0 8px;
}

/* 7. Compact One-Page Pro */
.tmpl-compact {
  padding: 30px 36px !important;
}
.tmpl-compact .r-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.tmpl-compact .r-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
}
.tmpl-compact .r-role {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--resume-accent);
}
.tmpl-compact .r-contacts {
  font-size: 0.78rem;
  color: #475569;
  text-align: right;
  line-height: 1.4;
}
.tmpl-compact .r-section-title {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #0f172a;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 2px;
  margin: 10px 0 6px;
}
.tmpl-compact .r-item {
  margin-bottom: 8px;
}
.tmpl-compact .r-summary {
  margin-bottom: 8px;
}

/* 8. Chic Ruby / Creative */
.tmpl-chic .r-header {
  border-left: 5px solid var(--resume-accent);
  padding-left: 16px;
  margin-bottom: 18px;
}
.tmpl-chic .r-name {
  font-size: 2.1rem;
  font-weight: 800;
  color: #881337;
}
.tmpl-chic .r-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--resume-accent);
  margin-bottom: 6px;
}
.tmpl-chic .r-contacts {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tmpl-chic .r-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--resume-accent);
  border-bottom: 1.5px solid #fecdd3;
  padding-bottom: 4px;
  margin: var(--resume-spacing) 0 8px;
}

/* Core Resume Content Elements */
.r-summary {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 12px;
  white-space: pre-line;
}

.r-item {
  margin-bottom: 12px;
}
.r-item-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}
.r-item-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 4px;
}
.r-item-desc {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.5;
  white-space: pre-line;
}

.r-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.r-skill-tag {
  background: #f1f5f9;
  color: #334155;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.r-cert-item,
.r-project-item {
  margin-bottom: 10px;
}
.r-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 9px;
  border-radius: 14px;
  font-size: 0.78rem;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* ===================================================
   YOUTUBE SEO & CREATOR STYLING (PRO UPGRADE)
   =================================================== */
.yt-subtabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.yt-subtab-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.yt-subtab-btn:hover {
  color: var(--text);
  border-color: #ef4444;
}

.yt-subtab-btn.active {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
}

.yt-subpanel {
  display: none;
}
.yt-subpanel.active {
  display: block;
}

/* Thumbnail Suite */
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.thumb-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumb-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.thumb-res-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.thumb-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
  background: #0f172a;
}

.thumb-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.thumb-title {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text);
}

.thumb-dim {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.thumb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

/* Live SERP Mockup */
.yt-mockup-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  margin-top: 18px;
}
@media (max-width: 900px) {
  .yt-mockup-wrap {
    grid-template-columns: 1fr;
  }
}

.yt-serp-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.yt-preview-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 14px;
  color: #f8fafc;
  margin-top: 10px;
}

.yt-preview-row {
  display: flex;
  gap: 12px;
}

.yt-preview-thumb {
  width: 140px;
  aspect-ratio: 16/9;
  border-radius: 6px;
  object-fit: cover;
  background: #334155;
  flex-shrink: 0;
}

.yt-preview-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: #f1f5f9;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-preview-channel {
  font-size: 0.76rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.yt-preview-stats {
  font-size: 0.72rem;
  color: #64748b;
}

/* Title Heuristics & Scores */
.score-banner {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.score-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #10b981;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Viral Title Formulas Grid */
.yt-formulas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.yt-formula-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.yt-formula-card:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
  transform: translateY(-2px);
}

.yt-formula-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ef4444;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.yt-formula-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* Studio 500-Char Tag Meter */
.yt-meter-wrap {
  margin: 14px 0 10px;
}

.yt-meter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.yt-meter-track {
  width: 100%;
  height: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.yt-meter-fill {
  height: 100%;
  width: 0%;
  background: #10b981;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  min-height: 48px;
}

.tag-chip {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.tag-chip:hover {
  border-color: var(--text-muted);
}

.tag-chip .tag-del-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0 2px;
}
.tag-chip .tag-del-btn:hover {
  color: #ef4444;
}

/* Presets Ribbon for Descriptions */
.yt-preset-ribbon {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.yt-preset-pill {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yt-preset-pill:hover,
.yt-preset-pill.active {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
}

/* ===================================================
   AI DIRECTORY & JOBS BOARD
   =================================================== */
.search-filter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.ai-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.ai-card:hover {
  border-color: #818cf8;
  transform: translateY(-2px);
}

.ai-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ai-icon {
  font-size: 1.8rem;
}

.ai-meta h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.ai-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

/* Jobs Board Items */
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.job-card:hover {
  border-color: #06b6d4;
  transform: translateY(-2px);
}

.job-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.job-logo {
  font-size: 2rem;
}

.job-title-row h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.job-meta-row {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.job-salary-tag {
  color: #10b981;
  font-weight: 800;
  font-size: 1rem;
}

/* ===================================================
   MODAL & POPUPS
   =================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 580px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  background: var(--surface-2);
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.dropzone:hover {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.08);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  border: 1px solid #334155;
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Ad Unit Containers */
.ad-slot {
  margin: 14px 0;
  text-align: center;
  width: 100%;
  clear: both;
}

.ad-placeholder {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

[data-theme="light"] .ad-placeholder {
  border-color: rgba(0, 0, 0, 0.08);
}

.ad-placeholder ins.adsbygoogle {
  min-height: 0;
}

/* ===================================================
   PRINT RULES FOR RESUME
   =================================================== */
@media print {
  body {
    background: white !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  header, .sidebar-col, .resume-editor-col, .resume-toolbar, .ad-slot, .toast, footer, .mobile-sidebar-toggle {
    display: none !important;
  }
  .app-viewport, .main-viewport, .workspace-container, .suite-panel, .resume-app-layout, .resume-preview-col, .resume-sheet-wrap {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: white !important;
    max-width: 100% !important;
    border: none !important;
    box-shadow: none !important;
  }
  .resume-sheet {
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    padding: 0 !important;
  }
}

/* ===================================================
   GDPR COOKIE & PRIVACY CONSENT BANNER
   =================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 860px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  border-radius: var(--radius);
  padding: 16px 20px;
  z-index: 99999;
  backdrop-filter: blur(12px);
  animation: slideUpConsent 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpConsent {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* PDF Editor Extension Styles */
.modal-container.modal-lg {
  max-width: 880px;
}

/* ==========================================================================
   PDFescape-Grade Interactive Full-Studio PDF Editor
   ========================================================================== */

#pdfStudioModal {
  z-index: 100000;
  backdrop-filter: blur(8px);
}

.pdf-studio-container {
  width: 96vw;
  height: 94vh;
  max-width: 1560px;
  max-height: 96vh;
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #334155;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.75);
}

.pdf-studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  flex-wrap: wrap;
  gap: 12px;
}

.pdf-studio-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdf-studio-badge {
  background: #4338ca;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pdf-studio-docname {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdf-studio-pageinfo {
  background: #334155;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.pdf-studio-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pdf-studio-zoom-group,
.pdf-studio-history-group {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #0f172a;
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid #334155;
}

.studio-btn-icon {
  background: transparent;
  border: none;
  color: #cbd5e1;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.studio-btn-icon:hover {
  background: #334155;
  color: #ffffff;
}

.studio-btn-close {
  background: #334155;
  border: none;
  color: #cbd5e1;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.studio-btn-close:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Studio Ribbon Toolbar */
.pdf-studio-ribbon {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  display: flex;
  flex-direction: column;
}

.pdf-studio-tools-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-bottom: 1px solid #283548;
  overflow-x: auto;
}

.studio-tool-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.studio-tool-btn:hover {
  background: #334155;
  color: #ffffff;
}

.studio-tool-btn.active {
  background: #4338ca;
  color: #ffffff;
  border-color: #6366f1;
}

.studio-tool-btn.danger:hover {
  background: #ef4444;
  color: #ffffff;
}

.pdf-studio-props-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 16px;
  background: #172133;
  overflow-x: auto;
}

.studio-prop-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.studio-select {
  background: #0f172a;
  border: 1px solid #334155;
  color: #f1f5f9;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
}

.studio-btn-toggle {
  background: #0f172a;
  border: 1px solid #334155;
  color: #cbd5e1;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.studio-btn-toggle.active {
  background: #4338ca;
  color: #ffffff;
  border-color: #6366f1;
}

.studio-color-swatches {
  display: flex;
  align-items: center;
  gap: 5px;
}

.studio-color-pill {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.15s ease;
}

.studio-color-pill:hover,
.studio-color-pill.active {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px #6366f1;
}

.studio-color-input {
  width: 26px;
  height: 26px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  padding: 0;
}

/* Studio Body Layout */
.pdf-studio-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Left Sidebar Thumbnails */
.pdf-studio-sidebar {
  width: 170px;
  background: #162032;
  border-right: 1px solid #334155;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.pdf-studio-sidebar-header {
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #283548;
}

.pdf-thumbnail-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdf-thumb-card {
  background: #1e293b;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.pdf-thumb-card:hover {
  background: #25334a;
  border-color: #475569;
}

.pdf-thumb-card.active {
  border-color: #6366f1;
  background: #25334a;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.35);
}

.pdf-thumb-canvas-box {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 110px;
}

.pdf-thumb-canvas-box canvas {
  width: 100% !important;
  height: auto !important;
  display: block;
}

.pdf-thumb-page-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 5px;
}

/* Main Viewport & Canvas Stack */
.pdf-studio-viewport {
  flex: 1;
  background: #090e17;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 30px;
  position: relative;
}

.pdf-studio-empty-dropzone {
  margin: auto;
  padding: 50px 30px;
  border: 2px dashed #475569;
  border-radius: 12px;
  background: #131c2e;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: 540px;
}

.pdf-studio-empty-dropzone:hover {
  border-color: #6366f1;
  background: #19253c;
}

.pdf-page-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-width: 100%;
}

.pdf-canvas-stack {
  position: relative;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65);
  display: inline-block;
  user-select: none;
}

#pdfStudioBaseCanvas,
#pdfEditBaseCanvas {
  display: block;
}

#pdfStudioOverlayCanvas,
#pdfEditOverlayCanvas {
  position: absolute;
  top: 0;
  left: 0;
  cursor: crosshair;
}

.pdf-annotations-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Interactive DOM Text Box */
.pdf-studio-textbox {
  position: absolute;
  pointer-events: auto;
  min-width: 100px;
  min-height: 32px;
  border: 1px dashed transparent;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  cursor: move;
  border-radius: 4px;
}

.pdf-studio-textbox:hover {
  border-color: #818cf8;
}

.pdf-studio-textbox.selected {
  border: 1.5px solid #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.04);
}

.pdf-studio-textbox-content {
  outline: none;
  cursor: text;
  word-break: break-word;
  white-space: pre-wrap;
  min-height: 20px;
  line-height: 1.35;
}

.pdf-studio-textbox-del {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 18px;
  height: 18px;
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.pdf-studio-textbox.selected .pdf-studio-textbox-del,
.pdf-studio-textbox:hover .pdf-studio-textbox-del {
  display: flex;
}

/* Interactive Image Container */
.pdf-studio-imgbox {
  position: absolute;
  pointer-events: auto;
  border: 1.5px dashed #6366f1;
  cursor: move;
  user-select: none;
  background: transparent;
}

.pdf-studio-imgbox img {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.pdf-studio-imgbox-del {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Studio Status Bar */
.pdf-studio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  background: #1e293b;
  border-top: 1px solid #334155;
}

/* ===================================================
   PRO AI PROMPT ENGINEERING STUDIO STYLING
   =================================================== */
.prompt-subtabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.prompt-subtab-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.prompt-subtab-btn:hover {
  color: var(--text);
  border-color: #8b5cf6;
}

.prompt-subtab-btn.active {
  background: #8b5cf6;
  border-color: #8b5cf6;
  color: white;
}

.prompt-subpanel {
  display: none;
}
.prompt-subpanel.active {
  display: block;
}

/* Prompt Quality Meter */
.prompt-meter-wrap {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 12px;
}

.prompt-meter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.prompt-meter-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.prompt-meter-fill {
  height: 100%;
  width: 0%;
  background: #10b981;
  transition: width 0.3s ease, background 0.3s ease;
}

/* Prompt Template Grid */
.prompt-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.prompt-template-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.prompt-template-card:hover {
  border-color: #8b5cf6;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.prompt-template-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.prompt-template-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
}

.prompt-template-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.prompt-pill-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

/* Visual Parameters Row */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.fewshot-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-top: 8px;
}

/* ===================================================
   1. JOB DESCRIPTION KEYWORD MATCHER (RESUME SUITE)
   =================================================== */
.jd-matcher-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 14px;
}
.jd-score-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 3px solid #10b981;
  flex-shrink: 0;
}
.jd-tag-match {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 600;
}
.jd-tag-missing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 14px;
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.3);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.jd-tag-missing:hover {
  background: #f43f5e;
  color: white;
}

/* ===================================================
   2. YOUTUBE THUMBNAIL A/B SPLIT-TEST SIMULATOR
   =================================================== */
.yt-ab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.yt-ab-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.yt-ab-card.winner {
  border-color: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}
.yt-ab-preview-container {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #0f0f0f;
  margin-bottom: 12px;
  aspect-ratio: 16 / 9;
}
.yt-ab-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yt-ab-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.yt-ab-meta {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.yt-ab-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3b82f6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.yt-ab-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-ab-channel {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===================================================
   3. SIDE-BY-SIDE TEXT & DOCUMENT DIFF CHECKER
   =================================================== */
.diff-input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.diff-view-box {
  background: #090d16;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  overflow-x: auto;
  max-height: 480px;
}
.diff-row {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.diff-row:last-child {
  border-bottom: none;
}
.diff-num {
  width: 44px;
  padding: 4px 8px;
  text-align: right;
  color: #64748b;
  user-select: none;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}
.diff-sign {
  width: 24px;
  padding: 4px 6px;
  text-align: center;
  font-weight: 700;
  user-select: none;
  flex-shrink: 0;
}
.diff-content {
  flex: 1;
  padding: 4px 10px;
  white-space: pre-wrap;
  word-break: break-all;
}
.diff-row.added {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
}
.diff-row.added .diff-sign {
  color: #10b981;
}
.diff-row.removed {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
}
.diff-row.removed .diff-sign {
  color: #f43f5e;
}
.diff-row.unchanged {
  color: #cbd5e1;
}
.diff-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}




/* ==========================================
   4 NEW AI PRO TOOLS STYLES
   ========================================== */

/* 1. AI Humanizer Styles */
.cliche-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* 2. Viral Hooks & Social Scripts */
.hook-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: transform 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.hook-card:hover {
  transform: translateY(-2px);
  border-color: #f97316;
}
.hook-card.active {
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.05);
}
.hook-score-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}
.thread-step-card {
  background: var(--surface-2);
  border-left: 3px solid #3b82f6;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* 3. AI Background Remover */
.bg-checkerboard {
  background-color: #1a1a24;
  background-image: 
    linear-gradient(45deg, #262636 25%, transparent 25%), 
    linear-gradient(-45deg, #262636 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #262636 75%), 
    linear-gradient(-45deg, transparent 75%, #262636 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}
[data-theme="light"] .bg-checkerboard {
  background-color: #f0f0f5;
  background-image: 
    linear-gradient(45deg, #e4e4ed 25%, transparent 25%), 
    linear-gradient(-45deg, #e4e4ed 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #e4e4ed 75%), 
    linear-gradient(-45deg, transparent 75%, #e4e4ed 75%);
}

/* 4. AI Regex & SQL Studio */
.regex-match-hl {
  background-color: rgba(16, 185, 129, 0.35);
  color: #10b981;
  font-weight: 700;
  border-radius: 3px;
  padding: 1px 3px;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.4);
}
.regex-token-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: var(--surface-2);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.regex-token-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #10b981;
}
.regex-token-desc {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ==========================================
   ENTERPRISE PRO AI SUITES UPGRADE STYLES
   ========================================== */

/* 1. AI HUMANIZER PRO STYLES */
.ai-radar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.radar-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.radar-card:hover {
  transform: translateY(-2px);
  border-color: #06b6d4;
}
.radar-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.radar-score-num {
  font-size: 1.25rem;
  font-weight: 900;
}
.radar-badge-human {
  font-size: 0.68rem;
  font-weight: 700;
  color: #10b981;
}
.metric-delta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 2px 0;
}
.metric-delta-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.metric-delta-improved {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.metric-delta-neutral {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.metric-delta-degraded {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.metric-before-comp {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.heatmap-view-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  min-height: 220px;
  line-height: 1.8;
  font-size: 0.92rem;
}
.hm-sent {
  padding: 2px 4px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
  margin: 0 1px;
}
.hm-sent:hover {
  outline: 2px solid #3b82f6;
}
.hm-sent.hm-green {
  background: rgba(16, 185, 129, 0.15);
  border-bottom: 2px solid #10b981;
}
.hm-sent.hm-yellow {
  background: rgba(245, 158, 11, 0.15);
  border-bottom: 2px solid #f59e0b;
}
.hm-sent.hm-red {
  background: rgba(239, 68, 68, 0.18);
  border-bottom: 2px solid #ef4444;
}

.synonym-word {
  color: #06b6d4;
  font-weight: 700;
  text-decoration: underline dotted;
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.synonym-popover {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  border-radius: 8px;
  padding: 8px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}
.synonym-item {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  cursor: pointer;
  background: var(--surface-2);
  transition: background 0.1s ease;
}
.synonym-item:hover {
  background: var(--primary);
  color: #fff;
}

/* 2. VIRAL HOOKS & SOCIAL SCRIPTS PRO */
.social-platform-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: var(--surface);
  margin-bottom: 12px;
}
.cliffhanger-line {
  border-bottom: 1px dashed #f59e0b;
  margin: 10px 0;
  position: relative;
  text-align: right;
}
.cliffhanger-line span {
  background: #f59e0b;
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  position: absolute;
  right: 0;
  top: -8px;
}
.thread-card-pro {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  position: relative;
  transition: all 0.2s ease;
}
.thread-card-pro:hover {
  border-color: #3b82f6;
}
.thread-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.thread-card-actions {
  display: flex;
  gap: 4px;
}
.thread-num-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
}

/* 3. AI BACKGROUND REMOVER PRO */
.bg-toolbar-group {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: var(--surface-2);
  border-radius: 8px;
  margin-bottom: 14px;
}
.bg-tool-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.bg-tool-btn:hover {
  border-color: #ec4899;
}
.bg-tool-btn.active {
  background: #ec4899;
  color: #fff;
  border-color: #ec4899;
}

.preset-aspect-btn {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.preset-aspect-btn.active {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

/* 4. AI REGEX & SQL STUDIO PRO */
.regex-group-1 {
  background: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  border-radius: 3px;
  padding: 1px 3px;
}
.regex-group-2 {
  background: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  border-radius: 3px;
  padding: 1px 3px;
}
.regex-group-3 {
  background: rgba(16, 185, 129, 0.3);
  color: #34d399;
  border-radius: 3px;
  padding: 1px 3px;
}

.token-chip-btn {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.12s ease;
}
.token-chip-btn:hover {
  border-color: #10b981;
  color: #10b981;
}

.inspector-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin-top: 8px;
}
.inspector-table th {
  text-align: left;
  padding: 6px 8px;
  background: var(--surface-2);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.inspector-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
}

.dba-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
}
.dba-pill.pass {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.dba-pill.warn {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.metric-expl {
  font-size: 0.64rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 4px;
}
.responsible-use-alert {
  transition: border-color 0.2s ease;
}

/* PHASE 3 TOP-LEVEL UX STYLES */
.sentence-review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}
.sentence-review-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease;
}
.sentence-review-card:hover {
  border-color: #06b6d4;
}
.sentence-review-card.rejected {
  opacity: 0.6;
  border-left: 4px solid var(--text-muted);
}
.sentence-review-card.accepted {
  border-left: 4px solid #10b981;
}
.sent-cols-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .sent-cols-grid {
    grid-template-columns: 1fr;
  }
}
.sent-pane {
  font-size: 0.84rem;
  line-height: 1.55;
}
.sent-pane-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.why-badge {
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(6,182,212,0.15);
  color: #06b6d4;
  font-weight: 700;
}
.sent-actions-bar {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}
.diff-view-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  min-height: 220px;
  max-height: 460px;
  overflow-y: auto;
  line-height: 1.8;
  font-size: 0.88rem;
}
.diff-del {
  background: rgba(239, 68, 68, 0.22);
  color: #ef4444;
  text-decoration: line-through;
  padding: 1px 4px;
  border-radius: 3px;
  margin: 0 1px;
}
.diff-ins {
  background: rgba(16, 185, 129, 0.22);
  color: #10b981;
  text-decoration: none;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 3px;
  margin: 0 1px;
}
.hm-cliche {
  background: rgba(239, 68, 68, 0.22);
  border-bottom: 2px solid #ef4444;
  padding: 1px 3px;
  border-radius: 3px;
  cursor: help;
}
.hm-repeat {
  background: rgba(249, 115, 22, 0.22);
  border-bottom: 2px solid #f97316;
  padding: 1px 3px;
  border-radius: 3px;
  cursor: help;
}
.hm-long {
  background: rgba(234, 179, 8, 0.2);
  border-bottom: 2px solid #eab308;
  padding: 1px 3px;
  border-radius: 3px;
  cursor: help;
}
.hm-passive {
  background: rgba(168, 85, 247, 0.2);
  border-bottom: 2px solid #a855f7;
  padding: 1px 3px;
  border-radius: 3px;
  cursor: help;
}
.hum-progress-banner {
  background: rgba(6,182,212,0.12);
  border: 1px solid #06b6d4;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: #06b6d4;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
