/*
 * Design System - Ideas (Ideas Garden)
 *
 * Styling for idea lifecycle management views
 */

/* ============================================
   Ideas Index (Ideas Garden)
   ============================================ */

.ideas-container {
  max-width: var(--content-max-width-ideas);
  margin: 0 auto;
  padding: var(--space-lg);
}

.ideas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 3px solid var(--parchment-dark);
}

.ideas-header h1 {
  margin: 0;
  font-family: var(--font-accent);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-accent);
}

/* Almost ready banner */
.almost-ready-banner {
  background: linear-gradient(135deg, var(--ui-green) 0%, var(--ui-green-accent) 100%);
  border: 2px solid var(--ui-green-accent);
  border-radius: var(--border-radius);
  padding: var(--space-base);
  margin-bottom: var(--space-xl);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.almost-ready-banner p {
  margin: 0 0 var(--space-sm) 0;
  font-weight: var(--font-weight-bold);
  color: var(--ink-dark);
}

.idea-nudge {
  display: inline-block;
  margin-right: var(--space-sm);
}

.idea-nudge a {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--parchment);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--ink-dark);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  transition: all var(--transition-base);
}

.idea-nudge a:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Idea state sections */
.idea-state-section {
  margin-bottom: var(--space-2xl);
}

.idea-state-header {
  display: flex;
  align-items: center;
  gap: var(--space-base);
  border-bottom: 2px solid var(--parchment);
  padding-bottom: var(--space-base);
  margin-bottom: var(--space-lg);
}

.idea-state-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  border: 4px solid var(--ui-green-accent);
  border-radius: var(--border-radius-circle);
  background: var(--paper-bg);
  box-shadow: var(--shadow-base);
}

.idea-state-emoji {
  font-size: 48px;
  line-height: 1;
  flex-shrink: 0;
}

.idea-state-section h2 {
  font-family: var(--font-accent);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  margin: 0;
  color: var(--ink-dark);
  letter-spacing: var(--letter-spacing-accent);
}

/* Collapsible state sections (complete, hibernating) */
.idea-state-details {
  border: none;
}

.idea-state-summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.idea-state-summary::-webkit-details-marker {
  display: none;
}

.idea-state-summary h2 {
  display: inline-block;
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
  transition: color var(--transition-base);
}

.idea-state-summary h2::before {
  content: "▶";
  display: inline-block;
  margin-right: var(--space-sm);
  font-size: var(--font-size-base);
  transition: transform var(--transition-base);
}

.idea-state-details[open] .idea-state-summary h2::before {
  transform: rotate(90deg);
}

.idea-state-details[open] .idea-state-summary {
  margin-bottom: var(--space-lg);
}

/* Muted section for hibernating ideas */
.idea-state-section-muted {
  opacity: var(--opacity-fade);
}

.idea-state-section-muted .idea-state-summary h2 {
  color: var(--ink-medium);
}

.idea-state-section-muted .idea-card {
  background: var(--bg-white-semi);
  opacity: var(--opacity-semi);
}

.idea-state-section-muted .idea-card:hover {
  opacity: var(--opacity-full);
}

/* Idea list grid */
.idea-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--idea-card-min-width), 1fr));
  gap: var(--space-base);
}

