
/* =========================================================
   MODE FINAL PUBLIC SHELL V1
   ========================================================= */

*{box-sizing:border-box}

html,body{
    width:100%;
    min-width:320px;
    overflow-x:hidden;
}

.molo-header,
.molo-public-clean-header{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    background:#fbf8f1!important;
    border-bottom:1px solid rgba(24,31,25,.10)!important;
    box-shadow:none!important;
}

.molo-header .molo-wrap,
.molo-header .molo-header-inner,
.molo-public-clean-header .molo-wrap,
.molo-public-clean-header .molo-header-inner{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:13px 24px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:28px!important;
}

body .molo-header{
    padding-left:24px!important;
    padding-right:24px!important;
}

body .molo-header > .brand,
body .molo-header > .molo-logo,
body .molo-header > .logo{
    margin-right:auto!important;
}

.molo-logo,
.logo.molo-brand,
.brand{
    flex:0 0 auto!important;
    min-width:0!important;
    margin:0!important;
}

.molo-brand-lockup,
.brand-lockup,
.footer-brand-lockup{
    display:flex!important;
    align-items:center!important;
    gap:13px!important;
    min-width:0!important;
    text-decoration:none!important;
}

.molo-brand-mark,
.brand-mark,
.footer-brand-lockup img,
.mini-logo img{
    object-fit:contain!important;
}

.molo-brand-mark,
.brand-mark{
    width:64px!important;
    height:64px!important;
    min-width:64px!important;
    max-width:64px!important;
    border-radius:8px!important;
    box-shadow:none!important;
    background:transparent!important;
}

.molo-brand-words strong,
.brand-words strong{
    display:block!important;
    margin:0!important;
    color:#172019!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:27px!important;
    line-height:1!important;
    font-weight:600!important;
    letter-spacing:-.025em!important;
    white-space:nowrap!important;
}

.molo-brand-words em,
.brand-words em{
    display:block!important;
    margin-top:6px!important;
    color:#617f59!important;
    font-family:Inter,"Segoe UI",Arial,sans-serif!important;
    font-size:12px!important;
    line-height:1.15!important;
    font-style:normal!important;
    font-weight:800!important;
    letter-spacing:.13em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
}

.molo-nav,
.nav-actions,
.molo-global-topbar-actions{
    flex:0 1 auto!important;
    margin-left:auto!important;
    margin-right:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:9px!important;
}

.molo-nav > a,
.molo-nav .btn,
.nav-actions > a,
.nav-actions .btn,
.molo-account-pill{
    min-height:43px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:10px 17px!important;
    border:1px solid rgba(28,36,29,.14)!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#172019!important;
    box-shadow:none!important;
    text-decoration:none!important;
    font-family:Inter,"Segoe UI",Arial,sans-serif!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:750!important;
    white-space:nowrap!important;
}

.molo-nav > a:hover,
.nav-actions > a:hover,
.molo-account-pill:hover{
    background:#eef1ea!important;
}

.molo-nav .active,
.molo-nav [aria-current="page"],
.nav-actions .btn-dark,
.molo-nav .dark{
    background:#152019!important;
    border-color:#152019!important;
    color:#fff!important;
}

.molo-header-status,
.molo-connection-pill{
    min-height:43px!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:9px!important;
    padding:10px 16px!important;
    border:1px solid rgba(28,36,29,.14)!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#243026!important;
    font-family:Inter,"Segoe UI",Arial,sans-serif!important;
    font-size:13px!important;
    line-height:1!important;
    font-weight:700!important;
    white-space:nowrap!important;
}

.molo-header-status:before,
.molo-connection-pill:before{
    content:""!important;
    width:8px!important;
    height:8px!important;
    flex:0 0 8px!important;
    border-radius:50%!important;
    background:#36b96d!important;
    box-shadow:0 0 0 3px rgba(54,185,109,.14)!important;
}

.molo-connection-pill > i{
    display:none!important;
}

.footer{
    width:100%!important;
    max-width:none!important;
    margin:64px 0 0!important;
    padding:0!important;
    border-top:1px solid rgba(28,36,29,.12)!important;
    background:#f7f4ed!important;
    color:#4d5750!important;
    font-family:Inter,"Segoe UI",Arial,sans-serif!important;
}

.footer .footer-grid,
.footer > .molo-wrap{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:34px 28px 30px!important;
    display:grid!important;
    grid-template-columns:minmax(320px,1.35fr) repeat(3,minmax(150px,.6fr))!important;
    gap:34px!important;
    align-items:start!important;
}

