/* T08: Lists screen */
.lists-head { display: flex; flex-direction: column; gap: 12px; padding: 0 4px 2px; }

.lists-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lists-seg-btn {
  min-height: 44px; padding: 0 12px;
  border-radius: var(--r-input); border: 1px solid var(--border);
  background: var(--bg); color: var(--text-2); font-size: 15px; cursor: pointer;
}
.lists-seg-btn:hover { border-color: #3A4048; }
.lists-seg-btn.on, .lists-seg-btn.on:hover {
  border-color: #F0A63A; background: #3A2E17; color: #F6D79A; font-weight: 600; cursor: default;
}

.lists-empty { font-size: 14px; color: var(--muted); padding: 4px; }

/* ---------- books ---------- */
.lists-book { padding: 12px 14px 14px; gap: 10px; }
.lists-book-head { display: flex; align-items: center; gap: 8px; min-height: 32px; }
.lists-book-title { font-size: 16px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; min-width: 0; }
.lists-book-meta { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.lists-queued, .lists-finished { min-height: 56px; justify-content: center; }
.lists-finished .lists-book-title { color: var(--text-2); }

.lists-note { font-size: 13px; line-height: 1.45; color: var(--muted); }
.lists-field { display: flex; flex-direction: column; gap: 6px; }
.lists-idea { min-height: 56px; }

.lists-check {
  display: flex; align-items: center; gap: 10px; align-self: flex-start;
  min-height: var(--tap); padding-right: 8px; font-size: 15px; cursor: pointer;
}
.lists-check input { width: 20px; height: 20px; margin: 0; accent-color: #F0A63A; cursor: pointer; }

.lists-ro { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; border-top: 1px solid var(--ok-border); }
.lists-ro .lists-field:first-child { padding-top: 8px; }
.lists-ro-text { font-size: 14px; line-height: 1.45; color: var(--line); overflow-wrap: anywhere; }
.lists-ideas { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.45; color: var(--line); }
.lists-ideas li { overflow-wrap: anywhere; }

.lists-add { display: flex; gap: 8px; }
.lists-add .input { flex: 1; min-width: 0; }
.lists-add-btn { min-height: var(--tap); }

.lists-select { appearance: auto; }
.lists-applied-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; }

/* ---------- log ---------- */
.lists-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 8px; }
.lists-count {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 8px 12px; border-radius: var(--r-input);
  background: var(--surface); border: 1px solid var(--border);
}
.lists-count-n { font-size: 20px; font-weight: 500; line-height: 1.2; color: var(--muted); }
.lists-count.has .lists-count-n { color: var(--text); }
.lists-count-t { font-size: 12px; color: var(--muted); }

.lists-log-add { padding: 12px; gap: 10px; }
.lists-types { display: flex; flex-wrap: wrap; gap: 8px; }
.lists-types .chip-btn { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.lists-log-add-row { display: flex; gap: 8px; }
.lists-log-add-row .input { flex: 1; min-width: 0; }

.lists-month { display: flex; flex-direction: column; gap: 8px; }
.lists-log-list { gap: 0; padding: 2px 12px 2px 14px; }
.lists-log-row { display: flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 6px 0; }
.lists-log-row + .lists-log-row { border-top: 1px solid var(--divider); }
.lists-log-title { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--line); overflow-wrap: anywhere; }
.lists-log-date { flex: none; width: 48px; text-align: right; font-size: 12px; color: var(--muted); }
