/* ========================================
   UserFlow UX Generator — Design System
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Light theme (default) */
  --bg-primary: #F8F9FC;
  --bg-secondary: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-input: #F1F3F8;
  --bg-input-focus: #FFFFFF;
  --border-color: rgba(15, 23, 42, 0.12);
  --border-focus: #7C3AED;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent: #7C3AED;
  --accent-hover: #6D28D9;
  --accent-soft: rgba(124, 58, 237, 0.08);
  --accent-glow: rgba(124, 58, 237, 0.25);
  --success: #10B981;
  --warning: #F59E0B;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 24px rgba(124, 58, 237, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-bg: rgba(255, 255, 255, 0.75);
  --export-bg: rgba(255, 255, 255, 0.9);
  --tag-bg: rgba(124, 58, 237, 0.08);
  --tag-color: #7C3AED;
  --step-connector: #CBD5E1;
  --editable-border: rgba(124, 58, 237, 0.3);
  --mermaid-bg: #FFFFFF;
}

[data-theme="dark"] {
  --bg-primary: #0F0F1A;
  --bg-secondary: #1A1A2E;
  --bg-card: rgba(30, 30, 50, 0.75);
  --bg-card-hover: rgba(35, 35, 58, 0.85);
  --bg-input: #1E1E32;
  --bg-input-focus: #25253E;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #7C3AED;
  --text-primary: #EAEAF0;
  --text-secondary: #A0A0B8;
  --text-muted: #6B6B80;
  --accent: #8B5CF6;
  --accent-hover: #7C3AED;
  --accent-soft: rgba(139, 92, 246, 0.12);
  --accent-glow: rgba(139, 92, 246, 0.3);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 24px rgba(139, 92, 246, 0.2);
  --header-bg: rgba(15, 15, 26, 0.85);
  --export-bg: rgba(26, 26, 46, 0.95);
  --tag-bg: rgba(139, 92, 246, 0.15);
  --tag-color: #A78BFA;
  --step-connector: #3F3F5C;
  --editable-border: rgba(139, 92, 246, 0.4);
  --mermaid-bg: #1E1E32;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), border-color var(--transition);
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
  transition: color var(--transition);
}

.header-logo svg {
  width: 28px;
  height: 28px;
}

.header-logo span {
  background: linear-gradient(135deg, var(--accent), #4338ca);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}

.header-link:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* --- Main Layout --- */
.main {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* --- Hero / Intro --- */
.hero {
  text-align: center;
  margin-bottom: 48px;
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Form Card --- */
.form-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  margin-bottom: 48px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 36px 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.form-group select:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: var(--bg-input-focus);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

option {
  background-color: var(--bg-input);
  color: var(--text-primary);
}

.btn-generate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent), #4338ca);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-md), 0 0 0 0 var(--accent-glow);
}

.btn-generate:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-generate:active {
  transform: translateY(0);
}

.btn-generate svg {
  width: 18px;
  height: 18px;
}

/* --- Results Section --- */
.results {
  display: none;
  animation: fadeSlideUp 0.6s ease both;
}

.results.visible {
  display: block;
}

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

/* --- Result Block --- */
.result-block {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  animation: fadeSlideUp 0.5s ease both;
}

.result-block:nth-child(2) { animation-delay: 0.1s; }
.result-block:nth-child(3) { animation-delay: 0.2s; }
.result-block:nth-child(4) { animation-delay: 0.3s; }
.result-block:nth-child(5) { animation-delay: 0.4s; }

.result-block:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.15);
}

.result-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.result-block-header .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
}

.result-block-header .icon svg {
  width: 16px;
  height: 16px;
}

.result-block-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.edit-hint {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.7;
}

/* --- Section Export Button (per-section PNG) --- */
.section-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-left: 8px;
  white-space: nowrap;
}

.section-export-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.section-export-btn svg {
  width: 14px;
  height: 14px;
}

/* --- Editable Content --- */
.editable {
  outline: none;
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  margin: -4px -8px;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  min-height: 24px;
}

.editable:hover {
  background: var(--accent-soft);
}

.editable:focus {
  border-color: var(--editable-border);
  background: var(--accent-soft);
}

/* --- Summary --- */
.summary-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* --- Steps List --- */
.steps-list {
  list-style: none;
  position: relative;
}

.steps-list::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--step-connector);
  border-radius: 1px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  z-index: 1;
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.step-content span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Mermaid --- */
.mermaid-container {
  margin-bottom: 16px;
}