.idea-card {
  display: block;
  border: 2px solid var(--parchment);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  background: var(--bg-white-semi);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.idea-card-almost-ready {
  background: var(--ui-green);
  border-color: var(--ui-green-accent);
}

.idea-card:hover {
  background: var(--bg-white-full);
  border-color: var(--parchment-dark);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.idea-card-almost-ready:hover {
  background: var(--ui-green-accent);
  border-color: var(--ui-green-accent);
  box-shadow: var(--shadow-card-hover);
}

.idea-card h3 {
  margin: 0 0 var(--space-sm) 0;
  font-size: var(--font-size-xl);
  line-height: 1.3;
  color: var(--ink-dark);
  font-weight: var(--font-weight-bold);
}

.idea-meta {
  margin: 0;
  font-size: var(--font-size-base);
  color: var(--ink-medium);
  line-height: 1.5;
}

/* ============================================
   Idea Show/Edit (Developing Workspace)
   ============================================ */

.developing-workspace {
  max-width: var(--workspace-max-width);
  margin: 0 auto;
  padding: var(--space-lg);
}

/* Inline editable idea title */
.idea-title-editor {
  margin-bottom: var(--space-lg);
}

.idea-title-display {
  display: flex;
  align-items: center;
  gap: var(--space-base);
  padding: var(--space-sm);
}

.idea-title-display:hover .idea-title-edit-btn {
  opacity: 1;
}

.idea-title-text {
  flex: 1;
  margin: 0;
  font-family: var(--font-accent);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  color: var(--ink-dark);
  letter-spacing: var(--letter-spacing-accent);
  line-height: var(--line-height-tight);
}

.idea-title-edit-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--parchment);
  border-radius: var(--border-radius);
  padding: var(--space-xs) var(--space-sm);
  color: var(--ink-medium);
  font-size: var(--font-size-lg);
  cursor: pointer;
  opacity: 0;
  transition: all var(--transition-base);
}

.idea-title-edit-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--parchment-dark);
  color: var(--ink-dark);
}

.idea-title-input {
  width: 100%;
  font-family: var(--font-accent);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  color: var(--ink-dark);
  letter-spacing: var(--letter-spacing-accent);
  line-height: var(--line-height-tight);
  padding: var(--space-sm);
  border: 2px solid var(--ui-green-accent);
  border-radius: var(--border-radius);
  background: var(--bg-white-bright);
  transition: all var(--transition-base);
}

.idea-title-input:focus {
  outline: none;
  border-color: var(--ui-green-accent);
  background: var(--bg-white-full);
  box-shadow: 0 0 0 3px rgba(184, 201, 176, 0.2);
}

/* State banner */
.idea-state-banner {
  position: relative;
  background: var(--bg-white-semi);
  border: 2px solid var(--parchment);
  border-radius: var(--border-radius);
  padding: var(--space-base) var(--space-lg);
  margin-bottom: var(--space-lg);
}

/* Hibernate button in top right */
.state-hibernate-btn {
  position: absolute;
  top: var(--space-base);
  right: var(--space-base);
  width: var(--size-icon-sm);
  height: var(--size-icon-sm);
  padding: 0;
  background: rgba(255, 255, 255, var(--opacity-bright));
  border: 1px solid var(--parchment);
  border-radius: 50%;
  font-size: var(--font-size-lg);
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  opacity: var(--opacity-fade);
}

.state-hibernate-btn:hover {
  opacity: var(--opacity-full);
  background: rgba(255, 255, 255, var(--opacity-full));
  border-color: var(--parchment-dark);
  box-shadow: var(--shadow-sm);
  transform: scale(var(--scale-hover));
}

/* Notebook page wrapper */
.notebook-page {
  background:
    repeating-linear-gradient(
      transparent,
      transparent calc(var(--space-xl) - 1px),
      rgba(184, 201, 176, var(--opacity-medium)) calc(var(--space-xl) - 1px),
      rgba(184, 201, 176, var(--opacity-medium)) var(--space-xl)
    ),
    rgba(255, 255, 255, var(--opacity-bright-hover));
  border: 2px solid var(--parchment);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-base);
  margin-bottom: var(--space-xl);
}

