/* Signup guidance uses existing terms validation; motion never scrolls or accepts terms. */
#signupTermsField{background:linear-gradient(145deg,#f1fbff,#eef8ff);border:1px solid #c7e7f5;padding:20px;border-radius:24px}
.terms-steps{display:flex;gap:12px;padding:0;margin:18px 0;list-style:none;font-size:13px;font-weight:750;color:#627a8b}
.terms-steps li{flex:1;display:flex;align-items:center;gap:7px;line-height:1.4}
.terms-steps li>span{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#e0eaf0;color:#526778}
.terms-steps [aria-current=step]{color:#005e9f}.terms-steps [aria-current=step]>span{color:white;background:#007bc5;box-shadow:0 0 0 5px #d3edff}
.terms-steps .complete{color:#087f76}.terms-steps .complete>span{background:#c6f4e8;color:#066e58}
.terms-guide,.terms-type-guide{display:flex;align-items:center;gap:12px;background:#fff3ce;border:1px solid #edca65;border-radius:16px;padding:14px;margin-bottom:12px;color:#6c4500}
.terms-guide strong,.terms-type-guide strong{display:block;font-size:15px;line-height:1.4}.terms-guide small,.terms-type-guide small{display:block;font-size:13px;line-height:1.55;margin-top:4px}
.terms-scroll-motion{display:grid;place-items:center;flex:0 0 38px;height:44px;font-size:30px;font-weight:800;border-radius:14px;background:#ffdf80;animation:terms-down 1.5s ease-in-out infinite}
#signupTermsText{height:260px;scrollbar-width:auto;scrollbar-color:#0087ca #e2f2fa;border:2px solid #76bbdf;box-shadow:0 3px 12px #0757820a;scroll-margin:20px}
#signupTermsText:focus-visible{outline:3px solid #007ac5;outline-offset:3px}
.terms-progress-row{display:flex;justify-content:space-between;margin:12px 0 7px;font-size:12px;color:#345c77}.terms-progress-row b{color:#006bb1}
.terms-progress{height:7px;background:#d7eaf5;border-radius:10px;overflow:hidden}.terms-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#0086df,#04b8b4);transition:width .15s}
#signupTermsReadStatus{font-size:13px;line-height:1.55;color:#345c77;margin:12px 0 18px}
.terms-agreement-area{padding:14px;border:2px solid transparent;border-radius:18px;scroll-margin:24px;min-width:0}.terms-agreement-area label{display:block;font-size:14px;line-height:1.5;margin-bottom:8px}.terms-agreement-area>small{display:block;margin-top:10px;color:#506e82;font-size:12px;line-height:1.55}
.terms-agreement-area .input{width:100%;box-sizing:border-box;margin:0;min-height:54px}
.terms-type-guide{background:#e2f6ff;color:#005987;border-color:#9ad5f1;padding:12px;gap:9px}.terms-type-guide>span:first-child{font-size:26px}.terms-type-arrow{margin-left:auto;font-size:24px;animation:terms-down 1.5s ease-in-out infinite}
#signupTermsField[data-step=agree] .terms-agreement-area{background:#fff;border-color:#0090d8;animation:terms-glow 2s ease-in-out 4}
#signupTermsField[data-step=done] .terms-agreement-area{background:#edfbf5;border-color:#71c9ab}#signupTermsField[data-step=done] #signupTermsReadStatus{color:#087052;font-weight:750}
#signupTermsField.terms-attention[data-step=read] .terms-guide,#signupTermsField.terms-attention[data-step=agree] .terms-agreement-area{animation:terms-glow 1.2s ease-in-out 4}
#signupAgreement[aria-invalid=true]{border:2px solid #bb3a23;background:#fff9ef}
@keyframes terms-down{0%,100%{transform:translateY(-3px)}50%{transform:translateY(4px)}}
@keyframes terms-glow{0%,100%{box-shadow:0 0 0 0 #0089db00}50%{box-shadow:0 0 0 5px #0089db35}}
@media(max-width:360px){#signupTermsField{padding:14px}.terms-steps{gap:8px;font-size:12px}.terms-agreement-area{padding:10px}.terms-guide{padding:11px;gap:9px}}
@media(prefers-reduced-motion:reduce){#signupTermsField *,#signupTermsField.terms-attention .terms-guide,#signupTermsField.terms-attention .terms-agreement-area{animation:none!important;transition:none!important}}
#signupTermsField[hidden],#termsScrollGuide[hidden],#termsTypeGuide[hidden]{display:none!important}
