/* Legal dialogs only: no selectors affecting the header, products or forms. */
html.ods-legal-is-open{overflow:hidden}
.ods-legal-modal{padding:0;border:1px solid #d6e7f3;border-radius:20px;background:#fff;color:#143e66;width:calc(100% - 32px);max-width:860px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);margin:auto;overflow:hidden;box-shadow:0 24px 80px #062d5552}
.ods-legal-modal:not([open]){display:none}
.ods-legal-modal::backdrop{background:rgba(5,29,54,.6)}
.ods-legal-modal__shell{display:flex;flex-direction:column;max-height:calc(100vh - 42px);max-height:calc(100dvh - 42px)}
.ods-legal-modal__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 28px;border-bottom:1px solid #dfebf3;flex:none}
.ods-legal-modal__header h2{margin:0;font-size:26px;line-height:1.25;color:#08477e}
.ods-legal-modal__close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#edf6fc;color:#08477e;font-family:inherit;font-size:32px;line-height:1;cursor:pointer}
.ods-legal-modal__close:hover{background:#dceefb}
.ods-legal-modal__content{padding:24px 28px;overflow:auto;overscroll-behavior:contain;min-height:0;line-height:1.7;font-size:16px;overflow-wrap:anywhere}
.ods-legal-modal__text h2,.ods-legal-modal__text h3{margin:24px 0 10px;font-size:21px;line-height:1.35;color:#08477e}
.ods-legal-modal__text>:first-child{margin-top:0}
.ods-legal-modal__text p{margin:0 0 16px}
.ods-legal-modal__text ul,.ods-legal-modal__text ol{padding-left:24px}
.ods-legal-modal__text table{width:100%;border-collapse:collapse;font-size:14px}
.ods-legal-modal__text td,.ods-legal-modal__text th{border:1px solid #dce7ef;padding:10px;text-align:left;vertical-align:top}
.ods-legal-modal__text img{max-width:100%;height:auto}
.ods-legal-modal__text a,.ods-legal-modal__footer a{color:#006fa8;text-decoration:underline;text-underline-offset:3px}
.ods-legal-modal__footer{flex:none;border-top:1px solid #dfebf3;padding:16px 28px;font-size:14px}
.ods-legal-modal__status{margin:0}
.ods-legal-modal :focus-visible{outline:3px solid #079ce5;outline-offset:3px}
@media(max-width:600px){
 .ods-legal-modal{width:calc(100% - 20px);border-radius:16px;max-height:calc(100dvh - 24px)}
 .ods-legal-modal__shell{max-height:calc(100dvh - 26px)}
 .ods-legal-modal__header{padding:14px 16px;gap:12px}
 .ods-legal-modal__header h2{font-size:22px}
 .ods-legal-modal__content{padding:20px 16px}
 .ods-legal-modal__footer{padding:14px 16px}
 .ods-legal-modal__text table{display:block;overflow-x:auto}
}
