/* SyokBox V2.37: readable legal documents and explicit consent states. */
.legal-document-backdrop{z-index:110}
.legal-document-sheet{width:min(94vw,680px);max-height:88dvh;overflow:hidden;padding:0!important;border-radius:22px!important;text-align:left}
.legal-document-sheet>header{position:sticky;z-index:2;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 22px 16px;border-bottom:1px solid #e7ebf3;background:#fff}
.legal-document-sheet>header h2{margin:0;color:#102b69;font-size:22px;line-height:1.2}
.legal-document-sheet>header span{display:block;margin-top:5px;color:#7b879c;font-size:11px}
.legal-document-sheet>header button{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border:0;border-radius:50%;background:#f2f5fa;color:#102b69;font-size:27px}
.legal-document-content{max-height:calc(88dvh - 78px);overflow:auto;padding:6px 22px 28px;color:#55647d;font-size:15px;line-height:1.65}
.legal-document-content h3{margin:25px 0 8px;color:#102b69;font-size:16px;line-height:1.35}
.legal-document-content p{margin:10px 0}
.legal-document-content ul{display:grid;gap:7px;margin:10px 0 14px;padding-left:22px}
.legal-document-content li{padding-left:3px}
.legal-document-content .legal-effective-date{display:inline-block;margin:12px 0 5px;padding:6px 9px;border-radius:8px;background:#f1f5ff;color:#3159c8;font-size:11px;font-weight:700}
.v237-legal-page{padding:7px 18px 28px!important}
.v237-legal-page .legal-document-content{max-height:none;overflow:visible;padding:0}
.v237-login-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin-top:10px!important;font-size:11px!important}
.v237-login-legal a,.v237-register-agreement a,.v237-customer-legal-note a{color:#1745c6;font-weight:700;text-decoration:none}
.v237-register-agreement{margin:13px 8px 0;color:#7a879d;font-size:11px;line-height:1.5;text-align:center}
.v237-customer-legal-note{margin:12px 7px 0;color:#7d899e;font-size:10px;line-height:1.45;text-align:center}
.v237-acceptance-backdrop{z-index:100}
.v237-acceptance-modal{width:min(92vw,470px);padding:28px!important;text-align:center}
.v237-acceptance-modal h2{margin:10px 0;color:#102b69;font-size:23px}
.v237-acceptance-modal p{margin:0 0 20px;color:#65738b;font-size:14px;line-height:1.6}
.v237-acceptance-modal a{color:#1745c6;font-weight:700}
.v237-legal-icon{display:grid;width:52px;height:52px;margin:auto;place-items:center;border-radius:50%;background:#eaf8ed;color:#1b8a3a;font-size:25px;font-weight:900}
.v237-merchant-marketing{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 13px;border-top:1px solid #edf0f6;background:#fff}
.v237-merchant-marketing>span:first-child{display:flex;min-width:0;flex-direction:column;gap:3px}
.v237-merchant-marketing strong{color:#102b69;font-size:13px}
.v237-merchant-marketing small{color:#7b879d;font-size:10px;line-height:1.35}
.v237-marketing-consent{display:flex;align-items:flex-start;gap:10px;margin:16px 2px 14px;padding:0 4px;color:#718099;font-size:11px;line-height:1.45;text-align:left;cursor:pointer}
.v237-marketing-consent input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#1745c6;cursor:pointer}
.v237-marketing-consent span{padding-top:1px}
.v237-marketing-consent strong{color:#52627e;font-weight:700}
.v237-marketing-status{width:max-content;margin-top:7px;padding:4px 7px;border-radius:7px;font-size:9px;font-weight:750}
.v237-marketing-status.is-opted-in,.v237-history-marketing.is-opted-in{background:#eaf8ed;color:#208a3b}
.v237-marketing-status.is-not-opted-in,.v237-history-marketing.is-not-opted-in{background:#f0f2f6;color:#6b768a}
.v237-marketing-status.is-withdrawn,.v237-history-marketing.is-withdrawn{background:#fff1f3;color:#bd3348}
.v237-history-marketing{display:flex;align-items:center;justify-content:space-between;margin:0 18px 12px;padding:10px 11px;border-radius:10px;font-size:11px}
.v237-admin-legal-list{display:grid;gap:9px}
.v237-admin-legal-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid #e0e6f0;border-radius:14px;background:#fff}
.v237-admin-legal-list article>div{display:flex;min-width:0;flex-direction:column;gap:4px}
.v237-admin-legal-list span{width:max-content;padding:3px 7px;border-radius:6px;background:#eef3ff;color:#3159c8;font-size:8px;font-weight:800;text-transform:uppercase}
.v237-admin-legal-list strong{color:#102b69;font-size:12px}
.v237-admin-legal-list small{color:#7b879d;font-size:9px}
.v237-admin-legal-list button{padding:8px 12px;border:0;border-radius:9px;background:#eef3ff;color:#1745c6;font-size:10px;font-weight:800}
.v237-editor-meta{display:flex;align-items:center;justify-content:space-between;padding:10px;border-radius:10px;background:#f4f7fc;color:#53627c;font-size:10px}
.v237-editor-meta span{font-weight:800;text-transform:uppercase}
.v237-legal-editor textarea{min-height:48dvh!important;font-family:inherit;line-height:1.5}
.v237-legal-editor>p{margin:0;color:#7b879d;font-size:9px;line-height:1.45}
@media(max-width:520px){
  .legal-document-sheet{width:100%;max-height:92dvh;border-radius:22px 22px 0 0!important}
  .legal-document-backdrop{align-items:flex-end}
  .legal-document-content{max-height:calc(92dvh - 76px);padding:5px 18px 25px;font-size:14px}
  .legal-document-sheet>header{padding:18px}
  .v237-marketing-consent{margin-left:5px;margin-right:5px}
}
