.sync-open{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:12px 0;text-align:left;color:#d5e6c9;font-size:13px;border-top:1px solid var(--line);margin-top:6px}
.sync-open small{font-size:11px;color:#a5b69a;line-height:1.5;white-space:normal}
#sync-dialog{width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:25px;overflow:auto;overscroll-behavior:contain}
#sync-dialog h2{margin:0 30px 12px 0;font:28px Georgia,serif}
#sync-dialog p{font-size:14px;line-height:1.75}
#sync-dialog .sync-close{position:sticky;float:right;top:0;width:44px;height:44px;font-size:28px;border-radius:8px;background:#26382a;margin:-10px -8px 0 0}
#sync-message{border-left:2px solid #a1c496;padding:9px 12px;background:#243427;overflow-wrap:anywhere}
#sync-login{display:flex;flex-direction:column;gap:16px;margin-top:20px}
#sync-login label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#ccdcc1}
#sync-login input[type=email],#sync-login input[type=password]{width:100%;padding:12px;min-height:46px;background:#142019;border:1px solid #526949;border-radius:7px;color:#e5eddf;font:16px system-ui}
#sync-login .sync-consent{display:flex;flex-direction:row;gap:10px;align-items:flex-start;line-height:1.7;font-size:13px;cursor:pointer}
.sync-consent input{margin-top:6px;flex-shrink:0;width:18px;height:18px;accent-color:#a1c496}
#sync-dialog button.primary-button,#sync-dialog button.outline-button{min-height:44px;padding:10px 14px;font-size:14px}
#sync-dialog button:disabled{opacity:.5;cursor:wait}
#sync-dialog [hidden]{display:none!important}
#sync-account-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
#sync-email-label{overflow-wrap:anywhere;color:#d9e7d0}
#sync-dialog .sync-footnote{font-size:12px;color:#a7b89e;border-top:1px solid #3b4e35;padding-top:15px}
