.astrudy-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid var(--tone-c8dcd9,#c8dcd9);border-radius:20px;background:var(--tone-fff,#fff);color:var(--tone-172b35,#172b35);box-shadow:0 24px 80px #142d4340;overflow:auto;overscroll-behavior:contain}
.astrudy-dialog::backdrop{background:#142d4380}
.astrudy-dialog-brand{color:var(--tone-087f80,#087f80);font-weight:800;font-size:17px;letter-spacing:.02em}
.astrudy-dialog h2{font-size:22px;line-height:1.25;margin:12px 0}
.astrudy-dialog p{line-height:1.55;margin:0 0 24px;white-space:pre-wrap;overflow-wrap:anywhere}
.astrudy-dialog form{margin:0;display:block}
.astrudy-dialog input{box-sizing:border-box;width:100%;margin:0 0 20px}
.astrudy-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.astrudy-dialog-actions button{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.astrudy-dialog :focus-visible{outline:3px solid var(--tone-087f80,#087f80);outline-offset:3px}
@media(max-width:480px){.astrudy-dialog{padding:20px}.astrudy-dialog-actions button{flex:1}}
