/* ============================================================
   DIALED — View-specific styles
   ============================================================ */

/* ---------------- BOARD ---------------- */
.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}
.board-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.board-view-toggle {
  display: flex;
  gap: 2px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2px;
}

.board-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 16px;
  align-items: start;
}

.board-column {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.board-column-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.board-column-title {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}
.board-column-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  color: var(--text-faint);
  background: var(--bg-inset);
  padding: 1px 7px;
  border-radius: 8px;
}

.board-column-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 60px;
}
.board-column-body.is-drag-over {
  background: var(--accent-wash);
  outline: 1px dashed var(--accent-dim);
  outline-offset: -4px;
}

.task-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px;
  cursor: grab;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.task-card:hover { border-color: var(--line-strong); }
.task-card.is-dragging { opacity: 0.4; }
.task-card.is-blocked { border-left: 2px solid var(--loss); }
.task-card.is-due-soon { border-left: 2px solid var(--warn); }

.task-card-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.task-card-title {
  font-size: var(--fs-13);
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}
.task-card-notes {
  font-size: var(--fs-12);
  color: var(--text-muted);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.task-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.task-card-due {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  color: var(--text-faint);
}
.task-card-due.is-overdue { color: var(--loss); }
.task-card-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.task-card-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.task-card-link {
  font-size: var(--fs-11);
  font-family: var(--font-mono);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  background: var(--accent-wash);
}
.task-card-link:hover { background: var(--accent-dim); color: #fff; }
.task-card-thumb {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: 8px;
  border: 1px solid var(--line);
}

/* ---------------- CALENDAR ---------------- */
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.calendar-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.calendar-label {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 600;
  min-width: 160px;
  text-align: center;
}
.calendar-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-11);
  color: var(--text-muted);
}
.legend-dot {
  width: 6px; height: 6px; border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
}
.legend-dot:first-child { margin-left: 0; }
.legend-dot--task { background: var(--accent); }
.legend-dot--review { background: var(--warn); }
.legend-dot--event { background: var(--gain); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.calendar-weekday {
  background: var(--bg-panel);
  padding: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-10);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  text-align: center;
}

.calendar-cell {
  background: var(--bg-base);
  min-height: 104px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background var(--dur-fast) var(--ease);
}
.calendar-cell.is-outside { background: var(--bg-inset); }
.calendar-cell.is-outside .calendar-cell-num { color: var(--text-faint); }
.calendar-cell.is-today { background: var(--accent-wash); }
.calendar-cell:hover { background: var(--bg-panel); }

.calendar-cell-num {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  color: var(--text-muted);
}
.calendar-cell.is-today .calendar-cell-num { color: var(--accent); font-weight: 700; }

.calendar-event {
  font-size: var(--fs-10);
  padding: 2px 5px;
  border-radius: var(--r-sm);
  background: var(--accent-wash);
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.calendar-event--review { background: var(--warn-wash); color: var(--warn); }
.calendar-event--done { background: var(--gain-wash); color: var(--gain); text-decoration: line-through; opacity: 0.7; }

/* ---------------- JOURNAL ---------------- */
.journal-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  height: 100%;
}

.journal-list-pane {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.journal-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}
.journal-list {
  overflow-y: auto;
  flex: 1;
}

.journal-list-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.journal-list-item:hover { background: var(--bg-raised); }
.journal-list-item.is-active { background: var(--accent-wash); border-left: 2px solid var(--accent); }

.journal-list-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.journal-list-item-title {
  font-size: var(--fs-13);
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.journal-list-item-date {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  color: var(--text-faint);
}
.journal-list-item-snippet {
  font-size: var(--fs-12);
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.journal-detail-pane {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow-y: auto;
  padding: 28px;
}

.journal-entry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.journal-entry-title { font-size: var(--fs-24); font-weight: 700; line-height: 1.3; }
.journal-entry-actions { display: flex; gap: 8px; flex-shrink: 0; }
.journal-entry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.journal-entry-date {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-muted);
}

.journal-entry-section { margin-bottom: 20px; }
.journal-entry-section-label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.journal-entry-body {
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--text-primary);
  white-space: pre-wrap;
}
.journal-entry-lesson {
  background: var(--bg-inset);
  border-left: 2px solid var(--accent);
  padding: 12px 14px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  white-space: pre-wrap;
}