/* Lifecycle visualization (mirrors week planner wizard steps) */
.idea-lifecycle {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.lifecycle-step {
  /* Remove default button styling */
  background: none;
  border: none;
  padding: var(--space-base);

  /* Visual styling */
  flex: 0 0 auto;
  text-align: center;
  position: relative;
  transition: transform var(--transition-base);
  text-decoration: none;
  display: block;
}

.lifecycle-step.active {
  transform: scale(var(--scale-hover));
  opacity: 1;
}

.lifecycle-step.completed {
  opacity: 0.8;
}

.lifecycle-step:not(.active):not(.completed) {
  opacity: 0.5;
}

.lifecycle-step:hover:not(.active) {
  opacity: var(--opacity-full);
  transform: scale(var(--scale-hover-subtle));
}

.lifecycle-step-circle {
  width: var(--size-lifecycle-circle);
  height: var(--size-lifecycle-circle);
  margin: 0 auto var(--space-base);
  border: 4px solid var(--parchment);
  border-radius: var(--border-radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  line-height: 1;
  background: var(--paper-bg);
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
}

.lifecycle-step-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lifecycle-step:hover:not(.active) .lifecycle-step-circle {
  box-shadow: var(--shadow-card-elevated);
  border-color: var(--parchment-dark);
}

.lifecycle-step.active .lifecycle-step-circle {
  border-color: var(--ui-green-accent);
  border-width: var(--border-width-thick);
  background: var(--ui-green);
  box-shadow: var(--shadow-card-elevated);
}

.lifecycle-step.active .lifecycle-step-label {
  font-weight: var(--font-weight-bold);
  color: var(--ink-dark);
}

.lifecycle-step.completed .lifecycle-step-circle {
  border-color: var(--parchment-dark);
  background: var(--paper-bg);
}

.lifecycle-step-label {
  font-family: var(--font-accent);
  font-size: var(--font-size-xl);
  letter-spacing: var(--letter-spacing-accent);
  color: var(--ink-dark);
}

/* Breathing animation for interactive state */
@keyframes breathe {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.95;
  }
}

/* Combined glow and background pulse animation for ready state */
@keyframes gentle-glow-breathe {
  0%, 100% {
    box-shadow: var(--shadow-glow-green);
    background: var(--paper-bg);
  }
  50% {
    box-shadow: var(--shadow-glow-green);
    background: var(--ui-green);
  }
}

/* Interactive state (ready state is clickable) */
.lifecycle-step.interactive {
  cursor: pointer;
  animation: breathe 5s ease-in-out infinite;
}

.lifecycle-step.interactive:hover {
  animation: none;
  opacity: 1;
  transform: scale(1.05);
}

.lifecycle-step.gentle-glow .lifecycle-step-circle {
  animation: gentle-glow-breathe 5s ease-in-out infinite;
  border-color: var(--ui-green-accent);
}

.lifecycle-step.interactive:hover .lifecycle-step-circle {
  animation: none;
  background: var(--ui-green);
}

/* State controls */
.state-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-base);
  border-top: 1px solid var(--parchment-light);
}

.state-control-row {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  justify-content: center;
}

.almost-ready-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: linear-gradient(135deg, var(--ui-green) 0%, var(--ui-green-accent) 100%);
  border: 1px solid var(--ui-green-accent);
  border-radius: var(--border-radius);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--ink-dark);
  white-space: nowrap;
}


/* Footer actions */
.workspace-footer {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 2px solid var(--parchment);
}

.workspace-footer .actions {
  display: flex;
  gap: var(--space-base);
  justify-content: flex-end;
}

/* Journal-style prompts */
.journal-prompt {
  margin-bottom: var(--space-2xl);
}

.journal-prompt h2 {
  font-family: var(--font-accent);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--ink-dark);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-accent);
}

.journal-prompt .prompt-helper {
  font-size: var(--font-size-base);
  color: var(--ink-medium);
  margin-bottom: var(--space-base);
  line-height: var(--line-height-normal);
  font-style: italic;
}

/* Journal icons - inline on desktop */
.journal-icon {
  display: inline;
}

/* Inline editable journal sections */
.journal-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-base);
  padding: var(--space-sm);
  margin: 0 calc(var(--space-sm) * -1);
}

.journal-section-header h2 {
  flex: 1;
  margin: 0;
}

.journal-section-edit-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--parchment);
  border-radius: var(--border-radius);
  padding: var(--space-xs) var(--space-sm);
  color: var(--ink-medium);
  font-size: var(--font-size-base);
  cursor: pointer;
  opacity: 0;
  transition: all var(--transition-base);
}

.journal-section-header:hover .journal-section-edit-btn {
  opacity: 1;
}

.journal-section-edit-btn:hover {
  background: rgba(0, 0, 0, var(--opacity-subtle));
  border-color: var(--parchment-dark);
  color: var(--ink-dark);
}

