body.view-thoughts #sidePanel { display:none!important; }
body.view-thoughts .workspace { grid-template-columns:minmax(0,1fr); }
body.view-thoughts #detailPanel { display:block; grid-column:1/-1; width:100%; min-width:0; }
.thought-collection { margin-top:3rem; padding-top:2rem; border-top:1px solid var(--secondary-border,#4d3855); scroll-margin-top:6rem; }
.thought-collection-header h2 { font-size:clamp(1.5rem,4vw,2.1rem); line-height:1.5; margin:.35rem 0 .65rem; }
.thought-collection-header .secondary-description { max-width:48rem; }
.thought-jump { display:inline-flex; align-items:center; gap:.6rem; min-height:44px; margin:.25rem 0 1rem; padding:.55rem .85rem; background:#211725; border:1px solid #4d3855; border-radius:8px; color:#e1b9ed; font:inherit; font-size:.88rem; cursor:pointer; }
.thought-jump:hover { background:#34213b; }
.thought-topics { display:flex; flex-wrap:wrap; gap:.45rem; margin:.75rem 0; }
.thought-topics button { min-height:44px; padding:.55rem .85rem; border:1px solid #4d3855; border-radius:8px; background:#211725; color:#d7c3dd; font:inherit; font-size:.82rem; cursor:pointer; }
.thought-topics button[aria-pressed="true"] { background:#56315f; border-color:#b682c6; color:#fff1ff; }
.thought-grid > li[hidden], [data-thought-empty][hidden] { display:none!important; }
.thought-card time { color:var(--secondary-muted,#bfb1c5); font-size:.75rem; margin:0 0 1rem; }
.thought-card .secondary-card-action { padding-top:.25rem; }
.thought-labels { display:flex; flex-wrap:wrap; gap:.5rem; margin:1rem 0; }
.thought-labels span { border:1px solid #4d3855; border-radius:6px; padding:.25rem .6rem; color:#cba0d8; font-size:.8rem; }
.thought-prose h3 { font-size:1.16rem; line-height:1.75; margin:2.3rem 0 1rem; color:#e6c4ee; white-space:pre-line; }
.thought-prose h3:first-child { margin-top:0; }
.thought-related { margin-top:2rem; border-top:1px solid #4d3855; padding-top:1.2rem; }
.thought-related h3 { font-size:1.1rem; }
.thought-related ul { list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:.5rem 1.2rem; }
.thought-related a { display:inline-flex; min-height:44px; align-items:center; }
.thought-page .thought-collection { margin-top:0; padding-top:0; border-top:0; }


.thought-card h3 { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
.thought-card .secondary-mode { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
