.list { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgb(17 17 17 / 0.18) transparent; }
.list::-webkit-scrollbar { width: 8px; }
.list::-webkit-scrollbar-thumb { background: rgb(17 17 17 / 0.18); border-radius: 999px; }
.row { display: flex; flex-direction: column; gap: 0.5rem; position: relative; border-bottom: 1px solid var(--line); padding: 0.75rem 0.75rem 0.75rem 0.85rem; }
.row:hover { background: rgb(255 255 255 / 0.7); }
.row.selected { background: var(--canvas); }
.row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--accent); opacity: 0; }
.row.selected::before { opacity: 1; }
.row-main { display: flex; align-items: flex-start; gap: 0.5rem; min-width: 0; }
.row-check { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; flex-shrink: 0; }
.row-check input { width: 1rem; height: 1rem; accent-color: var(--accent); }
.row-open { flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 0.75rem; text-align: left; border: 0; background: transparent; color: inherit; padding: 0; }
.avatar { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; display: grid; place-items: center; font-family: var(--display); font-size: 0.75rem; font-weight: 500; background: var(--canvas); box-shadow: var(--shadow); flex-shrink: 0; }
.avatar.good { background: var(--accent); color: var(--ink); box-shadow: none; }
.meta { min-width: 0; flex: 1; }
.meta .name { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; }
.meta .name b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.meta .name time { font-family: var(--mono); font-size: 0.7rem; font-weight: 400; color: var(--muted); flex-shrink: 0; }
.meta .sub { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-top: 0.15rem; font-size: 0.75rem; color: var(--muted); }
.meta .sub .contact { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 14rem; }
.badge { border-radius: 999px; padding: 0.1rem 0.4rem; font-size: 0.65rem; font-weight: 500; color: var(--ink); background: var(--paper); }
.badge.due { background: var(--accent); }
.badge.capi { background: var(--ink); color: var(--canvas); }
.row.junk .name b { color: var(--muted); }
.row-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.25rem; padding-left: 3rem; }
.tag-mini { height: 2.5rem; border: 0; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 500; background: var(--paper); color: var(--muted); }
.tag-mini:hover:not(:disabled) { background: var(--canvas); color: var(--ink); box-shadow: var(--shadow); }
.tag-mini.active.good { background: var(--accent); color: var(--ink); }
.tag-mini.active.warm { background: var(--canvas); color: var(--ink); box-shadow: var(--shadow); }
.tag-mini.active.junk { background: var(--ink); color: var(--canvas); }
.empty { padding: 3rem 1.5rem; text-align: center; }
.empty h3 { font-size: 1.5rem; margin: 0; }
.empty p { margin: 0.5rem auto 0; max-width: 18rem; color: var(--muted); font-size: 0.875rem; }

.bulk { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; background: var(--ink); color: var(--paper); }
.bulk p { margin: 0 auto 0 0; font-size: 0.75rem; font-weight: 500; }
.bulk-btn { height: 2.5rem; border: 0; border-radius: 0.5rem; padding: 0 0.75rem; font-size: 0.75rem; font-weight: 500; }
.bulk-btn.good { background: var(--accent); color: var(--ink); }
.bulk-btn.warm { background: rgb(244 241 236 / 0.1); color: var(--paper); }
.bulk-btn.junk { background: var(--paper); color: var(--ink); }
.bulk-clear { height: 2.5rem; border: 0; background: transparent; color: rgb(244 241 236 / 0.6); font-size: 0.75rem; }

.gutter, .pane-rail, .record, .classify-pane { display: none; }
.empty-work { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2.5rem; }
.empty-mark { width: 3.5rem; height: 3.5rem; border-radius: 0.5rem; display: grid; place-items: center; background: var(--canvas); box-shadow: var(--shadow); font-family: var(--display); font-size: 1.25rem; }
.empty-mark span { color: var(--accent); }
.empty-work h2 { font-size: 1.75rem; margin-top: 1.25rem; }
.empty-work p { margin: 0.5rem 0 0; max-width: 22rem; color: var(--muted); font-size: 0.9rem; }

.detail { display: flex; flex-direction: column; min-height: 0; flex: 1; height: 100%; background: var(--paper); }
.detail-head { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--canvas); }
.detail-head .min-w { min-width: 0; flex: 1; }
.detail-head .pane-icon { margin-left: auto; }
.detail-head h2 { font-size: 1.25rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.when { margin: 0.35rem 0 0; font-size: 0.75rem; color: var(--muted); }
.status-chip { display: inline-flex; border-radius: 999px; padding: 0.1rem 0.5rem; font-size: 0.7rem; font-weight: 500; background: var(--paper); vertical-align: middle; margin-left: 0.4rem; }
.status-chip.Good_Quality { background: var(--accent); }
.status-chip.Junk { background: var(--ink); color: var(--canvas); }
.detail-body { flex: 1; min-height: 0; overflow-y: auto; }
.work-grid { display: grid; gap: 1.25rem; max-width: 40rem; margin: 0 auto; padding: 1.5rem; width: 100%; }
.panel { border-radius: 0.75rem; padding: 1.25rem; background: var(--canvas); box-shadow: var(--shadow); }
.panel .eyebrow { margin-bottom: 0.75rem; }
.copy-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.copy-row:last-child { border-bottom: 0; }
.copy-row dt { width: 5.5rem; flex-shrink: 0; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem; }
.copy-row dd { margin: 0; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; }
.copy-row a, .copy-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-row a { color: inherit; text-decoration: none; }
.copy-row a:hover { color: var(--accent); }
.copy-btn { height: 2.5rem; min-width: 2.5rem; border: 0; border-radius: 0.5rem; background: transparent; color: var(--muted); font-size: 0.7rem; font-weight: 500; }
.copy-btn:hover { background: var(--paper); color: var(--ink); }
.copy-btn.copied { color: var(--accent); }
.mono { font-family: var(--mono); font-size: 0.75rem; }
.capi-row { display: flex; gap: 0.75rem; align-items: flex-start; }
.capi-row p { margin: 0; font-size: 0.875rem; font-weight: 500; }
.capi-row small { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.75rem; font-weight: 400; line-height: 1.45; }

.pane-icon { width: 2.25rem; height: 2.25rem; border: 0; border-radius: 0.5rem; background: var(--canvas); color: var(--ink); box-shadow: var(--shadow); font-size: 1.1rem; line-height: 1; display: grid; place-items: center; flex-shrink: 0; }
.pane-icon.light { background: rgb(244 241 236 / 0.1); color: var(--paper); box-shadow: none; }
.pane-icon:hover { background: var(--paper); }
.pane-icon.light:hover { background: rgb(244 241 236 / 0.16); }
.pane-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; padding: 1.25rem 1.25rem 0; }
.classify-kicker { margin: 0.35rem 0 0; font-family: var(--display); font-size: 1.15rem; color: var(--paper); }
.classify-main { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem; margin-top: auto; }
.classify-idle { margin: 0; padding: 1.25rem; color: rgb(244 241 236 / 0.5); font-size: 0.85rem; line-height: 1.5; }
.tag { min-height: 3rem; border: 0; border-radius: 0.5rem; padding: 0.75rem 1rem; display: flex; flex-direction: column; align-items: flex-start; text-align: left; font-weight: 500; font-size: 0.875rem; }
.tag.good { background: var(--accent); color: var(--ink); }
.tag.warm { background: rgb(244 241 236 / 0.1); color: var(--paper); }
.tag.junk { background: var(--paper); color: var(--ink); }
.tag small { font-size: 0.7rem; opacity: 0.55; font-weight: 400; margin-top: 0.15rem; }
