/* The shadow list (docs/CREEP.md): plain paper cards, one per piece of work a meeting asked for, with a coloured
   left edge and chip for where it came from (inbox blue, could-do sand, decision lavender, meeting plan green, Claude
   sky). "Waiting 16 days" uses the warn tone, never red. The admins' read is a short list of numbers with hints: no
   charts, no bars. Tabs are pills; the filters sit in a row that stacks on phones. One column under 720px. */
:root { --cr-edge: var(--line); --cr-inbox: var(--face-blue); --cr-could: var(--face-sand); --cr-decision: var(--face-lav); --cr-plan: var(--face-green); --cr-claude: var(--face-sky); }
:root[data-theme="dark"] { --cr-edge: var(--line); --cr-inbox: var(--face-blue); --cr-could: var(--face-sand); --cr-decision: var(--face-lav); --cr-plan: var(--face-green); --cr-claude: var(--face-sky); }

.view[data-page="creep"] { --locky: url("/img/locky-zen.png"); --locky-shows: block; }

.cr-claude-off { margin: 0 0 14px; padding: 8px 12px; border-radius: var(--radius-s); background: var(--sunk); }

.cr-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.cr-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 2px solid var(--keyline); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: var(--slab-s); }
.cr-tabs a[aria-current="page"] { background: var(--cobalt); color: #FFFFFF; }
.cr-count { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--sunk); color: var(--ink); font-size: 12px; text-align: center; }
.cr-tabs a[aria-current="page"] .cr-count { background: var(--paper); color: var(--navy); }

.cr-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }
.cr-filters .field { flex: 1 1 220px; min-width: 0; margin: 0; }

.cr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cr-card { display: grid; gap: 4px; min-width: 0; padding: 12px 14px; border: 1px solid var(--cr-edge); border-left: 4px solid var(--cr-inbox); border-radius: var(--radius-s); background: var(--raised); animation: cr-fade .18s ease-out; }
.cr-card p { margin: 0; }
.cr-face-could { border-left-color: var(--cr-could); }
.cr-face-decision { border-left-color: var(--cr-decision); }
.cr-face-plan { border-left-color: var(--cr-plan); }
.cr-face-claude { border-left-color: var(--cr-claude); }
.cr-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.cr-title { overflow-wrap: anywhere; }
.cr-chip-inbox { --chip-face: var(--cr-inbox); }
.cr-chip-could { --chip-face: var(--cr-could); }
.cr-chip-decision { --chip-face: var(--cr-decision); }
.cr-chip-plan { --chip-face: var(--cr-plan); }
.cr-chip-claude { --chip-face: var(--cr-claude); }
.cr-from, .cr-quote { overflow-wrap: anywhere; }
.cr-quote { color: var(--muted); font-style: italic; }
.cr-warn { justify-self: start; color: var(--warn-ink); background: var(--warn-bg); border-radius: var(--radius-s); padding: 2px 8px; }
.cr-task { font-weight: 600; }
.cr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.cr-more { margin: 10px 0 0; }

.cr-read-words { margin-bottom: 10px; }
.cr-read-words p { margin: 0 0 4px; }
.cr-read-headline { font-weight: 800; font-size: 1.05em; }
.cr-numbers { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.cr-numbers li { display: grid; gap: 1px; }
.cr-earlier { margin-top: 6px; }
.cr-earlier summary { cursor: pointer; font-weight: 700; }
.cr-dialog { max-width: 560px; }

@keyframes cr-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .cr-card { animation: none; }
}
@media (max-width: 720px) {
  .cr-filters { flex-direction: column; }
  .cr-filters .field { flex: none; }
  .cr-card { padding: 10px 12px; }
}
