.history-sync-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.history-sync-jobs{margin-top:16px}.history-sync-job{border-top:1px solid var(--line);padding:16px 0;overflow-wrap:anywhere}.history-sync-job p{margin:8px 0}.history-sync-state{color:var(--green)}.history-sync-dialog{width:min(600px,calc(100vw - 28px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:18px;padding:24px;background:var(--paper);color:var(--ink)}.history-sync-form{display:grid;gap:16px}.history-sync-field{display:grid;gap:8px;min-width:0}.history-sync-field :is(select,input){width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink)}.history-sync-dates{display:grid;grid-template-columns:1fr 1fr;gap:14px}.history-sync-form [hidden]{display:none!important}.history-sync-form p{margin:0;line-height:1.65}.history-sync-form .dialog-head{gap:12px}.history-sync-form .dialog-head h2{margin:0;font-size:22px}.history-sync-form .error:empty{display:none}.history-sync-form>button{min-height:44px}@media(max-width:520px){.history-sync-dialog{padding:18px}.history-sync-dates{grid-template-columns:1fr}.history-sync-form .dialog-head h2{font-size:20px}.history-sync-job strong{font-size:15px}}

.history-conversation-options{max-height:210px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:8px;padding:4px;background:var(--paper)}.history-conversation-option{display:block;width:100%;border:0;border-radius:5px;padding:10px 12px;text-align:left;white-space:normal;overflow-wrap:anywhere;background:transparent;color:var(--ink);font:inherit;cursor:pointer}.history-conversation-option:hover,.history-conversation-option.active{background:var(--soft);color:var(--green)}.history-conversation-picker>label{cursor:text}