.mermaid-diagram {
  background: var(--mermaid-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  overflow-x: auto;
  text-align: center;
  transition: all var(--transition);
  min-height: 100px;
}

.mermaid-diagram svg {
  max-width: 100%;
  height: auto;
}

.mermaid-source-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 12px;
}

.mermaid-source-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.mermaid-source {
  display: none;
  margin-top: 12px;
}

.mermaid-source.visible {
  display: block;
}

.mermaid-source textarea {
  width: 100%;
  min-height: 180px;
  padding: 16px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
  transition: all var(--transition);
}

.mermaid-source textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn-rerender {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--editable-border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-rerender:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

/* --- Suggestions --- */
.suggestions-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.suggestion-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  transition: all var(--transition);
}

.suggestion-item .suggestion-icon {
  color: var(--accent);
  font-size: 14px;
  margin-top: 2px;
}

.suggestion-item .suggestion-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* --- Export Bar --- */
.export-bar {
  position: sticky;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--export-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-top: 32px;
  transition: all var(--transition);
  animation: fadeSlideUp 0.5s ease both;
  animation-delay: 0.5s;
}

.btn-export {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-export:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-export svg {
  width: 16px;
  height: 16px;
}

.export-divider {
  width: 1px;
  height: 24px;
  background: var(--border-color);
}

/* --- Loading Animation --- */
.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.loading-overlay.visible {
  display: flex;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-muted);
  font-size: 12px;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .header {
    padding: 0 16px;
  }

  .main {
    padding: 24px 16px 80px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .form-card {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .result-block {
    padding: 20px;
  }

  .export-bar {
    flex-wrap: wrap;
    bottom: 12px;
    padding: 12px 16px;
    gap: 8px;
  }

  .btn-export {
    font-size: 13px;
    padding: 8px 14px;
  }

  .export-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-logo span {
    display: none;
  }

  .hero h1 {
    font-size: 20px;
  }

  .export-bar {
    border-radius: var(--radius-md);
  }
}

/* --- Mermaid theme override for dark mode --- */
[data-theme="dark"] .mermaid-diagram {
  background: var(--mermaid-bg);
}

/* --- Print styles for better PDF --- */
@media print {
  .header, .export-bar, .btn-rerender, .mermaid-source-toggle,
  .mermaid-source, .theme-toggle, .edit-hint, .footer {
    display: none !important;
  }

  .results {
    display: block !important;
  }

  .result-block {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #DDD;
  }

  body {
    background: #FFF;
    color: #000;
  }
}

/* Extracted from index.html */

.grimont-global-header {
    width: 100%;
    z-index: 1000;
    position: sticky;
    top: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 23, 42, 0.85); /* Slightly darker for better readability */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* slightly stronger border */
    padding: 14px 0;
    font-family: 'Outfit', 'Inter', sans-serif;
    color: #e2e8f0;
    box-sizing: border-box;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}
.grimont-global-header * {
    box-sizing: border-box;
}
.grimont-global-header .ggh-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ggh-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.ggh-logo-group {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.ggh-logo-group:hover {
    transform: scale(1.02);
}
.ggh-logo-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}
.ggh-logo-text {
    font-family: 'Space Grotesk', monospace;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    letter-spacing: 0.05em;
    display: none;
}
.ggh-logo-text span {
    color: #00f2ff;
}
@media (min-width: 640px) {
    .ggh-logo-text { display: block; }
}
.ggh-separator {
    width: 1px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    display: none;
}
@media (min-width: 768px) {
    .ggh-separator { display: block; }
}
.ggh-app-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ggh-app-title-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.ggh-app-icon-container {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #38bdf8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}
.ggh-app-name {
    font-weight: 700;
    color: white;
    font-size: 1.05rem;
    margin: 0;
    padding: 0;
    letter-spacing: 0.02em;
}
.ggh-app-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    max-width: 600px;
    display: none;
    margin: 4px 0 0 0;
    padding: 0;
    line-height: 1.4;
    font-weight: 300;
}
@media (min-width: 1024px) {
    .ggh-app-desc { display: block; }
}
.ggh-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.ggh-right button {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
.ggh-right button:hover {
    background: rgba(30, 41, 59, 1) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px) !important;
}

/* --- UX Reference Sources --- */
.sources-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.source-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  transition: all var(--transition);
}

.source-item .source-icon {
  font-size: 14px;
  margin-top: 2px;
}

.source-item .source-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.source-item .source-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.source-item .source-text a:hover {
  text-decoration: underline;
}