.footer .footer-brand-lockup{
    margin:0 0 16px!important;
}

.footer .footer-brand-lockup img{
    width:58px!important;
    height:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    border-radius:8px!important;
}

.footer .molo-brand-words strong,
.footer .brand-words strong{
    font-size:22px!important;
}

.footer .molo-brand-words em,
.footer .brand-words em{
    font-size:10.5px!important;
}

.footer strong{
    display:block!important;
    margin:2px 0 12px!important;
    color:#172019!important;
    font-size:14px!important;
    font-weight:800!important;
}

.footer a{
    display:block!important;
    width:max-content!important;
    max-width:100%!important;
    margin:8px 0!important;
    color:#4d5750!important;
    text-decoration:none!important;
    font-size:14px!important;
    line-height:1.3!important;
    font-weight:650!important;
}

.footer a:hover{
    color:#172019!important;
    text-decoration:underline!important;
    text-underline-offset:3px!important;
}

.footer .small{
    max-width:520px!important;
    margin:12px 0 0!important;
    color:#667069!important;
    font-size:13px!important;
    line-height:1.55!important;
}

body .mode-account-hero-pair{
    width:min(1500px,calc(100% - 48px))!important;
    max-width:1500px!important;
    margin:36px auto 48px!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:0!important;
    align-items:stretch!important;
    border:1px solid rgba(41,47,42,.10)!important;
    border-radius:30px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:0 18px 50px rgba(38,43,39,.07)!important;
    transform:none!important;
    left:auto!important;
    right:auto!important;
}

body .mode-account-hero-pair .hero-panel,
body .mode-account-hero-pair .plan-panel{
    width:100%!important;
    max-width:none!important;
    min-height:340px!important;
    height:100%!important;
    margin:0!important;
    padding:38px 40px!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
}