.journal-section-content {
  padding: var(--space-base);
  min-height: var(--size-content-min);
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: background var(--transition-base);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
}

.journal-section-content:hover {
  background: rgba(184, 201, 176, var(--opacity-light));
}

/* Rich text content styling */
.journal-section-content .rich-text-content,
.journal-section-content > div {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
}

.journal-section-content p {
  margin-bottom: var(--space-base);
}

.journal-section-content ul,
.journal-section-content ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-base);
}

.journal-section-placeholder {
  color: var(--ink-light);
  font-style: italic;
  font-size: var(--font-size-base);
  margin: 0;
}

/* Inline edit actions */
.inline-edit-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-base);
}

/* ============================================
   Task Grooming Wizard
   ============================================ */

.task-grooming-wizard {
  max-width: var(--workspace-max-width);
  margin: 0 auto;
  padding: var(--space-lg);
}

.wizard-container {
  background: var(--bg-white-bright);
  border: 2px solid var(--parchment);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-base);
}

.wizard-header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.wizard-header h1 {
  margin: 0 0 var(--space-sm) 0;
  font-family: var(--font-accent);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  color: var(--ink-dark);
  letter-spacing: var(--letter-spacing-accent);
}

.wizard-subtitle {
  margin: 0;
  font-size: var(--font-size-lg);
  color: var(--ink-medium);
  line-height: var(--line-height-normal);
}

.task-pieces-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
  margin-bottom: var(--space-xl);
}

.task-piece-item {
  display: flex;
  gap: var(--space-base);
  padding: var(--space-base);
  background: var(--bg-white-semi);
  border: 2px solid var(--parchment);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.task-piece-item:hover {
  background: var(--bg-white-full);
  border-color: var(--parchment-dark);
}

.piece-checkbox {
  flex-shrink: 0;
  padding-top: var(--space-xs);
}

.piece-checkbox-input {
  width: var(--size-checkbox);
  height: var(--size-checkbox);
  cursor: pointer;
}

.piece-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.piece-title-row {
  display: flex;
}

.piece-title-input {
  width: 100%;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--ink-dark);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--parchment);
  border-radius: var(--border-radius);
  background: var(--bg-white-bright);
  transition: all var(--transition-base);
}

.piece-title-input:focus {
  outline: none;
  border-color: var(--ui-green-accent);
  background: var(--bg-white-full);
  box-shadow: 0 0 0 2px rgba(184, 201, 176, 0.2);
}

.piece-estimate-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.estimate-label {
  font-size: var(--font-size-base);
  color: var(--ink-medium);
  margin: 0;
}

.piece-estimate-input {
  width: var(--input-width-sm);
  font-size: var(--font-size-base);
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--parchment);
  border-radius: var(--border-radius);
  background: var(--bg-white-bright);
  transition: all var(--transition-base);
}

.piece-estimate-input:focus {
  outline: none;
  border-color: var(--ui-green-accent);
  background: var(--bg-white-full);
  box-shadow: 0 0 0 2px rgba(184, 201, 176, 0.2);
}

.estimate-unit {
  font-size: var(--font-size-base);
  color: var(--ink-medium);
}

.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-base);
  padding-top: var(--space-lg);
  border-top: 2px solid var(--parchment);
}

/* ============================================
   Ready Ideas in Week Planner
   ============================================ */

.ready-ideas-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
}

.ready-idea-item {
  padding-left: var(--space-base);
  border-left: 3px solid var(--ui-green-accent);
}

.ready-idea-item h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  margin: 0;
}

.idea-link {
  color: var(--ink-dark);
  text-decoration: none;
}

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

