/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
   Life Chart (Radar) Styles
   \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */

.life-chart-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.life-chart-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.radar-data-polygon {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.radar-dot {
  transition: all 0.3s;
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.4));
}

.radar-dot:hover {
  r: 9;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.8));
}

.radar-label {
  transition: fill 0.2s;
  pointer-events: none;
}

/* Rating controls */
.life-chart-controls {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-control-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.3s;
}

.chart-control-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.chart-row-highlight {
  background: rgba(168, 85, 247, 0.1) !important;
  animation: highlight-pulse 1.5s ease-out;
}

@keyframes highlight-pulse {
  0% { background: rgba(168, 85, 247, 0.2); }
  100% { background: rgba(168, 85, 247, 0.05); }
}

.chart-domain-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chart-domain-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  min-width: 70px;
}

.chart-stars {
  display: flex;
  gap: 2px;
}

.chart-star {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.chart-star:hover {
  transform: scale(1.2);
}

.chart-star.active {
  color: #f59e0b;
  text-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.chart-rating-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 28px;
  text-align: right;
}

/* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
   Domain Page Styles
   \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */

.domain-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.domain-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  border-left: 4px solid var(--domain-color, var(--accent-primary));
}

.domain-hero-icon {
  font-size: 48px;
  line-height: 1;
}

.domain-hero-info h2 {
  margin: 0 0 4px 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.domain-hero-info p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.domain-rating-display {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.domain-stars .domain-star {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.15s;
}

.domain-stars .domain-star:hover {
  transform: scale(1.2);
}

.domain-stars .domain-star.active {
  color: #f59e0b;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.domain-rating-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.domain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .domain-grid { grid-template-columns: 1fr; }
  .domain-hero { flex-direction: column; text-align: center; }
  .domain-rating-display { margin-left: 0; }
}

.domain-section {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 20px;
}

.domain-section-full {
  grid-column: 1 / -1;
}

.domain-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.domain-section-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.domain-add-btn {
  padding: 4px 12px;
  border: 1px dashed var(--border-default);
  border-radius: 6px;
  background: transparent;
  color: var(--accent-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.domain-add-btn:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--accent-primary);
}

.domain-empty {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
}

/* Goals */
.domain-goal-card {
  padding: 12px;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.domain-goal-card:hover {
  border-color: var(--domain-color, var(--accent-primary));
}

.domain-goal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

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

.domain-goal-status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.domain-goal-status.active { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.domain-goal-status.completed { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.domain-goal-status.paused { background: rgba(107, 114, 128, 0.15); color: #6b7280; }

.domain-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.domain-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.domain-goal-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

/* Journal */
.domain-journal-form textarea {
  width: 100%;
  padding: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  resize: vertical;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.domain-journal-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

/* Domain Tasks Grid */
.domain-tasks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .domain-tasks-grid { grid-template-columns: repeat(2, 1fr); }
}

.domain-task-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.domain-col-header {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-default);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.domain-col-count {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 10px;
}

.domain-task-card {
  padding: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}

.domain-task-card:hover {
  border-color: var(--domain-color, var(--accent-primary));
}

.domain-task-title {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}

.domain-task-priority {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
