:root {
  --bg-main: #090a0f;
  --bg-surface: #11141c;
  --bg-surface-elevated: #181d28;
  --bg-glass: rgba(17, 20, 28, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.25);
  --accent-blue: #3b82f6;
  --accent-blue-glow: rgba(59, 130, 246, 0.2);
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  --accent-red: #ef4444;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px -10px var(--accent-amber-glow);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Ambient glow balls */
.glow-sphere {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}
.glow-amber {
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
}
.glow-blue {
  bottom: 0;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
}

.app-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 32px 60px;
  position: relative;
  z-index: 1;
}

/* Header */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

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

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 28px;
  background: linear-gradient(135deg, #2a1b06, #181c24);
  border: 1px solid var(--accent-amber);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px var(--accent-amber-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
  background: linear-gradient(to right, #ffffff, #fef08a, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtitle {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.notion-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 14px var(--accent-green); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.clock-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-md);
}

/* Buttons */
.btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--accent-amber-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.btn-zen {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}
.btn-zen:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-green-glow);
}
.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

/* Finance Ribbon */
.finance-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.finance-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.finance-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.finance-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.finance-value {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
}
.val-green { color: #34d399; }
.val-amber { color: #fbbf24; }
.val-blue { color: #60a5fa; }

/* Main Layout Grid */
.main-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

.hero-column, .queue-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}
.card-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

/* HERO FOCUS CARD */
.hero-focus-card {
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, rgba(17, 20, 28, 0.95) 100%);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  position: relative;
}

.focus-header {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.focus-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fbbf24;
}

.focus-category {
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 999px;
}

.focus-body {
  padding: 32px 28px 24px;
}

.focus-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 20px;
}

.focus-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.meta-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}
.meta-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* TIMER SECTION */
.timer-wrapper {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  transition: all 0.4s ease;
}

/* Break Mode Style for Timer Wrapper */
.timer-wrapper.mode-break {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 78, 59, 0.25) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.2);
}

.timer-mode-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.timer-wrapper.mode-break .timer-mode-banner {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
}

.mode-icon {
  font-size: 14px;
}

.mode-label {
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.5px;
}

.timer-wrapper.mode-break .mode-label {
  color: #34d399;
}

.mode-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.timer-wrapper.mode-break .mode-sub {
  color: #a7f3d0;
}

.timer-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 58px;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
  transition: all 0.3s ease;
}

.timer-wrapper.mode-break .timer-time {
  color: #34d399;
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.timer-status {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 2px;
  margin-bottom: 16px;
}

.timer-wrapper.mode-break .timer-status {
  color: #a7f3d0;
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #34d399);
  transition: width 0.5s linear;
}

.timer-wrapper.mode-break .progress-bar-fill {
  background: linear-gradient(90deg, #059669, #34d399, #6ee7b7);
}

.timer-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.timer-main-btns {
  display: flex;
  gap: 8px;
}

.timer-btn {
  min-width: 110px;
  justify-content: center;
}

/* Break button & dropdown */
.break-group {
  position: relative;
  display: inline-block;
}

.btn-break {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-break:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.6);
  color: #6ee7b7;
  transform: translateY(-1px);
}

.timer-wrapper.mode-break .btn-break {
  background: #059669;
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.break-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #11141c;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 8px;
  width: 200px;
  z-index: 100;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.break-dropdown.hidden {
  display: none !important;
}

.break-dropdown-header {
  font-size: 10px;
  font-weight: 700;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2px;
}

.break-opt-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
  text-align: left;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.break-opt-btn:hover {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  padding-left: 14px;
}

/* Presets section */
.presets-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.presets-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.preset-times {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-btn small {
  font-size: 9px;
  opacity: 0.8;
}

.preset-btn:hover, .preset-btn.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.preset-custom-btn {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}

.preset-custom-btn:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.6);
  color: #c7d2fe;
}

.hero-actions {
  display: flex;
}

.btn-complete-hero {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #10b981, #047857);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--accent-green-glow);
  transition: all 0.2s ease;
}
.btn-complete-hero small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}
.btn-complete-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45);
}