.journal-linked-task {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: var(--fs-12);
  color: var(--text-secondary);
  width: fit-content;
}

/* ---------------- REVIEW QUEUE ---------------- */
.review-intro {
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 18px;
  font-size: var(--fs-13);
  color: var(--text-secondary);
  line-height: 1.6;
}
.chain-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  color: var(--accent);
  background: var(--accent-wash);
  padding: 1px 6px;
  border-radius: var(--r-sm);
}

.review-list { display: flex; flex-direction: column; gap: 10px; }

.review-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--dur-fast) var(--ease);
}
.review-item:hover { border-color: var(--line-strong); }

.review-item-info { flex: 1; min-width: 0; }
.review-item-title { font-size: var(--fs-14); font-weight: 500; margin-bottom: 4px; }
.review-item-sub {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  color: var(--text-faint);
}

.review-chain-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-inset);
  border-radius: var(--r-md);
  margin-bottom: 4px;
}
.chain-node { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.chain-node-label {
  font-family: var(--font-mono);
  font-size: var(--fs-10);
  text-transform: uppercase;
  color: var(--text-faint);
}
.chain-node-value {
  font-size: var(--fs-13);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chain-node select {
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 6px 8px;
  font-size: var(--fs-13);
  color: var(--text-primary);
}
.chain-arrow { color: var(--text-faint); font-size: var(--fs-16); flex-shrink: 0; }

/* ---------------- ARCHIVE ---------------- */
.archive-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.archive-search {
  flex: 1;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 9px 12px;
  font-size: var(--fs-13);
  color: var(--text-primary);
  max-width: 320px;
}
.archive-search:focus { border-color: var(--accent); }
.archive-sort {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 9px 12px;
  font-size: var(--fs-13);
  color: var(--text-secondary);
}

.archive-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.archive-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-inset);
}
.archive-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-13);
  vertical-align: top;
}
.archive-table tr:last-child td { border-bottom: none; }
.archive-table tr:hover td { background: var(--bg-raised); }
.archive-table-title { font-weight: 500; margin-bottom: 2px; }
.archive-table-lesson {
  color: var(--text-muted);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.archive-row-open {
  color: var(--accent);
  font-size: var(--fs-12);
}
.archive-row-open:hover { text-decoration: underline; }

/* ---------------- SETTINGS ---------------- */
.settings-block { display: flex; flex-direction: column; gap: 10px; }
/* ============================================================
   THEME SELECTOR
   ============================================================ */

.theme-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.theme-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  text-align: left;

  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: var(--r-md);

  color: var(--text-primary);
  transition:
    background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.theme-option:hover {
  background: var(--bg-raised);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.theme-option.is-active {
  border-color: var(--accent);
  background: var(--accent-wash);
}

.theme-option-preview {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}

.theme-option-preview--dark {
  background: #0A0B0D;
}

.theme-option-preview--dark::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 8px;
  height: 4px;
  background: #4A7FE0;
  box-shadow:
    0 8px 0 #23262D,
    0 16px 0 #1C1F26;
}

.theme-option-preview--light {
  background: #F4F5F7;
}

.theme-option-preview--light::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 8px;
  height: 4px;
  background: #386BC5;
  box-shadow:
    0 8px 0 #E1E4E8,
    0 16px 0 #FFFFFF;
}

.theme-option-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.theme-option-content strong {
  font-size: var(--fs-13);
  font-weight: 600;
}

.theme-option-content small {
  font-size: var(--fs-11);
  color: var(--text-muted);
}