body .mode-account-hero-pair .hero-panel{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    background:linear-gradient(145deg,#fffdfb,#f6f2f8)!important;
    border-right:1px solid rgba(41,47,42,.10)!important;
}

body .mode-account-hero-pair .plan-panel{
    display:flex!important;
    flex-direction:column!important;
    background:linear-gradient(145deg,#eee7f4,#e7efe8)!important;
    color:#261c31!important;
}

body .mode-account-hero-pair .hero-panel:before,
body .mode-account-hero-pair .hero-panel:after,
body .mode-account-hero-pair .plan-panel:before,
body .mode-account-hero-pair .plan-panel:after{
    display:none!important;
}

body .mode-account-hero-pair .hero-panel h1{
    max-width:650px!important;
    margin:12px 0 18px!important;
    font-size:clamp(44px,4vw,60px)!important;
    line-height:.98!important;
    letter-spacing:-.045em!important;
    font-weight:750!important;
}

body .mode-account-hero-pair .hero-panel > p{
    max-width:660px!important;
    font-size:17px!important;
    line-height:1.6!important;
}

body .mode-account-hero-pair .plan-panel,
body .mode-account-hero-pair .plan-panel h1,
body .mode-account-hero-pair .plan-panel h2,
body .mode-account-hero-pair .plan-panel h3,
body .mode-account-hero-pair .plan-panel p,
body .mode-account-hero-pair .plan-panel strong,
body .mode-account-hero-pair .plan-panel small,
body .mode-account-hero-pair .plan-panel span{
    color:#261c31!important;
}

body .mode-account-hero-pair .plan-panel h2{
    margin:10px 0 5px!important;
    font-size:43px!important;
    line-height:1!important;
    letter-spacing:-.04em!important;
}

body .mode-account-hero-pair .plan-panel .btn,
body .mode-account-hero-pair .plan-panel a.btn{
    margin-top:auto!important;
    min-height:48px!important;
    border:0!important;
    border-radius:13px!important;
    background:#172019!important;
    color:#fff!important;
}

.mode-info-page{
    width:min(1580px,calc(100% - 40px))!important;
    max-width:1580px!important;
}

.mode-info-card p,
.mode-info-card li{
    font-size:17px!important;
    line-height:1.7!important;
}

@media(max-width:980px){

    .molo-header .molo-wrap,
    .molo-header .molo-header-inner,
    .molo-public-clean-header .molo-wrap,
    .molo-public-clean-header .molo-header-inner{
        padding:11px 14px!important;
        flex-wrap:wrap!important;
        gap:12px!important;
    }

    body .molo-header{
        padding-left:14px!important;
        padding-right:14px!important;
    }

    .molo-brand-mark,
    .brand-mark{
        width:56px!important;
        height:56px!important;
        min-width:56px!important;
        max-width:56px!important;
    }

    .molo-brand-words strong,
    .brand-words strong{
        font-size:23px!important;
    }

    .molo-brand-words em,
    .brand-words em{
        font-size:10px!important;
        letter-spacing:.10em!important;
    }

    .molo-nav,
    .nav-actions,
    .molo-global-topbar-actions{
        width:100%!important;
        justify-content:flex-start!important;
        overflow-x:auto!important;
        scrollbar-width:none!important;
        padding-bottom:2px!important;
    }

    .molo-nav::-webkit-scrollbar,
    .nav-actions::-webkit-scrollbar,
    .molo-global-topbar-actions::-webkit-scrollbar{
        display:none!important;
    }

    body .mode-account-hero-pair{
        width:calc(100% - 24px)!important;
        grid-template-columns:1fr!important;
        margin:24px auto 36px!important;
        border-radius:24px!important;
    }

    body .mode-account-hero-pair .hero-panel{
        border-right:0!important;
        border-bottom:1px solid rgba(41,47,42,.10)!important;
    }

    body .mode-account-hero-pair .hero-panel,
    body .mode-account-hero-pair .plan-panel{
        min-height:auto!important;
        padding:28px!important;
    }

    .footer .footer-grid,
    .footer > .molo-wrap{
        grid-template-columns:1fr 1fr!important;
        padding:28px 18px!important;
    }
}

@media(max-width:680px){

    .footer .footer-grid,
    .footer > .molo-wrap{
        grid-template-columns:1fr!important;
        gap:22px!important;
    }

    .mode-info-page{
        width:calc(100% - 20px)!important;
    }
}


/* MODE ACCOUNT ABSOLUTE WIDTH FINAL V2 */

/*
 * Account hero must use the SAME overall content width
 * as the rest of the Account page.
 */
body .account-shell > .account-hero{
    width:100%!important;
    max-width:1480px!important;

    margin-left:auto!important;
    margin-right:auto!important;
}


/*
 * Case 1:
 * mode-account-hero-pair is the Bootstrap row INSIDE account-hero.
 */
body .account-shell .account-hero .mode-account-hero-pair{
    width:100%!important;
    max-width:none!important;

    margin-left:0!important;
    margin-right:0!important;

    padding-left:0!important;
    padding-right:0!important;

    display:grid!important;
    grid-template-columns:
        minmax(0,1.08fr)
        minmax(0,.92fr)!important;

    gap:18px!important;

    justify-self:stretch!important;
    align-self:stretch!important;
}


/*
 * Restore the width lost when the Bootstrap row margins
 * were previously replaced with auto margins.
 */
body .account-shell .account-hero .mode-account-hero-pair.row{
    width:calc(100% + 24px)!important;

    margin-left:-12px!important;
    margin-right:-12px!important;
}


/*
 * Case 2:
 * JavaScript has placed the class directly on account-hero.
 */
body .account-shell > .account-hero.mode-account-hero-pair{
    width:100%!important;
    max-width:1480px!important;

    margin-left:auto!important;
    margin-right:auto!important;

    display:grid!important;
    grid-template-columns:
        minmax(0,1.08fr)
        minmax(0,.92fr)!important;

    gap:18px!important;
}


/* Kill the old fixed column widths */
body .account-shell .mode-account-hero-pair > *{
    min-width:0!important;
    max-width:none!important;

    flex:none!important;
}

body .account-shell .mode-account-hero-pair > [class*="col-"]{
    width:auto!important;
    max-width:none!important;
    flex:none!important;
}


/* The two actual cards fill their allocated columns */
body .account-shell .mode-account-hero-pair .hero-panel,
body .account-shell .mode-account-hero-pair .plan-panel{
    width:100%!important;
    max-width:none!important;

    margin:0!important;
}


/* Mobile stays stacked */
@media(max-width:900px){

    body .account-shell .account-hero .mode-account-hero-pair,
    body .account-shell > .account-hero.mode-account-hero-pair{
        width:100%!important;

        margin-left:0!important;
        margin-right:0!important;

        grid-template-columns:1fr!important;

        gap:14px!important;
    }
}