.terazi-rule-quote {
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-secondary);
}
.quote-icon { font-size: 18px; }

/* Task Queue */
.queue-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.queue-count {
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--text-muted);
}

.filter-pills {
  display: flex;
  gap: 6px;
}
.pill-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pill-btn:hover, .pill-btn.active {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.task-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
}

.task-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
}
.task-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  transform: translateX(3px);
}

.task-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.task-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.task-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.task-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 10px;
}
.badge-waiting { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }
.badge-tomorrow { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
.badge-focus { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.badge-success { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }

.task-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-icon-action {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-icon-action:hover {
  background: var(--accent-amber);
  color: #000;
  border-color: var(--accent-amber);
}

/* Completed list in evening card */
.completed-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
}

.completed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: #a7f3d0;
}
.check-icon {
  color: #34d399;
  font-weight: bold;
}

/* Finance Table */
.finance-table-wrapper {
  padding: 16px;
  overflow-x: auto;
}
.finance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.finance-table th {
  text-align: left;
  padding: 10px 12px;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
}
.finance-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
}
.finance-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

/* Zen Overlay */
.zen-overlay {
  position: fixed;
  inset: 0;
  background: #06070a;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  animation: fadeIn 0.3s ease;
}
.zen-overlay.hidden { display: none; }

.zen-exit-btn {
  position: absolute;
  top: 32px;
  right: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.zen-exit-btn:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

.zen-content {
  text-align: center;
  max-width: 800px;
}

.zen-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.zen-title {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.zen-output {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.zen-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 120px;
  font-weight: 800;
  color: #fbbf24;
  text-shadow: 0 0 60px rgba(245, 158, 11, 0.4);
  margin-bottom: 40px;
}

/* PIN Lock Screen */
.pin-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 10, 0.96);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pin-overlay.hidden { display: none; }

.pin-card {
  background: var(--bg-surface);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.15), var(--shadow-card);
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 420px;
  width: 100%;
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pin-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.pin-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 6px;
}

.pin-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.pin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pin-input {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  letter-spacing: 12px;
  text-align: center;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: #fbbf24;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pin-input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 20px var(--accent-amber-glow);
}

.pin-submit-btn {
  width: 100%;
  justify-content: center;
}