.ready-idea-tasks {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* Tasks on idea show page */
.idea-tasks-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Drag-drop sorting for idea task lists */
.idea-tasks-list .sortable-item {
  cursor: grab;
}

.idea-tasks-list .sortable-item:active {
  cursor: grabbing;
}

.idea-tasks-list .sortable-dragging {
  opacity: 0.4;
}

/* Header row for tasks section with "Add Task" button */
.idea-tasks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.idea-tasks-header h2 {
  margin: 0;
}

/* ============================================
   Mobile Responsive Styles
   ============================================ */

@media (max-width: 768px) {
  /* Ideas container - reduce padding */
  .ideas-container {
    padding: var(--space-base);
  }

  /* Ideas header - keep side-by-side on mobile */
  .ideas-header {
    gap: var(--space-sm);
    align-items: center;
  }

  .ideas-header h1 {
    font-size: var(--font-size-xl);
    margin-bottom: 0;
  }

  .ideas-header .btn {
    flex-shrink: 0;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-sm);
  }

  /* Idea list - single column on mobile */
  .idea-list {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  /* Idea cards - more compact */
  .idea-card {
    padding: var(--space-base);
  }

  .idea-card h3 {
    font-size: var(--font-size-base);
  }

  .idea-meta {
    font-size: var(--font-size-xs);
  }

  /* State sections - more compact */
  .idea-state-section {
    margin-bottom: var(--space-lg);
  }

  .idea-state-header {
    margin-bottom: var(--space-sm);
  }

  .idea-state-header h2 {
    font-size: var(--font-size-lg);
  }

  /* Lifecycle icons - smaller on mobile */
  .idea-state-icon {
    width: 48px;
    height: 48px;
  }

  /* Idea show page - more compact */
  .idea-show-header {
    padding: var(--space-base);
  }

  .idea-show-title {
    font-size: var(--font-size-xl);
  }

  /* Workspace - no padding, pull up to reduce gap */
  .developing-workspace {
    padding: 0 !important;
    margin: -16px 0 0 0 !important;
  }

  /* Notebook page - truly full width on mobile with controlled top spacing */
  .notebook-page {
    display: block;
    padding: var(--space-sm) var(--space-base) var(--space-sm) var(--space-sm);
    padding-top: 20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-bottom: 0;
    position: relative;
  }

  /* Override content container padding for ideas show page */
  .developing-workspace ~ * .content-container,
  body:has(.developing-workspace) main.content-container {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }

  /* State banner - position icon as large watermark, remove borders */
  .idea-state-banner {
    position: absolute;
    right: 0;
    top: 0;
    margin: 0;
    z-index: 0;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
  }

  /* Title - full width with relative positioning */
  .idea-title-editor {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  /* All content should be above the state icon */
  .notebook-page > *:not(.idea-state-banner) {
    position: relative;
    z-index: 1;
  }

  /* Hide the hibernate button on mobile */
  .state-hibernate-btn {
    display: none;
  }

  /* Simplify lifecycle to show only active icon */
  .idea-lifecycle {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  /* Hide all lifecycle steps except active */
  .lifecycle-step:not(.active) {
    display: none;
  }

  .lifecycle-step.active {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Make active state icon much bigger as watermark */
  .lifecycle-step-circle {
    width: 120px !important;
    height: 120px !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
  }

  /* Make the icon image bigger and transparent */
  .lifecycle-step-image {
    width: 100px !important;
    height: 100px !important;
    opacity: 0.5 !important;
  }

  /* Hide state label on mobile (icon only) */
  .lifecycle-step-label {
    display: none;
  }

  /* Journal prompt sections - large transparent emoji backgrounds */
  .journal-prompt {
    position: relative;
    z-index: 0;
    margin-bottom: var(--space-lg);
  }

  .journal-icon {
    display: block !important;
    position: absolute !important;
    right: 10px;
    top: 10px;
    font-size: 140px;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
    line-height: 1;
  }

  /* All content should be above the emoji */
  .journal-prompt > *:not(.journal-icon) {
    position: relative;
    z-index: 1;
  }

  /* Value slider - display label on own line below slider */
  .journal-prompt .time-estimate-slider-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    width: 100%;
  }

  .journal-prompt .time-estimate-slider {
    width: 100%;
    order: 1;
  }

  .journal-prompt .time-estimate-display {
    order: 2;
    width: 100%;
    text-align: center;
  }

  /* Hide task actions (edit/delete) on mobile for ideas page */
  .idea-tasks-list .task-actions,
  .idea-tasks-list .simple-task-actions {
    display: none !important;
  }
}
