.chat-history-filters{display:flex;gap:4px;border-radius:9px;background:var(--soft,#f3f6fa);padding:4px}.chat-history-filters>button{flex:1;height:32px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--muted);font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}.chat-history-filters>button[aria-pressed=true]{background:var(--paper,#fff);color:var(--ink);font-weight:600;box-shadow:0 1px 3px #20305010}.chat-sidebar>.chat-history-filters{margin:0 16px 12px}.chat-history-kind{flex-shrink:0;font-size:11px;font-weight:500;line-height:1.5;padding:2px 6px;border-radius:4px;background:var(--soft,#eef3fb);color:var(--muted)}.chat-sidebar-item .chat-history-kind{display:inline-block;margin-top:4px;vertical-align:top}.recent-chat-panel{max-width:900px;margin:0 auto}.recent-chat-panel>.chat-history-filters{width:280px;max-width:100%;margin:0 0 22px}.recent-chat-rows{display:grid;gap:6px}.recent-chat-row{display:flex;align-items:center;gap:16px;padding:18px 14px;border-bottom:1px solid var(--line);border-radius:10px;text-decoration:none;color:var(--ink);min-width:0}.recent-chat-row:hover{background:var(--soft)}.recent-chat-row>img{width:64px;height:72px;border-radius:10px;object-fit:cover;flex-shrink:0}.recent-chat-row>div{flex:1;min-width:0}.recent-chat-row-title{display:flex;align-items:center;gap:8px;min-width:0}.recent-chat-row-title>strong{font-size:17px}.recent-chat-row p,.recent-chat-row-title>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-chat-row p{font-size:14px;color:var(--muted);margin:7px 0}.recent-chat-row small{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.recent-chat-row>svg{flex-shrink:0;color:var(--muted)}.recent-chat-empty{padding:60px 16px;text-align:center;color:var(--muted);font-size:14px}.recent-chat-empty h2{font-size:20px;color:var(--ink)}@media(max-width:650px){.recent-chat-row{padding:14px 0;gap:12px}.recent-chat-row>img{width:52px;height:60px}.recent-chat-row-title>strong{font-size:16px}.recent-chat-row p{font-size:13px}.recent-chat-row .chat-history-kind{font-size:10px}}.chat-sidebar-list{scrollbar-gutter:stable;overscroll-behavior:contain;padding-inline-end:8px}.chat-sidebar-item{height:100px;min-height:100px;box-sizing:border-box;align-items:flex-start}.chat-sidebar-item>span{flex:1;min-width:0}.chat-sidebar-item strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-sidebar-item small{min-height:46px}.chat-sidebar-item>img{flex-shrink:0}.chat-history-page-filters{width:280px;max-width:100%;margin-bottom:24px}.chat-sidebar-list{margin-bottom:12px}.chat-sidebar-item:last-child{border-bottom:0}.chat-sidebar>.rail-shortcuts{flex-shrink:0}.library-kind-filters{margin:0 0 24px;max-width:100%;width:fit-content}.library-kind-filters button{flex:0 0 88px;min-width:88px;white-space:nowrap}@media(max-width:420px){.library-kind-filters{width:100%}.library-kind-filters button{flex:1 1 0;min-width:0}}.library-page .sort-control,body .library-page .sort-control select:not([multiple]){min-width:110px}