.pin-error {
  color: #f87171;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}
.pin-error.hidden { display: none; }


/* PDF Wizard Modal Styles */
.pdf-wizard-card {
  max-width: 640px !important;
}

.pdf-task-selector-list {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdf-task-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.pdf-task-item-row:hover {
  background: rgba(255, 255, 255, 0.07);
}

.btn-text-link {
  background: transparent;
  border: none;
  color: var(--accent-amber);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.checkbox-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}
.custom-checkbox input {
  accent-color: var(--accent-amber);
  width: 16px;
  height: 16px;
}

/* Modal */
.modal-backdrop {

  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.hidden { display: none; }

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  animation: scaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}
.modal-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

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

.form-input {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input:focus {
  border-color: var(--accent-amber);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-green);
  color: #6ee7b7;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1100;
  animation: slideIn 0.3s ease;
}
.toast.hidden { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleUp { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes slideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Print & PDF Report Styles */
.print-only {
  display: none;
}

@page {
  size: A4 portrait;
  margin: 12mm 15mm;
}

@media print {
  body {
    background: #ffffff !important;
    color: #1e293b !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 10pt !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .glow-sphere,
  .app-container,
  .pin-overlay,
  .zen-overlay,
  .modal-backdrop,
  .toast {
    display: none !important;
  }

  .print-only {
    display: block !important;
    padding: 10px 15px;
    background: #ffffff;
  }

  .report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 12px;
    margin-bottom: 16px;
  }

  .report-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20pt;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.1;
  }
  .report-sub {
    font-size: 8.5pt;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 4px 0 0;
  }

  .report-meta {
    text-align: right;
    font-size: 8.5pt;
    color: #475569;
    font-weight: 600;
    line-height: 1.4;
  }

  .report-summary-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
  }

  .summary-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .summary-col .lbl {
    font-size: 7.5pt;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .summary-col strong {
    font-size: 12pt;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
  }

  .section-title {
    font-size: 10.5pt;
    font-weight: 700;
    color: #0f172a;
    margin: 14px 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .report-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
    font-size: 8.5pt;
  }

  .report-table th {
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    text-align: left;
    padding: 6px 8px;
    border: 1px solid #cbd5e1;
    font-size: 7.5pt;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .report-table td {
    padding: 6px 8px;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    vertical-align: middle;
  }

  /* Minimal Clean Badges for PDF */
  .pdf-status-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 7.5pt;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-align: center;
  }
  .pdf-status-pending {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
  }
  .pdf-status-paid {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
  }
  .pdf-status-partial {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
  }
  .pdf-delivered-tag {
    color: #15803d;
    font-weight: 700;
    font-size: 8pt;
  }

  .report-sketch-box {
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 14px;
    min-height: 100px;
    background: #fafafa;
  }
  .report-sketch-box h4 {
    font-size: 8pt;
    color: #64748b;
    margin: 0 0 6px;
    font-weight: 600;
  }

  .report-footer {
    display: flex;
    justify-content: space-between;
    font-size: 7.5pt;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
    padding-top: 8px;
    margin-top: 20px;
  }
}


@media (max-width: 1024px) {
  .main-layout { grid-template-columns: 1fr; }
  .finance-ribbon { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .app-container {
    padding: 16px 16px 40px;
  }
  
  .app-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .clock-badge {
    display: none;
  }

  .finance-ribbon {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .finance-card {
    padding: 14px 16px;
  }
  .finance-value {
    font-size: 20px;
  }

  .focus-body {
    padding: 20px 16px;
  }

  .focus-title {
    font-size: 22px;
  }

  .focus-meta-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timer-time {
    font-size: 46px;
  }

  .timer-controls {
    flex-direction: column;
    width: 100%;
  }
  .timer-btn {
    width: 100%;
  }
  .preset-times {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .zen-title {
    font-size: 26px;
  }
  .zen-timer {
    font-size: 72px;
  }
  .zen-controls {
    flex-direction: column;
    width: 100%;
  }
  .zen-controls .btn {
    width: 100%;
  }

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

/* ==========================================
   TELEGRAM & NOTIFICATION MODAL STYLES
   ========================================== */
.modal-telegram {
  max-width: 580px;
}

.modal-title-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tg-icon {
  font-size: 28px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 8px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.tg-guide-box {
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.guide-title {
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 8px;
}

.tg-steps {
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: 18px;
  line-height: 1.6;
  margin: 0;
}

.tg-steps code {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.tg-options-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-toggle-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.tg-toggle-label input[type="checkbox"] {
  accent-color: var(--accent-amber);
  width: 16px;
  height: 16px;
  margin-top: 1px;
  cursor: pointer;
}

.tg-toggle-label strong {
  color: var(--text-primary);
}

.tg-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-actions-right {
  display: flex;
  gap: 8px;
}

/* ==========================================
   CUSTOM DURATION MODAL & CHIPS
   ========================================== */
.modal-small {
  max-width: 420px;
}

.custom-min-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-big-input {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #fbbf24;
  padding: 16px;
  height: 64px;
}

.input-unit {
  position: absolute;
  right: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}

.quick-min-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  transform: translateY(-1px);
}

/* ZEN MODE BREAK STATE */
.zen-badge.zen-break {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.6);
  color: #34d399;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.zen-overlay.mode-break .zen-timer {
  color: #34d399;
  text-shadow: 0 0 60px rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   APP FOOTER & DISCREET MIND COMPASS TRIGGER
   ========================================================================== */
.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
  margin-top: 40px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-mind-compass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.btn-mind-compass:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f8fafc;
  opacity: 1;
  transform: translateY(-1px);
}

.btn-mind-compass .compass-icon {
  font-size: 14px;
  opacity: 0.9;
}

/* System Rule Quote fallback */
.system-rule-quote,
.terazi-rule-quote {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-secondary);
}

.system-rule-quote p strong,
.terazi-rule-quote p strong {
  color: #fbbf24;
}

/* ==========================================================================
   ZİHİN PUSULASI MODAL (Minimalist, Dingin, Kitap Estetiğinde)
   ========================================================================== */
.mind-compass-card {
  max-width: 880px !important;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #11141d !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85);
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
}

.mind-compass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: #151924;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mind-compass-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.compass-main-icon {
  font-size: 28px;
  background: rgba(245, 158, 11, 0.12);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.mind-compass-title {
  font-size: 19px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.3px;
  margin: 0;
}

.mind-compass-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Tabs */
.mind-compass-tabs {
  display: flex;
  background: #0d1017;
  padding: 8px 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 6px;
  overflow-x: auto;
}

.mc-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 18px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mc-tab-btn:hover {
  color: var(--text-secondary);
}

.mc-tab-btn.active {
  color: #fbbf24;
  border-bottom-color: #fbbf24;
  background: rgba(245, 158, 11, 0.04);
}

/* Modal Body Panes */
.mind-compass-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.mc-tab-pane {
  display: none;
}

.mc-tab-pane.active {
  display: block;
  animation: fadeInPane 0.25s ease;
}

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

/* TAB 1: SOS STYLES */
.mc-sos-hero {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.mc-sos-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.mc-sos-title {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.4;
  margin-bottom: 8px;
}

.mc-sos-desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.6;
}

.mc-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.mc-step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 14px;
  position: relative;
}

.mc-step-card.highlight {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
}

.mc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 10px;
}

.mc-step-card h5 {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
}

.mc-step-card p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Breathing Animation & 5 Min Action Box */
.mc-action-box {
  background: #161a25;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mc-breath-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mc-breath-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  border: 2px solid rgba(59, 130, 246, 0.6);
  animation: breathPulse 8s infinite ease-in-out;
}

@keyframes breathPulse {
  0%, 100% { transform: scale(0.85); background: rgba(59, 130, 246, 0.2); border-color: rgba(59, 130, 246, 0.5); }
  50% { transform: scale(1.25); background: rgba(16, 185, 129, 0.35); border-color: rgba(16, 185, 129, 0.8); }
}

.mc-breath-text {
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
}

.mc-action-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mc-action-quote {
  font-size: 12px;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 260px;
  text-align: right;
}

/* TAB 2: PRINCIPLES */
.mc-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mc-principle-card {
  background: #151924;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  position: relative;
}

.mc-principle-card.highlight-card {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
}

.mc-p-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fbbf24;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.mc-principle-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
}

.mc-principle-card p {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.6;
}

.mc-principle-card p strong {
  color: #e2e8f0;
}

.mc-principle-card p em {
  color: #fbbf24;
  font-style: normal;
}

/* TAB 3: REFLECTION */
.mc-reflection-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.mc-subheading {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 4px;
}

.mc-subdesc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.mc-ref-form .form-group {
  margin-bottom: 14px;
}

.mc-ref-form label {
  font-size: 12px;
  color: #cbd5e1;
}

.mc-past-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-past-header h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.mc-history-list {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-history-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 11px;
}

.mc-history-date {
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 4px;
}

.mc-history-row {
  margin-top: 4px;
  color: #94a3b8;
  line-height: 1.4;
}

.mc-history-row strong {
  color: #f1f5f9;
}

/* TAB 4: BRAIN DUMP */
.mc-dump-intro {
  margin-bottom: 18px;
}

.mc-dump-intro h4 {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 4px;
}

.mc-dump-intro p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.mc-dump-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.mc-dump-input-row input {
  flex: 1;
}

.mc-dump-list-header {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.mc-dump-list {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-dump-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #151924;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #e2e8f0;
}

.mc-dump-delete {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.mc-dump-delete:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
}

/* Modal Footer */
.mind-compass-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: #151924;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-footer-quote {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .mc-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mc-principles-grid {
    grid-template-columns: 1fr;
  }
  .mc-reflection-container {
    grid-template-columns: 1fr;
  }
  .mc-action-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .mc-action-right {
    width: 100%;
    justify-content: space-between;
  }
}

