/* My DEMEOS — approved interface applied to the working relationship system. */
.my-demeos-body{background:#020b18;color:#fff}
.my-demeos-body .customer-header{background:#031326;border-bottom:1px solid rgba(174,187,208,.28)}
.my-demeos-body .customer-brand{display:flex;align-items:center;gap:.8rem;color:#f0cf72;font-size:1.25rem;font-weight:800;letter-spacing:.22em;text-decoration:none}
.my-demeos-body .customer-brand .demeos-logo{width:58px;height:58px;object-fit:contain}
.my-demeos-main{width:min(1120px,calc(100% - 64px));margin:0 auto;padding:clamp(3.5rem,7vw,6rem) 0 5rem;background:#020b18}
.my-demeos-main:before,.my-demeos-areas:before,.my-demeos-area:before,.my-demeos-area:after{display:none!important}
.my-demeos-introduction{text-align:center}
.my-demeos-introduction .customer-eyebrow{color:#e5bd59}
.my-demeos-introduction h1{margin:.55rem 0;font-size:clamp(3rem,7vw,5rem);line-height:1;color:#fff}
.my-demeos-introduction h1::first-letter{color:#fff}
.my-demeos-lead{margin:0;color:#c6d0df;font-size:1.2rem}
.my-demeos-sign-in-status{max-width:1040px;margin:3rem auto 0;padding:2.2rem;border:1px solid rgba(229,189,89,.38);border-radius:16px;background:#031326;box-shadow:none}
.my-demeos-sign-in-status h2{margin:.1rem 0 .65rem;color:#fff;font-size:1.8rem}
.my-demeos-sign-in-status p{color:#c6d0df}
.my-demeos-sign-in-status .demeos-primary-button{min-width:320px;min-height:58px;border-radius:999px}
.my-demeos-sign-in-status .demeos-primary-button span{margin-left:1.2rem;font-size:1.5rem}
.my-demeos-future{margin-top:3rem}
.my-demeos-section-heading{max-width:720px;margin:0 auto 1.5rem;text-align:center}
.my-demeos-section-heading .customer-eyebrow{margin-bottom:.55rem;color:#e5bd59;font-size:.82rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.my-demeos-section-heading p:last-child{margin:0;color:#c6d0df;font-size:1.05rem}
.my-demeos-areas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;min-height:0;margin-top:1.75rem}
.my-demeos-area:nth-child(n){position:relative!important;inset:auto!important;display:grid;grid-template-columns:72px 1fr;grid-template-rows:auto auto 1fr;column-gap:1rem;width:100%!important;min-height:200px;padding:1.7rem;border:1px solid rgba(174,187,208,.38);border-radius:14px;background:#031326;color:#fff;text-align:left;box-shadow:none;transform:none!important}
.my-demeos-area:nth-child(5){grid-column:1/-1;min-height:155px}
.my-demeos-area:hover,.my-demeos-area:focus-visible{border-color:#e5bd59;transform:none!important}
.my-demeos-area-icon{grid-column:1;grid-row:1/4;color:#f0cf72;font-size:2.7rem;line-height:1}
.my-demeos-area-title{grid-column:2;margin:0 0 .4rem;color:#fff;font-family:inherit;font-size:1.45rem;font-weight:750}
.my-demeos-area-copy{grid-column:2;max-width:34rem;color:#c6d0df;line-height:1.5}
.my-demeos-area-enter{position:static;inset:auto;grid-column:2;margin-top:auto;padding-top:1rem;color:#f0cf72;font-weight:800}
.my-demeos-relationship-view{margin-top:2rem;padding:clamp(1.4rem,4vw,2.2rem);border:1px solid rgba(229,189,89,.3);border-radius:16px;background:#031326}
.my-demeos-relationship-view[hidden]{display:none}
.my-demeos-relationship-view h2{color:#fff!important;font-size:clamp(2rem,5vw,3rem)}
.my-demeos-back{margin-bottom:1.5rem;border:1px solid rgba(229,189,89,.35);border-radius:999px;background:transparent;color:#fff;padding:.75rem 1.1rem}
.my-demeos-meaning,.my-demeos-relationship-view p{color:#c6d0df}
/* Keep participation guidance readable on its pale information panel. */
.my-demeos-body .my-demeos-relationship-view p.my-demeos-meaning{color:#263a53}

.my-demeos-body .customer-footer{border-top:1px solid rgba(174,187,208,.24);background:#020b18}
@media(max-width:760px){.my-demeos-body .customer-brand span{display:none}.my-demeos-main{width:min(100% - 28px,1120px);padding:2.5rem 0 4rem}.my-demeos-sign-in-status{margin-top:2rem;padding:1.5rem}.my-demeos-sign-in-status .demeos-primary-button{width:100%;min-width:0}.my-demeos-areas{grid-template-columns:1fr}.my-demeos-area:nth-child(5){grid-column:auto}.my-demeos-area:nth-child(n){grid-template-columns:52px 1fr;min-height:0;padding:1.25rem}.my-demeos-area-icon{font-size:2rem}}

/* Mobile screenshot correction: separate card text/actions and remove crossed navigation underline. */
@media(max-width:760px){
 .my-demeos-body .customer-header-inner{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:76px;padding:9px 14px}
 .my-demeos-body .customer-brand .demeos-logo{width:62px;height:62px}
 .my-demeos-body .customer-journey-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-width:0;width:100%;align-items:stretch}
 .my-demeos-body .customer-journey-nav a,.my-demeos-body .customer-journey-nav a:nth-child(2),.my-demeos-body .customer-journey-nav a:nth-child(3){display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:8px 3px;border:1px solid rgba(205,166,93,.38);border-radius:9px;background:#0d2745;color:#f5f7fc;font-size:clamp(10px,2.65vw,12px);font-weight:700;line-height:1.25;letter-spacing:0;white-space:normal;text-align:center;text-decoration:none}
 .my-demeos-body .customer-journey-nav a:after{content:none!important;display:none!important}
 .my-demeos-body .customer-journey-nav a.is-current{background:#d4aa61;border-color:#e8c785;color:#10253c}
 .my-demeos-body .customer-journey-nav a:focus-visible{outline:3px solid #f0ca7c;outline-offset:2px}
 .my-demeos-main{width:calc(100% - 28px);padding:36px 0 54px}
 .my-demeos-introduction h1{font-size:clamp(2.6rem,10vw,4rem);line-height:1.12}
 .my-demeos-sign-in-status{padding:22px 16px}
 .my-demeos-sign-in-status h2{font-size:clamp(1.45rem,6vw,1.8rem);line-height:1.25}
 .my-demeos-section-heading h2:not(.sr-only){color:#fff}
 .my-demeos-areas{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:0;margin-top:22px;min-height:0}
 .my-demeos-area:nth-child(n){position:relative!important;inset:auto!important;display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:13px;row-gap:7px;align-items:start;width:100%!important;min-height:0;padding:18px 16px;border-radius:14px;transform:none!important}
 .my-demeos-area-icon{grid-column:1;grid-row:1/4;font-size:27px;line-height:1.25}
 .my-demeos-area-title{grid-column:2;grid-row:1;margin:0;font-size:clamp(1.2rem,5vw,1.5rem);line-height:1.25}
 .my-demeos-area-copy{grid-column:2;grid-row:2;display:block;margin:0;max-width:none;font-size:14px;line-height:1.5}
 .my-demeos-area-enter{position:static!important;inset:auto!important;grid-column:2;grid-row:3;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:6px 0 0;padding:11px 0 0;border-top:1px solid rgba(229,189,89,.28);font-size:11px;line-height:1.35;letter-spacing:.08em}
 .my-demeos-area-enter span{flex:none;font-size:20px}
 .my-demeos-area:nth-child(5){grid-column:1;min-height:0}
}

/* Visible relationship heading on the dark My DEMEOS surface. */
#customer-payment-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px 16px;text-align:start;font-size:1rem;line-height:1.5}
#customer-payment-summary dt{color:#dcc17c}
#customer-payment-summary dd{margin:0;min-width:0;overflow-wrap:anywhere;color:#fff}
.customer-payment-history-link{display:flex;flex-direction:column;gap:8px;margin-block:12px;padding:16px;background:#102039;border:1px solid #526784;border-radius:12px;color:#fff;text-align:start;text-decoration:none;overflow-wrap:anywhere}
.customer-payment-history-link span{color:#dcc17c;font-size:.9rem}
@media(max-width:480px){#customer-payment-summary{grid-template-columns:minmax(0,1fr)}#customer-payment-summary dd{margin-bottom:10px}}
.my-demeos-body #relationship-areas-heading{color:#fff;font-family:inherit;font-weight:700;line-height:1.2;text-align:center}

/* Purchase sign-in is one small step; profile areas keep their ordinary place. */
.customer-purchase-sign-in .my-demeos-main{max-width:560px;padding-block:1.5rem 2rem}
.customer-purchase-sign-in .my-demeos-introduction{text-align:start}
.customer-purchase-sign-in .my-demeos-introduction>.customer-eyebrow,
.customer-purchase-sign-in .my-demeos-introduction>h1,
.customer-purchase-sign-in .my-demeos-introduction>.my-demeos-lead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.customer-purchase-sign-in #customer-auth-status{margin:0;padding:1.25rem;background:#0b1d34;border:1px solid #354760}
.customer-purchase-sign-in #customer-auth-status h2{font-family:inherit;font-weight:700;font-size:1.5rem;line-height:1.25;letter-spacing:-.02em}
.customer-purchase-sign-in #customer-auth-status p{font-size:.95rem;line-height:1.5;margin:.65rem 0 1.25rem}
.customer-purchase-sign-in #customer-sign-in,.customer-purchase-sign-in #customer-create-account{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:48px;border-radius:10px;padding:.75rem 1rem;font-family:inherit;font-weight:700;font-size:1rem;line-height:1.4;margin:.65rem 0 0;white-space:normal}
.customer-purchase-sign-in #customer-create-account{background:transparent;color:#edf2f8;border:1px solid #526784}
#purchase-preparation-auth{display:grid;gap:.6rem;padding:1rem 0;border:0;background:transparent;text-align:start}
#purchase-preparation-auth a{display:flex;align-items:center;min-height:44px;width:fit-content;max-width:100%;margin:0;padding:.5rem .25rem;color:#d8e3f0;line-height:1.5;overflow-wrap:anywhere}
#purchase-preparation-auth #purchase-auth-privacy{font-size:.9rem;color:#b9c7d8}
#purchase-preparation-auth #purchase-auth-discard{justify-self:start;min-height:44px;background:transparent;color:#b9c7d8;border:0;padding:.5rem .25rem;line-height:1.5;text-decoration:underline;text-underline-offset:.2em}
.customer-purchase-sign-in .my-demeos-future:not(:has(.my-demeos-relationship-view:not([hidden]))){display:none}
.customer-purchase-sign-in .my-demeos-future{margin-top:1rem}
.customer-purchase-sign-in .my-demeos-future:has(.my-demeos-relationship-view:not([hidden])) .my-demeos-section-heading{display:none}
.my-demeos-main .my-demeos-introduction h1{font-size:clamp(2rem,5vw,3rem)}
.my-demeos-sign-in-status h2{font-size:1.4rem;line-height:1.3}
.customer-purchase-sign-in .my-demeos-main{min-height:0}
.customer-purchase-sign-in .my-demeos-introduction{display:block}
.customer-purchase-sign-in #purchase-preparation-auth{width:100%;justify-items:start}
.customer-purchase-sign-in #purchase-preparation-auth a{margin-inline:0;justify-content:start}
.my-demeos-body #relationship-areas-heading{font-size:clamp(1.5rem,3vw,2rem)}
.my-demeos-section-heading>.customer-eyebrow{font-size:.75rem;letter-spacing:.1em}
.customer-purchase-sign-in .my-demeos-introduction{padding-top:0}
.customer-purchase-sign-in #customer-sign-in{background:#dfbd67;box-shadow:none;border-color:#e8cc83;color:#08172a}
.my-demeos-sign-in-status{margin-top:1.5rem;padding:1.5rem;text-align:start;border-color:#354760}
.my-demeos-sign-in-status #customer-auth-signed-in p{font-size:.95rem;line-height:1.5}
.my-demeos-sign-in-status #customer-auth-signed-in strong{font-weight:500}
.my-demeos-sign-in-status h2{font-family:inherit}
.my-demeos-main .sr-only,.my-demeos-introduction #customer-auth-signed-in h2{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%)}
#purchase-auth-selection{display:flex;align-items:center;gap:.85rem;margin:0 0 1rem;min-width:0}
#purchase-auth-selection[hidden],#purchase-auth-selection img[hidden]{display:none!important}
#purchase-auth-selection img{width:56px;height:72px;object-fit:contain;flex:none;border-radius:8px}
#purchase-auth-selection>div{min-width:0;overflow-wrap:anywhere}
#purchase-auth-selection strong{display:block;font-size:1rem;line-height:1.4;color:#f7f9fc}
#purchase-auth-selection p{margin:.25rem 0;font-size:.85rem;line-height:1.5;color:#b9c7d8}

/* Compact account overview: one heading, one account action, five clear destinations. */
.my-demeos-body:not(.customer-purchase-sign-in) .my-demeos-main{max-width:720px;padding-block:1.25rem 2rem}
.my-demeos-body:not(.customer-purchase-sign-in) .my-demeos-introduction{text-align:start}
.my-demeos-body:not(.customer-purchase-sign-in) .my-demeos-introduction>.customer-eyebrow,
.my-demeos-body:not(.customer-purchase-sign-in) .my-demeos-lead,
.my-demeos-body .my-demeos-section-heading{display:none}
.my-demeos-body:not(.customer-purchase-sign-in) .my-demeos-introduction h1{font-size:1.75rem;line-height:1.2;margin:0 0 1rem}
.my-demeos-body:not(.customer-purchase-sign-in) #customer-auth-status{margin:0;padding:1rem;border-radius:12px}
.my-demeos-body:not(.customer-purchase-sign-in) #customer-auth-status h2{font-size:1.1rem;line-height:1.3}
.my-demeos-body:not(.customer-purchase-sign-in) #customer-auth-status p{font-size:.9rem;line-height:1.5;margin:.5rem 0}
.my-demeos-body:not(.customer-purchase-sign-in) #customer-sign-in,
.my-demeos-body:not(.customer-purchase-sign-in) #customer-create-account{min-width:0;width:100%;min-height:44px;border-radius:9px;margin-top:.65rem;margin-inline:0;box-sizing:border-box;white-space:normal;font-size:.95rem}
.my-demeos-body:not(.customer-purchase-sign-in) #customer-create-account{background:transparent;border:1px solid #526784;color:#edf2f8}
.my-demeos-body .my-demeos-future{margin-top:1rem}
.my-demeos-body #my-demeos-overview{grid-template-columns:minmax(0,1fr);gap:0;margin:0;border:1px solid #354760;border-radius:12px;overflow:hidden}
.my-demeos-body .my-demeos-area:nth-child(n){grid-column:1;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;gap:.75rem;padding:1rem;min-height:56px;border:0;border-bottom:1px solid #354760;border-radius:0;text-align:start}
.my-demeos-body .my-demeos-area:last-child{border-bottom:0}
.my-demeos-body .my-demeos-area-title{grid-column:1;grid-row:1;font-size:1rem;line-height:1.4;margin:0;overflow-wrap:anywhere}
.my-demeos-body .my-demeos-area-icon,.my-demeos-body .my-demeos-area-copy{display:none}
.my-demeos-body .my-demeos-area-enter{grid-column:2;grid-row:1;margin:0;padding:0;border:0;font-size:0;line-height:1}
.my-demeos-body .my-demeos-area-enter span{font-size:1.25rem}
.my-demeos-body .my-demeos-area:focus-visible{outline:2px solid #e5bd59;outline-offset:-3px}
.my-demeos-body #customer-payment-panel[hidden]{display:none!important}
@media(max-width:760px){
 .my-demeos-body .customer-header-inner{grid-template-columns:44px minmax(0,1fr);min-height:62px;padding:8px 14px;gap:8px}
 .my-demeos-body .customer-brand .demeos-logo{width:44px;height:44px}
 .my-demeos-body .customer-journey-nav a{font-size:11px}
 .my-demeos-body #customer-language{min-height:36px;max-width:60vw}
 .my-demeos-body .my-demeos-main{width:calc(100% - 28px)}
}
