.m3d-contract { border: 1px solid #d9dce1; border-radius: 12px; padding: 20px; margin: 20px 0 28px; background: #fff; color: #222; }
.m3d-contract h3 { margin-top: 0; }
.m3d-contract-text { max-height: 420px; overflow: auto; padding: 16px; margin: 14px 0; border: 1px solid #e1e3e7; border-radius: 6px; line-height: 1.6; background: #fafbfc; overflow-wrap: anywhere; }
.m3d-contract-text h2, .m3d-contract-text h3 { font-size: 1.15em; margin-top: 1.4em; }
.m3d-contract-accept input[type="text"] { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 10px 12px; border: 1px solid #cdd2da; border-radius: 6px; font: inherit; }
.m3d-contract-consent { display: flex; align-items: flex-start; gap: 10px; font-weight: normal; }
.m3d-contract-consent input { margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px; }
.m3d-contract-accept button { width: 100%; white-space: normal; border: 0; border-radius: 999px; padding: 12px 18px; background: #222; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.m3d-contract-accept button:disabled { background: #eee; color: #888; opacity: 1; cursor: not-allowed; }
.m3d-contract-help { font-size: .9em; color: #555; }
