.terms-page{color:#172554;background:#f1f5f9;min-height:100dvh;padding:24px;font-family:inherit}.terms-page header{justify-content:space-between;gap:16px;max-width:850px;margin:0 auto 32px;display:flex}.terms-page header b{color:#009c73;font-size:26px}.terms-summary{background:#fff;border:1px solid #dbe4ed;border-radius:20px;max-width:760px;margin:auto;padding:32px}.terms-summary h1{margin:14px 0;font-size:28px}.terms-summary p{color:#475569;line-height:1.8}.terms-label{font-size:13px}.terms-dialog{max-height:94dvh;overflow:auto;color:#172554!important;background:#fff!important;gap:12px!important;max-width:min(760px,100vw - 24px)!important;padding:24px!important}.terms-warning{color:#991b1b;background:#fff1f2;border:1px solid #fecaca;border-radius:10px;padding:12px;font-size:13px;line-height:1.7}.terms-scroll{overscroll-behavior:contain;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;flex-shrink:0;height:clamp(160px,30dvh,300px);padding:16px;overflow:auto}.terms-scroll h3,.terms-summary details h3{margin:16px 0 8px;font-size:15px;font-weight:700}.terms-scroll p{color:#334155;font-size:14px;line-height:1.85}.terms-end{text-align:center;margin-top:25px;font-weight:700}.terms-checkbox{align-items:flex-start;gap:10px;font-size:14px;line-height:1.7;display:flex}.terms-checkbox input{accent-color:#1d4ed8;flex-shrink:0;width:20px;height:20px;margin-top:3px}.terms-signature{aspect-ratio:2.5;background:#fff;border:2px dashed #94a3b8;border-radius:12px;width:100%;height:auto;max-height:200px;margin:8px 0;display:block}.terms-draw{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair}.terms-actions{flex-wrap:wrap;gap:10px;margin-top:8px;display:flex}.terms-actions button,.terms-actions a,.terms-clear,.terms-summary>button{cursor:pointer;color:#172554;background:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:10px 14px;font-size:14px;text-decoration:none}.terms-actions .terms-primary{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.terms-actions button:disabled{opacity:.45;cursor:not-allowed}.terms-clear{padding:6px 12px}.terms-error{color:#b91c1c;font-size:14px}.terms-summary details{margin-top:24px}.terms-summary summary{cursor:pointer;font-weight:700}@media (width<=600px){.terms-page{padding:16px}.terms-summary{padding:20px}.terms-dialog{padding:16px!important}.terms-actions{flex-direction:column}.terms-actions>*{text-align:center}.terms-summary h1{font-size:24px}}
