.connect-history { width:min(820px,calc(100vw - 24px)); max-height:calc(100dvh - 32px); padding:0; border:1px solid #b9d8d0; border-radius:18px; background:#fbfdfc; color:#183f42; box-shadow:0 24px 80px #062d3940; overflow:auto; box-sizing:border-box; }
.connect-history::backdrop { background:#062c3ba6; backdrop-filter:blur(3px); }
.connect-history header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; border-bottom:1px solid #d7e7e1; background:#edf7f2; }
.connect-history h2 { margin:3px 0 0; font-size:21px; color:#183f42; }.connect-history header small { font-size:10px; font-weight:750; letter-spacing:.07em; }
.connect-history button,.connect-history input,.connect-history select { box-sizing:border-box; font:inherit; }
.connect-history button { min-height:40px; padding:8px 12px; border:1px solid #c7ded6; border-radius:9px; background:#fff; color:#194b47; cursor:pointer; }
.connect-history button:disabled { opacity:.5; cursor:default; }.connect-history button:focus-visible { outline:3px solid #2a9a8a; outline-offset:2px; }
.connect-history .ch-filters { display:flex; flex-wrap:wrap; gap:10px; padding:10px 16px 0; }
.connect-history .ch-filters>label { flex:1 1 160px; }
.connect-history .ch-entry strong { font-size:13px; font-weight:650; line-height:1.35; overflow-wrap:anywhere; }
.connect-history label { display:grid; gap:6px; min-width:0; font-size:12px; font-weight:650; }
.connect-history select,.connect-history input[type=date] { width:100%; min-width:0; min-height:40px; padding:8px; border:1px solid #c7ded6; border-radius:8px; background:#fff; color:#183f42; }
.connect-history .ch-notice { margin:9px 16px; padding:7px 10px; background:#f1f6f3; border-radius:7px; font-size:12px; line-height:1.4; color:#52716a; }
.connect-history .ch-message { margin:10px 20px; font-size:12px; color:#376d62; }.connect-history .ch-message.is-error { color:#a03c2f; }.connect-history .ch-message:empty { display:none; }
.connect-history .ch-content { padding:0 20px 16px; }.connect-history .ch-content>h3 { margin:14px 0 5px; font-size:17px; }.connect-history .ch-author { margin:0 0 14px; font-size:12px; line-height:1.5; color:#5f7973; overflow-wrap:anywhere; }
.connect-history button.ch-entry { width:100%; display:grid; grid-template-columns:minmax(0,1fr) 122px 10px; gap:10px; align-items:center; text-align:left; min-height:54px; margin:0; padding:8px 10px; border:0 !important; border-bottom:1px solid #d7e7e1 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
.connect-history button.ch-entry:first-child { border-top:1px solid #d7e7e1 !important; }
.connect-history button.ch-entry:nth-child(even) { background:#f3f8f5 !important; }
.connect-history button.ch-entry:hover { background:#e7f3ed !important; }.connect-history .ch-entry strong,.connect-history .ch-entry small { display:block; }.connect-history .ch-entry small { margin-top:3px; font-size:11px; font-weight:400; line-height:1.3; color:#45675f; }.connect-history .ch-entry b { display:inline-block; padding:2px 6px; border-radius:4px; background:#e5f0eb; font-size:10px; font-weight:600; text-transform:capitalize; }
.connect-history .ch-entry-copy { min-width:0; }
.connect-history .ch-entry-meta { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.connect-history .ch-entry-time { text-align:right; white-space:nowrap; }
.connect-history footer { display:flex; gap:8px; justify-content:flex-end; padding:12px 20px; border-top:1px solid #d7e7e1; }
.connect-history [hidden] { display:none !important; }.connect-history .ch-empty { padding:25px 5px; font-size:13px; line-height:1.6; }
.connect-history .ch-comparisons article,.connect-history .ch-publication { border:1px solid #d7e7e1; border-radius:10px; margin:9px 0; overflow:hidden; }.connect-history .ch-comparisons h3,.connect-history .ch-publication h3 { font-size:12px; margin:0; padding:8px 12px; background:#edf5f0; }
.connect-history .ch-comparisons article>div { display:grid; grid-template-columns:1fr 1fr; }.connect-history .ch-comparisons section { padding:10px 12px; min-width:0; }.connect-history .ch-comparisons section+section { border-left:1px solid #d7e7e1; background:#f4faf6; }.connect-history .ch-comparisons small { font-size:10px; color:#68857c; font-weight:700; }.connect-history .ch-comparisons p { margin:5px 0 0; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }.connect-history .ch-publication>p,.connect-history details { padding:0 12px; font-size:12px; }
.connect-history .ch-restore-controls { display:flex; align-items:flex-end; gap:12px; margin:16px 0 8px; flex-wrap:wrap; }.connect-history .ch-restore-controls label { flex:1; }.connect-history .ch-ack { display:flex; align-items:flex-start; margin:16px 0; font-size:12px; line-height:1.5; }.connect-history .ch-ack input { flex:0 0 18px; width:18px; height:18px; margin:1px 5px 0 0; accent-color:#147b67; }.connect-history button.ch-confirm { background:#147b67; color:#fff; border-color:#147b67; }
#openConnectHistoryBtn svg { width:18px; height:18px; flex:0 0 auto; }body .schedule-toolbar .top-actions #openConnectHistoryBtn::before { content:none; }
@media(max-width:520px){.connect-history .ch-filters { gap:8px; }.connect-history button.ch-entry { grid-template-columns:minmax(0,1fr) 10px; gap:5px 8px; padding:9px 6px; }.connect-history .ch-entry>span:nth-child(2) { grid-column:1; display:flex; gap:7px; align-items:center; text-align:left; }.connect-history .ch-entry-time small { margin:0; }.connect-history .ch-entry>span:last-child { grid-column:2; grid-row:1/3; }.connect-history .ch-content { padding-inline:12px; }.connect-history .ch-comparisons article>div { grid-template-columns:1fr; }.connect-history .ch-comparisons section+section { border-left:0; border-top:1px solid #d7e7e1; }}
