dialog.alwis-terms-modal{box-sizing:border-box;margin:auto;width:calc(100vw - 12px);max-width:none;height:calc(100dvh - 12px);max-height:none;padding:0;overflow:hidden;border:1px solid #b9cec1;border-radius:10px;background:#fff;color:#214936;box-shadow:0 20px 60px #0005}
dialog.alwis-terms-modal::backdrop{background:#0009}
dialog.alwis-terms-modal[open]{display:flex;flex-direction:column}
.alwis-terms-modal>.terms-modal-body{display:flex;flex-direction:column;height:100%;min-height:0}
.alwis-terms-modal header,.alwis-terms-modal footer{display:flex;flex:none;flex-wrap:nowrap;align-items:center;gap:8px;padding:7px 10px;white-space:nowrap;background:white}
.alwis-terms-modal header{justify-content:space-between;border-bottom:1px solid #dbe8df}
.alwis-terms-modal footer{justify-content:flex-end;border-top:1px solid #dbe8df;padding-bottom:max(7px,env(safe-area-inset-bottom))}
.alwis-terms-modal h2{margin:0;font:700 14px/1.2 system-ui;min-width:0}
.alwis-terms-modal header a{flex:none;font:12px/1.2 system-ui;white-space:nowrap}
.alwis-terms-modal footer button{width:auto;min-height:32px;margin:0;padding:5px 12px;border:1px solid #b9cec1;border-radius:6px;font:600 12px/1.2 system-ui;white-space:nowrap;cursor:pointer}
.alwis-terms-modal iframe{display:block;flex:1;min-height:0;width:100%;border:0}
@media(min-width:1024px){dialog.alwis-terms-modal{width:calc(100vw - 24px);height:calc(100dvh - 24px)}.alwis-terms-modal h2{font-size:16px}.alwis-terms-modal header,.alwis-terms-modal footer{padding:8px 14px}}