.theme-option-check {
  position: absolute;
  top: 7px;
  right: 8px;

  width: 17px;
  height: 17px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: var(--accent);
  color: #fff;

  font-size: 10px;
  font-weight: 700;

  opacity: 0;
  transform: scale(0.7);

  transition:
    opacity var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.theme-option.is-active .theme-option-check {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 480px) {
  .theme-selector {
    grid-template-columns: 1fr;
  }
}
.settings-block h3 { font-size: var(--fs-14); }
.settings-copy { font-size: var(--fs-12); color: var(--text-muted); line-height: 1.6; }
.settings-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.settings-folder-list { display: flex; flex-direction: column; gap: 6px; }
.settings-folder-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-inset);
  border-radius: var(--r-md);
}
.settings-folder-row input[type="text"] {
  flex: 1;
  background: none;
  font-size: var(--fs-13);
  color: var(--text-primary);
}
.settings-folder-row input[type="color"] {
  width: 22px; height: 22px;
  border: none;
  background: none;
  padding: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
}

@media (max-width: 1100px) {
  .board-columns { grid-template-columns: repeat(2, 1fr); }
  .journal-layout { grid-template-columns: 1fr; grid-template-rows: 240px 1fr; }
}
@media (max-width: 640px) {
  .board-columns { grid-template-columns: 1fr; }
  .modal-grid, .modal-grid--3 { grid-template-columns: 1fr; }
}


/* DIALED — living content surfaces */
.board-column {
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform var(--dur-med) var(--ease-spring),
              border-color var(--dur-fast) var(--ease-smooth),
              box-shadow var(--dur-med) var(--ease-smooth);
}

.board-column:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0,0,0,.13);
}

.task-card {
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  transition: transform var(--dur-fast) var(--ease-spring),
              border-color var(--dur-fast) var(--ease-smooth),
              box-shadow var(--dur-fast) var(--ease-smooth),
              background var(--dur-fast) var(--ease-smooth);
}

.task-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.calendar-grid {
  border-radius: 18px;
}

.calendar-cell {
  transition: background var(--dur-fast) var(--ease-smooth),
              transform var(--dur-fast) var(--ease-spring);
}

.calendar-cell:hover {
  position: relative;
  z-index: 1;
  transform: scale(1.012);
  box-shadow: 0 4px 18px rgba(0,0,0,.16);
}

.journal-list-pane,
.journal-detail-pane,
.review-intro,
.review-item,
.archive-table {
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
}

.journal-list-item {
  transition: background var(--dur-fast) var(--ease-smooth),
              transform var(--dur-fast) var(--ease-spring);
}

.journal-list-item:hover {
  transform: translateX(2px);
}

.review-item {
  transition: transform var(--dur-fast) var(--ease-spring),
              border-color var(--dur-fast) var(--ease-smooth),
              box-shadow var(--dur-fast) var(--ease-smooth);
}

.review-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

.archive-table {
  overflow: hidden;
}

.archive-search,
.archive-sort {
  border-radius: 12px;
}

