.thread-history{position:relative;display:flex;align-items:center;gap:2px;font-family:var(--sans)}.thread-history-new,.thread-history-pill{display:inline-grid;place-items:center;width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:var(--ink-2);font:inherit;line-height:1;cursor:pointer}.thread-history-pill{position:relative;background:var(--paper-2);color:var(--ink-1)}.thread-history-new:hover,.thread-history-pill:hover{background:var(--paper-deep);color:var(--ink-1)}.thread-history-pill.is-on{background:var(--accent-soft);color:var(--accent-ink)}.thread-history-new:focus-visible,.thread-history-pill:focus-visible{outline:2px solid var(--accent-ink);outline-offset:1px}.thread-history-new:disabled{opacity:.45;cursor:default}.thread-history-count{position:absolute;top:-3px;right:-3px;min-width:15px;height:15px;padding:0 3px;border-radius:999px;background:var(--accent-ink);color:#fff;font-size:9.5px;font-weight:700;line-height:15px;text-align:center}.thread-history-shield{position:fixed;inset:0;z-index:40}.thread-history-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:41;width:264px;max-width:calc(100vw - 32px);border:1px solid var(--rule-strong);border-radius:10px;background:var(--paper-0);box-shadow:0 14px 34px -16px rgba(17,59,90,.55);overflow:hidden}.thread-history-menu-head{margin:0;padding:9px 10px 7px;border-bottom:1px solid var(--rule);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}.thread-history-list{margin:0;padding:0;list-style:none;max-height:46vh;overflow-y:auto}.thread-history-row{display:flex;align-items:center;gap:9px;width:100%;padding:8px 10px;border:0;border-bottom:1px solid var(--rule);background:transparent;font:inherit;text-align:left;cursor:pointer}.thread-history-list li:last-child .thread-history-row{border-bottom:0}.thread-history-row:hover{background:var(--paper-1)}.thread-history-row.is-active{background:var(--accent-soft)}.thread-history-row:disabled{opacity:.6;cursor:default}.thread-history-dot{flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:var(--ink-4)}.thread-history-row.is-active .thread-history-dot{background:var(--accent-2)}.thread-history-row-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}.thread-history-title{font-size:13px;font-weight:500;color:var(--ink-1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-history-row.is-active .thread-history-title{font-weight:600}.thread-history-meta{font-size:11.5px;color:var(--ink-2)}.thread-history-check{flex:0 0 auto;color:var(--accent-2);display:inline-grid;place-items:center}.thread-history-create{display:flex;align-items:center;gap:8px;width:100%;padding:9px 10px;border:0;border-top:1px solid var(--rule);background:transparent;font:inherit;font-size:13px;font-weight:600;color:var(--accent-ink);text-align:left;cursor:pointer}.thread-history-create:hover{background:var(--accent-soft)}.thread-history-create:disabled{opacity:.5;cursor:default}.thread-history-all{display:block;padding:7px 10px;border-top:1px solid var(--rule);background:var(--paper-1);font-size:11.5px;color:var(--accent-ink);text-decoration:none}.thread-history-all:hover{text-decoration:underline}.thread-history-loose{display:flex;justify-content:flex-end;margin-bottom:6px}.thread-resume{margin:0 0 -12px;padding:12px 13px;border:1px solid var(--accent);border-radius:12px;background:var(--accent-soft);font-family:var(--sans)}.thread-resume-lead{margin:0 0 3px;font-size:13.5px;font-weight:650;color:var(--accent-ink)}.thread-resume-thread{margin:0 0 10px;font-family:var(--serif);font-size:13.5px;line-height:1.45;color:var(--ink-1)}.thread-resume-title{display:inline;overflow-wrap:anywhere}.thread-resume-meta{color:var(--ink-2)}.thread-resume-actions{display:flex;gap:8px;flex-wrap:wrap}.thread-resume-fresh,.thread-resume-go{padding:6px 13px;border-radius:8px;font:inherit;font-size:13px;cursor:pointer}.thread-resume-go{border:1px solid var(--accent-ink);background:var(--accent-ink);color:#fff;font-weight:600}.thread-resume-go:hover{background:var(--ink-1);border-color:var(--ink-1)}.thread-resume-fresh{border:1px solid var(--rule-strong);background:var(--paper-0);color:var(--ink-1)}.thread-resume-fresh:hover{background:var(--paper-1)}.thread-resume-fresh:disabled,.thread-resume-go:disabled{opacity:.55;cursor:default}.thread-resume-more{display:flex;align-items:center;gap:5px;margin-top:9px;padding:0;border:0;background:transparent;font:inherit;font-size:11.5px;color:var(--ink-2);cursor:pointer}.thread-resume-more:hover{color:var(--ink-1);text-decoration:underline}.thread-history-loading{padding:10px 8px;font-family:var(--sans);font-size:12.5px;color:var(--ink-2)}@media (max-width:1120px){.thread-history{gap:4px}.thread-history-new,.thread-history-pill{width:44px;height:44px;border-radius:10px}.thread-history-count{top:3px;right:3px}.thread-history-menu{display:flex;flex-direction:column;width:min(360px,calc(100vw - 24px));max-width:none;max-height:50dvh}.thread-history-list{flex:1 1 auto;min-height:0;max-height:none}.thread-history-row{min-height:48px;padding:8px 12px}.thread-history-title{font-size:14px}.thread-history-meta{font-size:12px}.thread-history-all,.thread-history-create{display:flex;align-items:center;min-height:48px;padding:0 12px}.thread-history-create{font-size:14px}.thread-history-all{font-size:13px}.thread-resume-fresh,.thread-resume-go{min-height:44px;padding:0 16px;font-size:14px}.thread-resume-more{min-height:44px;font-size:12.5px}}