.thread-view { color-scheme: light dark; background: Canvas; color: CanvasText; max-width: 1100px; margin: 1rem auto; padding: 0 1rem 3rem; overflow-wrap: anywhere; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.thread-view .thread-controls { padding-bottom: .8rem; border-bottom: 1px solid color-mix(in srgb, CanvasText 20%, transparent); }
.thread-view h1 { margin: 0 0 .2rem; font-size: 1.35rem; }
.thread-view .thread-generated { color: GrayText; font-size: .85rem; }
.thread-view .controls, .thread-view nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.thread-view input, .thread-view select, .thread-view button { font: inherit; color: inherit; background: Canvas; border: 1px solid color-mix(in srgb, CanvasText 30%, transparent); border-radius: .45rem; padding: .45rem .65rem; }
.thread-view button { cursor: pointer; }
.thread-view button[aria-pressed="true"] { background: Highlight; color: HighlightText; }
.thread-view nav .count { color: GrayText; font-variant-numeric: tabular-nums; }
.thread-view nav button[aria-pressed="true"] .count { color: inherit; }
.thread-view .move-label { align-self: center; margin-left: .4rem; color: GrayText; }
.thread-view .move-to { display: inline-flex; flex-wrap: wrap; gap: .35rem; }
.thread-view article { border: 1px solid color-mix(in srgb, CanvasText 20%, transparent); border-radius: .6rem; padding: .85rem 1rem; margin: .7rem 0; }
.thread-view article h2 { margin: 0; font-size: 1.05rem; }
.thread-view .meta, .thread-view .goal { margin: .3rem 0; color: GrayText; }
.thread-view .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.thread-view .thread-empty { color: GrayText; padding: 1rem 0; }
.thread-view .thread-shown { color: GrayText; font-size: .85rem; margin: .6rem 0 0; }
.thread-view .thread-shown:empty { display: none; }
.thread-view .action-result { flex-basis: 100%; }
.thread-view textarea { width: 100%; min-height: 12rem; }
.thread-view button:disabled { cursor: wait; opacity: .65; }