@media (max-width: 900px) {
  .board-columns {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
  .journal-layout {
    grid-template-columns: 260px 1fr;
  }
}

@media (max-width: 640px) {
  .board-columns {
    grid-template-columns: 1fr;
  }
  .journal-layout {
    grid-template-columns: 1fr;
  }
  .journal-detail-pane {
    min-height: 360px;
    padding: 20px;
  }
  .archive-table {
    display: block;
    overflow-x: auto;
  }
}
/* ---------------- Due-window filter row ---------------- */
.board-due-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.board-due-filter-label {
  font-size: var(--fs-11);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  flex-shrink: 0;
}
/* ============================================================
   DIALED — Contrast + color refinement
   ============================================================ */

/* Board column identity */

.board-column[data-status="backlog"] .board-column-head {
  border-top: 2px solid var(--neutral);
}

.board-column[data-status="active"] .board-column-head {
  border-top: 2px solid var(--accent);
}

.board-column[data-status="blocked"] .board-column-head {
  border-top: 2px solid var(--loss);
}

.board-column[data-status="done"] .board-column-head {
  border-top: 2px solid var(--gain);
}

.board-column[data-status="active"] {
  box-shadow:
    0 10px 30px rgba(0,0,0,.08),
    0 0 0 1px var(--accent-wash);
}

.board-column[data-status="done"] {
  box-shadow:
    0 10px 30px rgba(0,0,0,.06),
    0 0 0 1px var(--gain-wash);
}

/* Priority indicators */

.task-card:has(.dot--high) {
  border-left: 2px solid var(--loss);
}

.task-card:has(.dot--medium) {
  border-left: 2px solid var(--warn);
}

.task-card:has(.dot--low) {
  border-left: 2px solid var(--neutral);
}

.task-card.is-due-soon {
  background:
    linear-gradient(
      110deg,
      var(--warn-wash),
      transparent 42%
    ),
    var(--bg-raised);
}

.task-card.is-blocked {
  background:
    linear-gradient(
      110deg,
      var(--loss-wash),
      transparent 42%
    ),
    var(--bg-raised);
}

/* Better active filter contrast */

.chip.is-active {
  box-shadow:
    0 4px 14px rgba(74,127,224,.13),
    inset 0 0 0 1px rgba(255,255,255,.05);
}

/* More readable metadata */

.task-card-due {
  padding: 2px 6px;
  border-radius: 7px;
  background: var(--bg-inset);
}

.task-card-due.is-overdue {
  background: var(--loss-wash);
  color: var(--loss);
  font-weight: 600;
}

/* Done cards */

.task-card[data-task-id] {
  transition:
    transform var(--dur-fast) var(--ease-spring),
    box-shadow var(--dur-fast) var(--ease-smooth),
    border-color var(--dur-fast) var(--ease-smooth),
    background var(--dur-fast) var(--ease-smooth);
}

/* Retention explanation */

.board-retention-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: -8px;
  margin-bottom: 17px;
  color: var(--text-faint);
  font-size: var(--fs-11);
  font-family: var(--font-mono);
}

.board-retention-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--gain);
  box-shadow: 0 0 0 4px var(--gain-wash);
}

/* Calendar contrast */

.calendar-cell.is-today {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.calendar-event {
  transition:
    transform var(--dur-fast) var(--ease-spring),
    filter var(--dur-fast) var(--ease-smooth);
}

.calendar-event:hover {
  transform: translateX(2px);
  filter: brightness(1.08);
}

/* Journal outcomes */

.outcome-badge--win {
  box-shadow: 0 0 0 3px var(--gain-wash);
}

.outcome-badge--loss {
  box-shadow: 0 0 0 3px var(--loss-wash);
}

.outcome-badge--neutral {
  box-shadow: 0 0 0 3px rgba(139,147,161,.10);
}

/* Review queue */

.review-item {
  background:
    linear-gradient(
      100deg,
      var(--warn-wash),
      transparent 38%
    ),
    var(--bg-panel);
}

.review-item:hover {
  border-color: var(--warn);
}

/* Archive */

.archive-table th {
  color: var(--text-secondary);
}

.archive-table tr:hover td {
  background:
    linear-gradient(
      90deg,
      var(--accent-wash),
      transparent
    );
}

/* Settings */

.settings-block {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--bg-inset);
}

.settings-block h3 {
  color: var(--text-primary);
}

/* Light mode gets softer shadows */

html[data-theme="light"] .board-column,
html[data-theme="light"] .task-card,
html[data-theme="light"] .journal-list-pane,
html[data-theme="light"] .journal-detail-pane,
html[data-theme="light"] .review-item,
html[data-theme="light"] .archive-table {
  box-shadow: 0 10px 30px rgba(24,32,45,.06);
}

html[data-theme="light"] .task-card:hover,
html[data-theme="light"] .review-item:hover {
  box-shadow: 0 14px 30px rgba(24,32,45,.10);
}