.entry-page{background:#f3f5f9;color:#0f1726;font:400 16px/1.5 Inter,system-ui,sans-serif}
.entry-page main.wrap{width:calc(100% - 32px);max-width:480px;margin:32px auto;padding:0}
.signin-page main>.logo{min-height:44px;color:#102a56}
.entry-card,.join-page main#app,.entry-page #appWelcome{background:#fff;border:1px solid #cbd2dd;border-radius:12px;padding:20px}
.entry-page main :is(h1,h2),.entry-page main #title{font:600 18px/1.4 Inter,system-ui,sans-serif;letter-spacing:normal;color:#0f1726}
.entry-page main p,.entry-page main label.f{font-size:16px;line-height:1.5}
.entry-page main label.f{display:grid;gap:6px;font-weight:500;color:#0f1726}
.entry-page main :is(.muted,.join-intro){color:#5c6778}
.entry-page main .small{font-size:14px;line-height:1.45;font-weight:400;color:#5c6778}
.entry-page main form{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.entry-page main form>*+*{margin-top:0}
.entry-page main .in{margin:0;width:100%;min-height:44px;background:#fff;border:1px solid #cbd2dd;border-radius:8px;padding:10px 12px;font:400 16px/1.4 Inter,system-ui,sans-serif;color:#0f1726}
.join-page #app #code{font:500 16px/1.4 Inter,system-ui,sans-serif!important}
.entry-page main .btn{min-height:44px;font-size:16px;font-weight:600;border-radius:12px}
.entry-page main .primary,.entry-page #who .btn[aria-pressed="true"]{background:#102a56;border-color:#102a56;color:#fff}
.entry-page main :is(p a,button.link){display:inline-flex;align-items:center;min-height:44px;font-size:16px;font-weight:500;color:#102a56;text-underline-offset:3px}
.entry-page main :focus-visible{outline:2px solid #102a56;outline-offset:2px}
.entry-page #msg:empty,.join-intro{display:none}
/* The existing mode handler exposes these states for ordinary team joins, but not child or club invitations. */
.entry-card:has(#whoNew[aria-pressed="true"]):has(#form:not(.hidden) #codeRow:not(.hidden)) .join-intro{display:block}
.entry-card:has(#whoNew[aria-pressed="true"]):has(#form:not(.hidden) #codeRow:not(.hidden)) #intent{display:none}
@media(max-width:600px){.entry-page main.wrap{margin-block:16px}.entry-card,.join-page main#app,.entry-page #appWelcome{padding:16px}.signin-page main>.entry-card{margin-top:12px}}
