#seafix-demo #sf-history-protection{box-sizing:border-box;width:min(456px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;border:1px solid var(--sf-line,#e4e6e9);border-radius:20px;background:var(--sf-surface,#fff);color:var(--sf-text,#24282e);font-family:inherit;box-shadow:0 20px 65px #18202a24}
#seafix-demo #sf-history-protection::backdrop{background:#151a225e;backdrop-filter:blur(7px)}
#seafix-demo #sf-history-protection [hidden],#seafix-demo .sf-history-reminder[hidden]{display:none!important}
#seafix-demo #sf-history-protection .sf-history-heading{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px}
#seafix-demo #sf-history-protection [data-history-icon]{display:flex;align-items:center;flex:none;padding:0;margin:1px 0 0;background:none;border:0;color:var(--sf-heading,#202327)}
#seafix-demo #sf-history-protection [data-history-icon] svg{width:24px;height:27px}
#seafix-demo #sf-history-protection h2{flex:1;min-width:0;margin:0;font-size:23px;line-height:1.25;font-weight:650;letter-spacing:-.6px;color:var(--sf-heading,#202327)}
#seafix-demo #sf-history-protection button{font:inherit;cursor:pointer;transition:background .15s ease,color .15s ease}
#seafix-demo #sf-history-protection button:disabled{opacity:.5;cursor:default}
#seafix-demo #sf-history-protection .sf-history-close{display:grid;place-items:center;flex:none;width:36px;height:36px;margin:-5px -9px 0 0;padding:7px;border:0;border-radius:8px;background:transparent;color:var(--sf-muted,#62676f)}
#seafix-demo #sf-history-protection .sf-history-close svg{width:18px;height:18px}
#seafix-demo #sf-history-protection p{margin:0 0 16px;font-size:14px;line-height:1.65;color:var(--sf-muted,#62676f)}
#seafix-demo #sf-history-protection .sf-history-hint{display:flex;align-items:flex-start;gap:10px;margin:17px 0;padding:13px 14px;border-radius:11px;background:var(--sf-surface-raised,#f5f6f7);font-size:13px;line-height:1.6;color:var(--sf-text,#24282e)}
#seafix-demo #sf-history-protection .sf-history-hint svg{width:19px;height:19px;flex:none;margin-top:1px}
#seafix-demo #sf-history-protection .sf-history-primary,#seafix-demo #sf-history-protection .sf-history-secondary{display:block;width:100%;min-height:46px;margin-top:9px;padding:11px 14px;border-radius:10px;white-space:normal;font-size:14px;font-weight:600;line-height:1.45}
#seafix-demo #sf-history-protection .sf-history-primary{border:1px solid var(--sf-heading,#24282e);background:var(--sf-heading,#24282e);color:var(--sf-surface,#fff)}
#seafix-demo #sf-history-protection .sf-history-secondary{border:1px solid var(--sf-line,#e4e6e9);background:transparent;color:var(--sf-text,#24282e)}
#seafix-demo #sf-history-protection .sf-history-secondary:hover,#seafix-demo #sf-history-protection .sf-history-close:hover{background:var(--sf-surface-raised,#f5f6f7)}
#seafix-demo #sf-history-protection .sf-history-foot{margin:18px 0 0;padding-top:13px;border-top:1px solid var(--sf-line,#e4e6e9);font-size:12px;line-height:1.6}
#seafix-demo #sf-history-protection .sf-history-key{padding:14px 16px;margin:17px 0 5px;border:1px solid var(--sf-line,#e4e6e9);border-radius:12px;background:var(--sf-surface-raised,#f5f6f7)}
#seafix-demo #sf-history-protection .sf-history-key>span{display:block;margin-bottom:8px;font-size:12px;color:var(--sf-muted,#62676f)}
#seafix-demo #sf-history-protection [data-history-key]{display:block;font:15px/1.85 "SFMono-Regular",Consolas,monospace;letter-spacing:.4px;overflow-wrap:anywhere;user-select:all;color:var(--sf-heading,#202327)}
#seafix-demo #sf-history-protection .sf-history-inline{display:grid;grid-template-columns:1fr 1fr;gap:9px}
#seafix-demo #sf-history-protection .sf-history-check{display:flex;align-items:flex-start;gap:10px;margin:20px 0;min-height:44px;font-size:13px;line-height:1.6;color:var(--sf-text,#24282e);cursor:pointer}
#seafix-demo #sf-history-protection .sf-history-check input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--sf-heading,#24282e)}
#seafix-demo #sf-history-protection [data-history-note]{margin:11px 0 0;font-size:12px;line-height:1.6}
#seafix-demo #sf-history-protection [data-history-note].is-error{color:var(--sf-danger,#b42335)}
#seafix-demo .sf-history-reminder{display:flex;gap:10px;padding:13px 14px;margin:12px 0 0;border:1px solid var(--sf-line,#e4e6e9);border-radius:12px;background:var(--sf-surface-raised,#f5f6f7);color:var(--sf-text,#24282e)}
#seafix-demo .sf-history-reminder>svg{width:20px;height:20px;flex:none;margin-top:2px}
#seafix-demo .sf-history-reminder>div{min-width:0}
#seafix-demo .sf-history-reminder strong{display:block;font-size:13px;font-weight:600;line-height:1.5}
#seafix-demo .sf-history-reminder p{margin:4px 0 0;font-size:12px;line-height:1.55;color:var(--sf-muted,#62676f)}
#seafix-demo .sf-history-reminder button{min-height:40px;margin:2px 0 -5px;padding:6px 0;background:transparent;border:0;color:var(--sf-heading,#24282e);font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer;text-align:left}
@media(max-width:420px){#seafix-demo #sf-history-protection{padding:20px}#seafix-demo #sf-history-protection h2{font-size:21px}#seafix-demo #sf-history-protection [data-history-key]{font-size:14px}}
/* U3 D: second, quieter action on the chat reminder. */
#seafix-demo .sf-history-reminder-actions{display:flex;flex-wrap:wrap;column-gap:18px}
#seafix-demo .sf-history-reminder [data-reminder-snooze]{color:var(--sf-muted,#62676f);font-weight:500}
