.po-auth-shell {
    min-height: calc(100vh - 220px);
    display: grid;
    place-items: center;
    padding: 32px 16px;
}

.po-auth-card {
    width: min(100%, 520px);
    padding: 34px;
    border: 1px solid rgba(96, 165, 250, .20);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(2, 8, 23, .96));
    box-shadow: 0 22px 60px rgba(0, 0, 0, .30);
}

.po-auth-eyebrow {
    margin-bottom: 8px;
    color: #38bdf8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.po-auth-card h1 {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: 30px;
}

.po-auth-copy {
    margin: 0 0 26px;
    color: #94a3b8;
    line-height: 1.55;
}

.po-auth-form {
    display: grid;
    gap: 18px;
}

.po-auth-field {
    display: grid;
    gap: 7px;
}

.po-auth-field label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
}

.po-auth-field input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 10px;
    outline: none;
    background: rgba(2, 8, 23, .75);
    color: #f8fafc;
}

.po-auth-field input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .12);
}

.po-auth-field span,
.po-auth-validation {
    color: #fca5a5;
    font-size: 12px;
}

.po-auth-validation:empty {
    display: none;
}

.po-auth-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #cbd5e1;
    font-size: 13px;
}

.po-auth-submit {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.po-auth-link {
    width: 100%;
    margin-top: 18px;
}

.po-team-access,
.po-team-logout {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
    text-decoration: none;
    text-transform: uppercase;
}

.po-team-access:hover,
.po-team-logout:hover {
    color: #38bdf8;
}

.po-team-logout-form {
    margin: 0;
}

.po-team-logout {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

@media (max-width: 600px) {
    .po-auth-card {
        padding: 24px 20px;
    }
}

/* Compact accessible account menu keeps public registration reachable on mobile. */
.po-account-menu { position: relative; font-size: 14px; }
.po-account-menu > summary { cursor: pointer; padding: 10px 8px; color: #cbd5e1; font-weight: 700; }
.po-account-menu > summary:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
.po-account-menu-panel { position: absolute; right: 0; top: 100%; min-width: 210px; display: grid; gap: 8px; padding: 14px; border: 1px solid #334155; border-radius: 10px; background: #0f172a; box-shadow: 0 12px 30px #0008; }
.po-account-menu-panel a { color: #cbd5e1; text-decoration: none; padding: 7px 0; }
.po-account-menu-panel a:hover { color: #38bdf8; }
.po-account-menu-panel button { min-height: 40px; }
.po-auth-card p { line-height: 1.55; }
@media (max-width: 1000px) { .po-header .po-header-actions { display: flex; } }
@media (max-width: 600px) { .po-header { gap: 12px; padding-left: 16px; padding-right: 16px; } .po-header .po-logo { max-width: 45vw; } }
