.access-dialog,.chat-dialog,.account-dialog{color:#133949;background:#fffbe6;border:3px solid #fff;border-radius:22px;box-shadow:0 7px #17465e88;max-width:calc(100vw - 30px);max-height:calc(100dvh - 24px);padding:20px;font-family:system-ui,sans-serif}.access-dialog{width:560px}.access-dialog h2,.chat-dialog h2,.account-dialog h2{margin:0 0 12px;font-size:22px}.access-dialog p,.chat-dialog p,.account-dialog p{font-size:13px;line-height:1.5}.birthday-fields{display:flex;gap:12px}.birthday-fields label{flex:1;font-size:12px}.birthday-fields input{width:100%;display:block;min-height:44px}.access-dialog a,.account-dialog a{color:#096b91}.chat-dialog{width:650px;height:calc(100dvh - 24px);display:none;grid-template-rows:40px minmax(0,1fr) 44px 18px;gap:8px}.chat-dialog[open]{display:block;height:auto}.chat-dialog[open]:has(.chat-messages){display:grid;height:calc(100dvh - 24px)}.chat-dialog header,.chat-dialog header>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0}.chat-dialog header button{min-height:36px;padding:4px 12px;font-size:12px}.chat-dialog form{display:flex;gap:8px}.chat-dialog input{flex:1;min-width:0}.chat-dialog form button{padding:4px 20px;min-height:44px}.chat-dialog>small{font-size:10px}.chat-messages{overflow-y:auto;overscroll-behavior:contain;background:#e7f4ec;border-radius:12px;padding:10px}.chat-message{max-width:85%;background:#fff;border-radius:12px;padding:8px 12px;margin:0 0 8px;overflow-wrap:anywhere}.chat-message.mine{margin-left:auto;background:#ffe658}.chat-message p{margin:0;white-space:pre-wrap}.chat-message small{font-size:9px}.chat-message button{min-height:28px;font-size:10px;padding:2px 10px;margin-left:8px;box-shadow:none}.account-dialog{width:590px}.account-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.account-options button,.account-options a{min-height:42px;font-size:12px;padding:8px;display:grid;place-items:center}.account-dialog>p{margin:6px 0 10px}.account-dialog::backdrop,.chat-dialog::backdrop,.access-dialog::backdrop{background:#062b42be}.account-dialog .danger{color:#9f2349}.settings-modal:has(.account-options){max-width:calc(100vw - 24px);width:600px;max-height:calc(100dvh - 24px)}
