/* Flow refinements reuse Apollo tokens; legacy account forms retain their fields. */
.ap-icon{display:inline-block;vertical-align:middle;flex:none}.ap-head-inner nav .ap-head-link.is-active{color:var(--ad-text,#f3f3f5)!important}.ad-profile.is-active{border-color:var(--ad-soft,#b0bb32)!important;color:var(--ad-soft,#b0bb32)!important}.ap-site-head .ap-icon{width:19px;height:19px}.ad-dock .ap-icon{width:22px;height:22px}.ad-dock a{min-height:44px}.ad-dock a[aria-current=page]{color:var(--ad-soft,#b0bb32)!important}.ap-head-inner nav .ap-head-link{min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}body.apollo-member-page .ad-dock a:last-child{color:#85858f!important}body.apollo-member-page .ad-dock a[aria-current=page]{color:#c2cf39!important}
body[data-ap-page=search] .ap-page-intro{margin-bottom:20px}body[data-ap-page=search] .ap-filters{flex-wrap:wrap;overflow:visible;gap:8px;padding:20px 0}body[data-ap-page=search] .ap-filters a{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:9px 17px}.au-search-clear{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 10px;color:var(--ad-muted)!important;font-size:12px;white-space:nowrap}.au-history-manage{position:relative;margin-left:auto}.au-history-manage>summary{list-style:none;cursor:pointer;min-height:40px;padding:10px 13px;border:1px solid var(--ad-border);border-radius:8px;background:var(--ad-panel);font-size:12px;color:var(--ad-text)}.au-history-manage>summary::-webkit-details-marker{display:none}.au-history-manage>div{position:absolute;right:0;top:calc(100% + 8px);z-index:15;display:grid;gap:8px;min-width:166px;padding:10px;background:var(--ad-panel);border:1px solid var(--ad-border);border-radius:10px;box-shadow:0 12px 32px #0004}.au-history-manage button{width:100%;min-height:40px;margin:0!important;white-space:nowrap}.au-history-manage [data-history-clear]{color:#e6a0a0!important}.au-history-manage button:disabled{opacity:.4;cursor:default}body[data-ap-page=history] .ap-history-actions{align-items:center}.au-muted,.au-local-note{color:var(--ad-muted);font-size:12px;line-height:1.8}.au-muted a{color:var(--ad-soft)!important}
.au-profile-hero{display:flex;align-items:center;gap:22px;padding:30px;border:1px solid var(--ad-border);border-radius:18px;background:var(--ad-panel)}.au-avatar{width:64px;height:64px;border:1px solid var(--ad-border);border-radius:20px;background:var(--ad-panel-hover);display:grid;place-items:center;flex:none;color:var(--ad-soft)}.au-avatar .ap-icon{width:30px;height:30px}.au-profile-hero>div:nth-child(2){flex:1;min-width:0}.au-eyebrow{color:var(--ad-muted);font-size:10px;letter-spacing:1px;margin:0 0 9px}.au-profile-hero h1{font-size:29px;line-height:1.4;margin:0 0 8px;overflow-wrap:anywhere;color:var(--ad-text)}.au-profile-hero p:last-child{font-size:12px;color:var(--ad-muted);line-height:1.8;margin:0}.au-profile-action{display:inline-flex;align-items:center;justify-content:center;padding:0 19px;min-height:44px;flex:none;border-radius:9px;background:var(--ad-accent);color:#151700!important;font-size:12px;font-weight:600}.au-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.au-quick-grid>a{display:flex;align-items:center;gap:16px;min-width:0;padding:22px;border:1px solid var(--ad-border);border-radius:14px;background:var(--ad-panel)}.au-quick-grid>a>span{display:grid;place-items:center;width:42px;height:42px;background:var(--ad-panel-hover);border-radius:12px;color:var(--ad-soft);flex:none}.au-quick-grid strong{font-size:15px;font-weight:550}.au-quick-grid small{display:block;margin-top:7px;color:var(--ad-muted);font-size:11px;line-height:1.6}.au-quick-grid b{margin-left:auto;font-size:23px;font-weight:400;color:var(--ad-muted)}.au-panel{padding:24px;border:1px solid var(--ad-border);border-radius:15px;background:var(--ad-panel);margin:20px 0}.au-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.au-section-heading h2{font-size:17px;font-weight:600;color:var(--ad-text);margin:0}.au-section-heading>a{display:inline-flex;align-items:center;min-height:36px;font-size:11px;color:var(--ad-muted)}.au-local-note{font-size:11px;margin:15px 0 0}.au-preference-row{display:flex;align-items:center;justify-content:space-between;gap:24px;cursor:pointer}.au-preference-row strong{font-size:14px;font-weight:500}.au-preference-row small{display:block;margin-top:8px;color:var(--ad-muted);font-size:11px;line-height:1.8}.au-preference-row input{appearance:none;-webkit-appearance:none;width:42px;height:25px;flex:none;border:1px solid var(--ad-border);border-radius:20px;background:var(--ad-panel-hover);cursor:pointer;position:relative}.au-preference-row input:before{content:'';position:absolute;width:17px;height:17px;left:3px;top:3px;border-radius:50%;background:#85858f;transition:transform .15s}.au-preference-row input:checked{background:#edff001c;border-color:var(--ad-soft)}.au-preference-row input:checked:before{background:var(--ad-accent);transform:translateX(17px)}.au-setting-status{font-size:11px;color:var(--ad-muted);line-height:1.8;margin:14px 0 0}.au-account-services>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;font-weight:550;cursor:pointer;min-height:28px;list-style:none}.au-account-services>summary::-webkit-details-marker{display:none}.au-account-services[open]>summary{margin-bottom:16px}.au-account-services nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.au-account-services nav a{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:13px 15px;background:var(--ad-panel-hover);border:1px solid var(--ad-border);border-radius:9px;min-height:66px}.au-account-services strong{font-size:12px;font-weight:500}.au-account-services nav span{font-size:10px;color:var(--ad-muted);line-height:1.7;margin-top:6px}body[data-ap-page=profile] .ad-history-card{max-width:none;min-width:270px;flex:0 0 calc((100% - 28px)/3);background:var(--ad-bg)}body[data-ap-page=profile] .au-panel .ad-history-track{padding-bottom:3px}
@media(min-width:1001px){html body.ap-service-page,body.apollo-member-page{padding-bottom:28px!important}.ad-dock,body.apollo-member-page .ad-dock{display:none!important}body[data-ap-page=profile] .au-profile-hero{margin-top:6px}}
@media(max-width:1000px){.ad-dock,body.apollo-member-page .ad-dock{width:360px;max-width:calc(100% - 24px);justify-content:space-between;gap:0;padding:8px 12px}.ad-dock a{flex:1;min-width:0;font-size:9px}.ap-head-inner nav{gap:16px}.au-panel{padding:20px}.au-profile-hero{padding:24px;gap:18px}.au-profile-hero h1{font-size:25px}.au-quick-grid>a{padding:20px;gap:12px}.au-quick-grid strong{font-size:14px}.au-quick-grid small{font-size:10px}}
@media(max-width:700px){.ap-head-inner nav .ap-head-link,body.apollo-member-page .ap-head-inner nav .ap-head-link{display:none}.ap-head-inner nav{gap:10px}.ap-head-inner{min-height:62px}body[data-ap-page=search] .ap-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:20px 0;gap:7px}body[data-ap-page=search] .ap-filters a{min-width:0;white-space:normal;min-height:40px;padding:8px 4px;font-size:11px}.au-search-clear{font-size:11px;min-height:38px}.au-profile-hero{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;padding:20px;border-radius:14px}.au-avatar{width:48px;height:48px;border-radius:15px}.au-avatar .ap-icon{width:24px;height:24px}.au-profile-hero h1{font-size:23px;margin-bottom:6px}.au-profile-hero p:last-child{font-size:11px}.au-eyebrow{font-size:9px;margin-bottom:7px}.au-profile-action{grid-column:2;justify-self:start;min-height:40px;padding:0 15px;font-size:12px}.au-quick-grid{gap:10px;margin:16px 0}.au-quick-grid>a{align-items:flex-start;flex-direction:column;gap:12px;padding:16px;border-radius:12px}.au-quick-grid>a>span{width:34px;height:34px;border-radius:10px}.au-quick-grid b{display:none}.au-quick-grid strong{font-size:13px}.au-quick-grid small{font-size:10px;line-height:1.7}.au-panel{padding:18px;margin:16px 0;border-radius:13px}.au-section-heading{margin-bottom:14px}.au-section-heading h2{font-size:16px}.au-section-heading>a{font-size:10px}.au-preference-row{gap:18px}.au-preference-row strong{font-size:13px}.au-preference-row small{font-size:10px}.au-account-services nav{grid-template-columns:1fr}.au-local-note{font-size:10px}.au-history-manage{margin-left:0}.au-history-manage>summary{font-size:11px}.au-history-manage>div{right:0;min-width:156px}body[data-ap-page=history] .ap-history-actions>[data-history-count]{flex-basis:100%}body[data-ap-page=profile] .ad-history-card{flex-basis:100%;min-width:245px}}
/* Preview recent stories as a short list, without a second horizontal scrollbar. */
body[data-ap-page=profile] .au-panel .ad-history-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:12px}body[data-ap-page=profile] .au-panel .ad-history-card{width:100%;min-width:0;max-width:none;flex:initial;margin:0}
@media(max-width:700px){body[data-ap-page=profile] .au-panel .ad-history-track{grid-template-columns:minmax(0,1fr);gap:10px}.au-history-manage>div{left:0;right:auto}}
/* Restyle the original authentication forms, preserving validation and handlers. */
body#reg.apollo-member-page.auth-ui-page{background:#0d0e10!important;background-image:none!important;color:#f3f3f5!important;min-height:100vh!important}body#reg.apollo-member-page.auth-ui-page .auth-page-hero{display:none!important}body#reg.apollo-member-page.auth-ui-page .auth-page-layout{display:block!important;position:static!important;width:100%!important;max-width:500px!important;height:auto!important;min-height:0!important;margin:18px auto 40px!important;padding:0 20px!important;background:transparent!important;box-sizing:border-box!important}body#reg.apollo-member-page.auth-ui-page .auth-page-form{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;padding:0!important;margin:0!important;background:transparent!important}body#reg.apollo-member-page.auth-ui-page .auth-shell{width:100%!important;max-width:none!important;margin:0!important;padding:26px!important;background:#17181c!important;border:1px solid #2a2b30!important;border-radius:16px!important;color:#f3f3f5!important}body#reg.apollo-member-page.auth-ui-page .auth-logo{display:none!important}body#reg.apollo-member-page.auth-ui-page #ui-nav.m-nav{position:relative!important;left:auto!important;top:auto!important;width:100%!important;max-width:500px!important;min-height:44px!important;height:44px!important;margin:20px auto 0!important;padding:0 20px!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;color:#f3f3f5!important;box-sizing:border-box!important}body#reg.apollo-member-page.auth-ui-page #ui-nav .mb-title{color:#f3f3f5!important;font-size:18px!important}body#reg.apollo-member-page.auth-ui-page #ui-nav a{color:#a7a7b0!important}body#reg.apollo-member-page.auth-ui-page .auth-field-label{color:#a4a4ad!important;font-size:12px!important}body#reg.apollo-member-page.auth-ui-page .reg-group{background:transparent!important;border:0!important;border-radius:9px!important}body#reg.apollo-member-page.auth-ui-page .reg-control{background:#202126!important;border:1px solid #35363d!important;border-radius:9px!important;min-height:46px!important;color:#f3f3f5!important;font-size:14px!important;box-shadow:none!important}body#reg.apollo-member-page.auth-ui-page .reg-control:focus{border-color:#b0bb32!important}body#reg.apollo-member-page.auth-ui-page .auth-invite-toggle{color:#b0bb32!important}body#reg.apollo-member-page.auth-ui-page .auth-invite-toggle__rule{background:#35363d!important}body#reg.apollo-member-page.auth-ui-page .auth-forgot-link{color:#a4a4ad!important}body#reg.apollo-member-page.auth-ui-page .auth-page-btn{height:44px!important;min-height:44px!important;border-radius:9px!important;background:#edff00!important;color:#151700!important;border:0!important;font-size:13px!important}body#reg.apollo-member-page.auth-ui-page .auth-page-btn:disabled{background:#303138!important;color:#85858f!important;cursor:not-allowed!important}body#reg.apollo-member-page.auth-ui-page .auth-inline-head{color:#f3f3f5!important;background:transparent!important}body#reg.apollo-member-page.auth-ui-page .auth-inline-title{color:#f3f3f5!important}
@media(max-width:600px){body#reg.apollo-member-page.auth-ui-page .auth-page-layout{padding:0 16px!important;margin-top:14px!important}body#reg.apollo-member-page.auth-ui-page .auth-shell{padding:22px 18px!important}body#reg.apollo-member-page.auth-ui-page #ui-nav.m-nav{padding:0 16px!important}}
