.flow-gallery-all{display:flex;justify-content:flex-start;margin-top:34px}
.flow-roadmap-feed .feed-card.is-progressive-hidden{display:none!important}
.flow-feed-sentinel{display:flex;align-items:center;justify-content:center;min-height:76px;margin-top:14px}
.flow-feed-sentinel span{display:block;width:28px;height:28px;border:3px solid rgba(255,255,255,.24);border-top-color:var(--green);border-radius:50%;animation:flow-spin .8s linear infinite}
.flow-feed-sentinel.is-complete{display:none}
@keyframes flow-spin{to{transform:rotate(360deg)}}
.flow-nav-account{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:11px 16px;border:1px solid rgba(255,255,255,.3);border-radius:var(--a2m-radius, 8px);background:transparent;color:#fff;font-size:.86rem;font-weight:750;text-decoration:none;transition:background .25s,border-color .25s,transform .25s}
.flow-nav-account:hover{border-color:var(--green);background:rgba(55,200,137,.12);transform:translateY(-2px)}
.flow-account-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(55,200,137,.14)}
.flow-account-icon{display:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.flow-footer-copyright{text-align:center}
@media(max-width:980px){.flow-nav-account{min-height:42px;padding:10px 13px}}
@media(max-width:640px){.flow-nav-account{font-size:.8rem}.flow-account-dot{display:none}}

/* Mobile login behaves like a focused native-app sign-in screen. */
@media(max-width:820px){
    body.page-login{
        min-height:100svh;
        background:linear-gradient(155deg,#06183c 0%,#123fc5 68%,#2469ff 100%);
    }
    body.page-login .flow-main{
        min-height:calc(100svh - 68px);
        padding-top:68px;
    }
    body.page-login .flow-nav{
        position:fixed;
        height:68px;
        justify-content:center;
        padding:0 16px;
        border-bottom-color:rgba(255,255,255,.12);
        background:rgba(6,24,60,.94);
        box-shadow:none;
    }
    body.page-login .flow-brand{
        position:absolute;
        left:50%;
        top:50%;
        width:126px;
        z-index:2;
        transform:translate(-50%,-50%);
    }
    body.page-login .flow-brand img{
        width:100%;
        height:38px;
        object-position:center;
    }
    body.page-login .flow-nav-actions{
        position:absolute;
        left:16px;
        top:50%;
        z-index:3;
        margin:0;
        transform:translateY(-50%);
    }
    body.page-login .flow-menu-toggle{
        display:block;
        width:44px;
        height:44px;
    }
    body.page-login .flow-nav-account{
        display:none;
    }
    body.page-login .flow-links{
        left:0;
        right:0;
        top:68px;
        z-index:1;
        width:100%;
    }
    body.page-login .flow-login{
        min-height:calc(100svh - 68px);
        display:flex;
        flex-direction:column;
        background:transparent;
    }
    body.page-login .flow-login-visual{
        min-height:210px;
        flex:0 0 210px;
        justify-content:flex-end;
        padding:28px 22px 48px;
        background:
            linear-gradient(180deg,rgba(6,24,60,.3),rgba(6,24,60,.82)),
            url('../img/login-team.jpg') center 35%/cover;
    }
    body.page-login .flow-login-visual span{
        font-size:.7rem;
        letter-spacing:.11em;
    }
    body.page-login .flow-login-visual h1{
        margin-top:10px;
        font-size:clamp(2.6rem,13vw,3.8rem);
        line-height:.88;
    }
    body.page-login .flow-login-panel{
        position:relative;
        z-index:2;
        flex:1;
        align-items:flex-start;
        margin-top:-28px;
        padding:0;
        border-radius:var(--a2m-radius, 8px);
        background:#fff;
        box-shadow:0 -18px 45px rgba(2,11,32,.18);
    }
    body.page-login .flow-login-card{
        width:100%;
        max-width:none;
        min-height:100%;
        padding:34px 22px calc(34px + env(safe-area-inset-bottom));
        border:0;
        border-radius:var(--a2m-radius, 8px);
        background:#fff;
        box-shadow:none;
    }
    body.page-login .flow-login-card .flow-kicker{
        margin-bottom:16px;
        color:#42618f;
    }
    body.page-login .flow-login-card h2{
        margin-bottom:10px;
        font-size:clamp(2.35rem,11vw,3.25rem);
        line-height:.92;
    }
    body.page-login .flow-login-card>p{
        margin:0;
        font-size:.95rem;
        line-height:1.5;
    }
    body.page-login .flow-login-form{
        gap:17px;
        margin-top:26px;
    }
    body.page-login .flow-login-form label{
        gap:8px;
    }
    body.page-login .flow-login-form label span{
        font-size:.75rem;
        color:#4f5f78;
    }
    body.page-login .flow-login-form input{
        min-height:56px;
        padding:15px 16px;
        border:1px solid #d7deea;
        border-radius:var(--a2m-radius, 8px);
        background:#f7f9fc;
        font-size:16px;
        outline:none;
        transition:border-color .2s,box-shadow .2s,background .2s;
    }
    body.page-login .flow-login-form input:focus{
        border-color:#2469ff;
        background:#fff;
        box-shadow:0 0 0 4px rgba(36,105,255,.12);
    }
    body.page-login .flow-login-form .flow-button{
        min-height:56px;
        margin-top:3px;
        border-radius:var(--a2m-radius, 8px);
        background:linear-gradient(135deg,#0b2b78,#2469ff);
        box-shadow:0 13px 28px rgba(18,63,197,.25);
    }
    body.page-login .flow-alert{
        margin:18px 0 0;
        border-radius:var(--a2m-radius, 8px);
        font-size:.9rem;
    }
    body.page-login .flow-reset{
        margin-top:24px;
        padding-top:20px;
    }
    body.page-login .flow-reset summary{
        min-height:44px;
        display:flex;
        align-items:center;
        color:#123fc5;
        font-size:.9rem;
    }
    body.page-login .flow-footer{
        display:none;
    }
}

@media(max-width:380px){
    body.page-login .flow-login-visual{
        min-height:170px;
        flex-basis:170px;
        padding-bottom:38px;
    }
    body.page-login .flow-login-card{
        padding-top:28px;
    }
}

/* Global public mobile header: menu left, centered brand, account right. */
@media(max-width:980px){
    body.flow-public .flow-nav{
        position:fixed;
        height:68px;
        justify-content:center;
        padding:0 16px;
    }
    body.flow-public .flow-brand{
        position:absolute;
        left:50%;
        top:50%;
        z-index:2;
        width:126px;
        transform:translate(-50%,-50%);
    }
    body.flow-public .flow-brand img{
        width:100%;
        height:38px;
        object-position:center;
    }
    body.flow-public .flow-menu-toggle{
        position:absolute;
        left:16px;
        top:50%;
        z-index:4;
        display:block;
        width:44px;
        height:44px;
        transform:translateY(-50%);
    }
    body.flow-public .flow-nav-actions{
        position:absolute;
        left:auto;
        right:16px;
        top:50%;
        z-index:4;
        margin:0;
        transform:translateY(-50%);
    }
    body.flow-public .flow-nav-account,
    body.page-login .flow-nav-account{
        display:inline-flex;
        min-width:68px;
        min-height:42px;
        justify-content:center;
        padding:10px 12px;
    }
    body.flow-public .flow-account-dot{
        display:none;
    }
    body.flow-public .flow-nav-account.is-dashboard{
        width:44px;
        min-width:44px;
        height:44px;
        min-height:44px;
        padding:0;
        border-color:rgba(255,255,255,.36);
        border-radius:50%;
        background:rgba(255,255,255,.1);
        box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
    }
    body.flow-public .flow-nav-account.is-dashboard .flow-account-icon{
        display:block;
    }
    body.flow-public .flow-nav-account.is-dashboard .flow-account-label{
        position:absolute;
        width:1px;
        height:1px;
        overflow:hidden;
        clip:rect(0 0 0 0);
        white-space:nowrap;
    }
    body.flow-public .flow-links{
        left:0;
        right:0;
        top:68px;
        z-index:1;
        width:100%;
    }
}

@media(max-width:380px){
    body.flow-public .flow-brand{width:108px}
    body.flow-public .flow-menu-toggle{left:10px;width:42px;height:42px}
    body.flow-public .flow-nav-actions{right:10px}
    body.flow-public .flow-nav-account:not(.is-dashboard){min-width:58px;padding-inline:9px;font-size:.74rem}
}

/* Floating glass editor available only to authorized users. */
.flow-editor-dock{
    position:fixed;
    z-index:1900;
    right:24px;
    bottom:calc(24px + env(safe-area-inset-bottom));
    display:flex;
    align-items:center;
    gap:10px;
}
.flow-editor-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:58px;
    height:58px;
    padding:0;
    border:1px solid rgba(255,255,255,.48);
    border-radius:50%;
    background:rgba(255,255,255,.22);
    color:#fff;
    box-shadow:0 14px 38px rgba(2,11,32,.25),inset 0 1px 0 rgba(255,255,255,.45);
    backdrop-filter:blur(18px) saturate(145%);
    -webkit-backdrop-filter:blur(18px) saturate(145%);
    cursor:pointer;
    transition:transform .22s,background .22s,box-shadow .22s;
}
.flow-editor-btn[hidden]{display:none!important}
.flow-editor-btn svg{
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.flow-editor-btn:hover{
    transform:translateY(-3px) scale(1.03);
    background:rgba(255,255,255,.34);
    box-shadow:0 18px 42px rgba(2,11,32,.3),inset 0 1px 0 rgba(255,255,255,.6);
}
.flow-editor-btn.is-save{
    border-color:rgba(55,200,137,.72);
    background:rgba(55,200,137,.76);
    color:#06183c;
}
.flow-editor-btn.is-cancel{
    border-color:rgba(255,255,255,.62);
    background:rgba(6,24,60,.68);
}
body.edit-mode .flow-editor-dock{
    padding:7px;
    border:1px solid rgba(255,255,255,.36);
    border-radius:var(--a2m-radius, 8px);
    background:rgba(6,24,60,.28);
    box-shadow:0 18px 45px rgba(2,11,32,.24);
    backdrop-filter:blur(20px) saturate(145%);
    -webkit-backdrop-filter:blur(20px) saturate(145%);
}
@media(max-width:640px){
    .flow-editor-dock{
        right:16px;
        bottom:calc(18px + env(safe-area-inset-bottom));
    }
    .flow-editor-btn{width:54px;height:54px}
}
.auto-media-editable {
    position: relative;
}

.auto-media-editable > img,
.auto-media-editable > video {
    display: block;
    width: 100%;
}

.flow-hero-media > video,
.flow-media > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auto-media-edit-btn {
    z-index: 8;
}
