/* One primary, one secondary. Atlas, chips, tabs and destructive actions excluded. */
:root{--aspn-primary:#7A6247;--aspn-primary-ink:#FAF8F4}
:root[data-theme=night]{--aspn-primary:#d8b995;--aspn-primary-ink:#25211c}
/* Page background and --aspn-page: the theme glow in app.css (docs/design/theme-glow.md). */
html[data-theme] .btn:not(.danger),html[data-theme] .au-wrap .au-btn.pri,html[data-theme] #jr-root .jr-pill:not(.ghost){background:var(--aspn-primary)!important;color:var(--aspn-primary-ink)!important;border:1px solid transparent!important;border-radius:999px!important;box-shadow:none!important;min-height:48px!important;padding:12px 22px!important;font-family:'Bebas Neue',sans-serif!important;font-size:17px!important;font-weight:400!important;letter-spacing:.05em!important;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
html[data-theme] .btn:is(.glass,.ghost):not(.danger),html[data-theme] #jr-root .jr-pill.ghost{background:transparent!important;border:1px solid var(--line-2)!important;color:var(--ink)!important;box-shadow:none!important}
html[data-theme] .session-card .btn{background:#FAF8F4!important;color:#252525!important}
html[data-theme] .btn.danger{background:#b3261e!important;color:#fff!important}
html[data-theme] .btn[disabled],html[data-theme] .au-btn[disabled],html[data-theme] .jr-pill[disabled]{opacity:.45!important}
html[data-theme=night] .logo{filter:brightness(0) invert(.92)!important}
/* Calendar: reserve the sticky action lane so the final field remains reachable. */
#sheetRoot .sheet:has(#calAddSheet){scroll-padding-bottom:calc(84px + env(safe-area-inset-bottom,0px));}
#calAddSheet{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px));}
#calAddSheet .field:has(#calDetail){scroll-margin-bottom:84px;}
#calAddSheet #calDetail{scroll-margin-bottom:84px;}
#sheetRoot .sheet:has(#calAddSheet){background:#FAF8F4!important;}
:root[data-theme=night] #sheetRoot .sheet:has(#calAddSheet){background:#25211c!important;}
body:has(#calAddSheet) #atlas-member-entry,body:has(#calAddSheet) nav[aria-label="Sections"]{visibility:hidden!important;pointer-events:none!important;}

/* Journey Q782/Q784 and approved layout corrections. */
html[data-theme]{--jr-optimal:#7A6247;--jr-inrange:#252525;--jr-fair:#a6886e;--jr-out:#b3261e;--jr-neutral-track:rgba(37,37,37,.08)}
html[data-theme=night]{--jr-optimal:#d8b995;--jr-inrange:#f0ebe1;--jr-fair:#c9a87f;--jr-out:#d97f78;--jr-neutral-track:rgba(240,235,225,.10)}
html[data-theme] #jr-root:has(.jh-header) .jh-band-label[data-band=optimal]{color:var(--jr-optimal)!important}
html[data-theme] #jr-root:has(.jh-header) .jh-band-label:is([data-band=good],[data-band=inRange]){color:var(--jr-inrange)!important}
html[data-theme] #jr-root:has(.jh-header) .jh-band-label[data-band=fair]{color:var(--jr-fair)!important}
html[data-theme] #jr-root:has(.jh-header) .jh-band-label[data-band=outOfRange],html[data-theme] #jr-root:has(.jh-header) .jh-flag{color:var(--jr-out)!important}
html[data-theme] #jr-root .jr-range75{background-color:var(--jr-neutral-track)!important}
html[data-theme] #jr-root .jr-chip.ok{background:color-mix(in srgb,var(--jr-optimal) 12%,transparent)!important;color:var(--jr-optimal)!important}
html[data-theme] #jr-root .jr-delta.up{color:var(--jr-optimal)!important}
html[data-theme] #jr-root .jr-delta.down{color:var(--jr-out)!important}
html[data-theme] #jr-root:has(.jh-header) .jh-wear-head{flex-wrap:wrap!important;min-width:0}
html[data-theme] #jr-root:has(.jh-header) .jh-wear-head>.jr-flink{max-width:100%!important;flex-shrink:0;box-sizing:border-box}
html[data-theme] #jr-root:has(.jh-header) .jh-quicknav{flex-wrap:nowrap!important;gap:clamp(8px,3vw,22px)!important;white-space:nowrap;justify-content:space-between}
html[data-theme] #jr-root:has(.jh-header) .jh-quicknav button{white-space:nowrap;font-size:clamp(8px,2.5vw,11px)}
html[data-theme] #jr-root:has(.jh-header) .jh-span-snapshot{box-shadow:none!important;border:1px solid var(--jr-line)!important}
html[data-theme] #jr-root:has(.jh-header) :is(.jh-log-button,.jh-wear-head .jr-flink,.jh-sleep-line .jr-flink,.jh-span-snapshot>.jr-flink,[data-compare-category],.jh-chart-open-label){background:var(--aspn-primary)!important;color:var(--aspn-primary-ink)!important;-webkit-text-fill-color:var(--aspn-primary-ink)!important;border:1px solid transparent!important;box-shadow:none!important}

.club-composer-row{display:flex;align-items:center;gap:10px;min-height:76px;cursor:pointer}
.club-composer-row .grow{min-width:0}.club-composer-row .btn{flex:none}
html[data-theme] .club-composer-expanded .segmented button[aria-pressed=true]{background:var(--aspn-primary)!important;color:var(--aspn-primary-ink)!important;box-shadow:none!important}
html[data-theme] .club-composer-expanded .segmented button[aria-pressed=false]{background:transparent!important;color:var(--ink)!important;border:1px solid var(--line-2)!important;box-shadow:none!important}
.plan-file-meta{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
.app[data-route=plan] .list-row .grow{min-width:0;overflow:hidden}
.plan-week-ring{position:relative;width:34px;height:34px;flex:none;margin-left:auto}
.plan-week-ring svg{transform:rotate(-90deg)}.plan-week-ring circle{fill:none;stroke-width:3.5}
.plan-week-track{stroke:#e8dfce}.plan-week-fill{stroke:var(--aspn-primary);stroke-linecap:round}
.plan-week-ring>span{position:absolute;inset:0;display:grid;place-items:center;font-size:9px;color:var(--sand-deep)}
html[data-theme=night] .plan-week-track{stroke:#3a352e}
.app[data-route=plan] #calSection>.row:first-child{flex-wrap:wrap}.app[data-route=plan] #calSection>.row:first-child>span.row{flex-basis:100%;justify-content:center}
.app[data-route=club] #view>.club-composer-row{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;text-align:left!important;padding:16px!important}

html[data-theme] #app.app[data-route=plan] .list-row .plan-file-meta{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

html[data-theme] #jr-root .jr-wrap::before{background:none!important}


/* Q788: neutral high-contrast tooltip with its band as a small value key. */
html[data-theme] .jr-tip75[data-lab-band]{background:#252525!important;color:#FAF8F4!important;border-radius:6px}
html[data-theme=night] .jr-tip75[data-lab-band]{background:#f0ebe1!important;color:#25211c!important}
.jr-tip-band-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}
.jr-point75:focus .jr-point-dot{stroke-width:2px;stroke:var(--jr-card)}

html[data-theme] #app.app[data-route=club] form[data-form=post] .row.between>button.btn.sm{background:var(--aspn-primary)!important;color:var(--aspn-primary-ink)!important;box-shadow:none!important;font-size:17px!important;min-height:48px!important;padding:12px 22px!important}
.edu-chart[data-lab-palette] .edu-bandedge{stroke:var(--jr-optimal)}
html[data-theme] .edu-tip[data-lab-band]{background:#252525;color:#FAF8F4;border-radius:6px}
html[data-theme=night] .edu-tip[data-lab-band]{background:#f0ebe1;color:#25211c}

/* Dialog portal: its glass-card token is a gradient, so SVG ring uses the solid base. */
html[data-theme] .jh-history-dialog{--jr-card:#FFFFFF!important}
html[data-theme=night] .jh-history-dialog{--jr-card:#282522!important;background:#282522!important;color:#f0ebe1!important}

/* Pop-up audit: explicit high-specificity rules beat older rails overrides. */
html:root[data-theme] #scan-sheet .btn,html:root[data-theme] #a2hsRoot .btn:not(.ghost){background:var(--aspn-primary)!important;background-image:none!important;color:var(--aspn-primary-ink)!important;border:1px solid transparent!important;box-shadow:none!important}
html:root[data-theme] #scan-sheet .btn[data-action=scan-close],html:root[data-theme] #a2hsRoot .btn.ghost{background:transparent!important;color:var(--ink)!important;border:1px solid var(--line-2)!important;box-shadow:none!important}
/* Atlas stays floating, above the tab lane. Cart retains a 12px stack gap. */
@media(max-width:1023px){html[data-theme] #atlas-member-entry{bottom:calc(var(--tabs-h) + 16px + env(safe-area-inset-bottom,0px))!important}
html[data-theme] body:has(#atlas-member-entry) #cart-fab{bottom:calc(var(--tabs-h) + 16px + 52px + 12px + env(safe-area-inset-bottom,0px))!important}}
/* Food-plan surfaces use the same page and primary palette, never sage. */
html[data-theme] .mpb{--mpb-ivory:#FAF8F4;--mpb-ok:#7A6247;--mpb-mongoose:#7A6247;--mpb-mongoose-deep:#7A6247;--mpb-sand:#d8b995;--mpb-charcoal:#25211c}
html[data-theme=night] .mpb{--mpb-ivory:#161513;--mpb-ok:#d8b995;--mpb-mongoose:#d8b995;--mpb-mongoose-deep:#d8b995;--mpb-sand:#d8b995;--mpb-charcoal:#25211c}
html[data-theme] .mpb .cta:not(.ghost){background:var(--aspn-primary)!important;background-image:none!important;color:var(--aspn-primary-ink)!important;box-shadow:none!important}

/* Plan audit: reserve weekday space above its circle and truncate the title. */
.app[data-route=plan] .cal-ws-day{gap:8px!important}
.app[data-route=plan] .cal-ws-wd{line-height:16px;flex:none}
.app[data-route=plan] .cal-ws-ring{flex:none}
.app[data-route=plan] .plan-file-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Do not float controls over an open action sheet. */
body:has(#scan-sheet),body:has(#a2hsRoot:not([hidden])),body:has(.mpb-sheet){--unified-sheet-open:1}
body:has(#scan-sheet) #atlas-member-entry,body:has(#a2hsRoot:not([hidden])) #atlas-member-entry,body:has(.mpb-sheet) #atlas-member-entry{visibility:hidden!important;pointer-events:none!important}
/* File date/size stays complete; the longer title takes the ellipsis. */
.app[data-route=plan] #view .list-row .grow{flex:1 1 auto!important;min-width:0!important}
.app[data-route=plan] #view .list-row .plan-file-meta{display:block!important;max-width:none!important;font-size:11px!important;letter-spacing:0!important}
#atlas-member-entry.atlas-action-collision{visibility:hidden!important;pointer-events:none!important}
body:has(#a2hsRoot:not([hidden])) #tabs,body:has(#a2hsRoot:not([hidden])) #cart-fab{visibility:hidden!important;pointer-events:none!important}
@media(max-width:340px){
.app[data-route=plan] #view .list-row{gap:8px!important;padding-inline:12px!important}
.app[data-route=plan] #view .list-row .file-ic{width:32px!important;height:36px!important;flex:0 0 32px!important}
.app[data-route=plan] #view .list-row>.chip{font-size:10px!important;padding:4px 8px!important;flex:none!important}
}
/* Art v4: stable scan upload action, with the drop zone as a separate quiet row. */
html:root[data-theme] #scan-sheet label.btn{min-height:56px!important;height:56px!important;margin:16px 0!important;padding:12px 18px!important;border-radius:999px!important;align-items:center;justify-content:center}
html:root[data-theme] #scan-sheet .aspn-drop75{margin:0!important;min-height:44px!important;background:transparent!important;border:1px dashed var(--line-2)!important;color:var(--ink-2)!important}
html[data-theme] .mpb .lib-card button{min-width:44px!important;min-height:44px!important}
@media(max-width:1023px){html[data-theme] #atlas-member-entry{bottom:calc(var(--tabs-h) + 20px + env(safe-area-inset-bottom,0px))!important;transition:opacity 150ms ease,transform .2s ease!important}
html[data-theme] body:has(#atlas-member-entry) #cart-fab{bottom:calc(var(--tabs-h) + 20px + 52px + 12px + env(safe-area-inset-bottom,0px))!important}
#app main{padding-bottom:calc(var(--tabs-h) + 80px + env(safe-area-inset-bottom,0px))!important}}
html[data-theme] #atlas-member-entry.atlas-action-collision{visibility:visible!important;opacity:0!important;pointer-events:none!important}
.app[data-route=plan] .plan-calendar-empty-v4{padding-right:76px}
.app[data-route=plan] #calSection>.row:first-child{display:grid!important;grid-template-columns:1fr auto;align-items:center}
.app[data-route=plan] #calSection>.row:first-child>.plan-week-ring{grid-column:2;grid-row:1}
.app[data-route=plan] #calSection>.row:first-child>span.row{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:44px 1fr 44px;justify-content:stretch!important;width:100%}
html[data-theme] .app[data-route=plan] #calSection .icon-btn{width:44px;height:44px;background:transparent!important;border:0!important;box-shadow:none!important;padding:12px!important}
.app[data-route=plan] .cal-ws-day{min-height:64px!important;position:relative}
.app[data-route=plan] .cal-ws-day::before{content:'';position:absolute;inset:0 -4px;min-width:44px;min-height:44px}
.app[data-route=plan] .plan-file-sub{display:flex;align-items:center;gap:6px;white-space:nowrap;min-width:0}
.app[data-route=plan] .plan-file-sub>.chip{font-size:9px!important;padding:2px 5px!important;flex:none}
html[data-theme] #tabs .tab-dot{background:var(--aspn-primary)!important;box-shadow:none!important;border:0!important}
/* Art ruling: all seven days stay visible; non-overlapping width is 40px at 320. */
.app[data-route=plan] .cal-weekstrip{padding:2px 4px 8px!important;gap:0!important;box-sizing:border-box}
.app[data-route=plan] .cal-ws-day{flex:1 1 0!important;min-width:0!important;min-height:64px!important;padding-inline:0!important}
.app[data-route=plan] .cal-ws-day::before{content:none!important}
@media(max-width:340px){.app[data-route=plan] .cal-weekstrip{margin-inline:-16px!important;width:calc(100% + 32px)!important}}
@media(max-width:340px){.app[data-route=plan] .cal-weekstrip{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));margin-inline:-20px!important;width:calc(100% + 40px)!important}}

/* Art v5: quieter row still meets text contrast; badge remains readable. */
html:root[data-theme=day] #scan-sheet .aspn-drop75{color:#585254!important}
.app[data-route=plan] .plan-file-sub>.chip{font-size:10px!important;padding:2px 5px!important}
/* Shared header: remove the obsolete seven-pixel paper-color slab. */
html[data-theme] #app.app #top{box-shadow:none!important}
@media(max-width:1023px){
  html[data-theme] #app.app #top{gap:8px!important}
  html[data-theme] #app.app #top .app-home{display:flex!important;align-items:center;flex:0 1 104px!important;min-width:0!important;max-width:104px!important;margin-left:0!important}
  html[data-theme] #app.app.has-app-back #top .app-home{margin-left:44px!important}
  html[data-theme] #app.app #top .app-home .logo{display:block;width:100%!important;min-width:0!important;max-width:104px!important;height:auto!important;object-fit:contain!important;flex:none!important}
  html[data-theme] #app.app #top .top-actions{flex:none!important;margin-left:auto!important;gap:4px!important}
  html[data-theme] #app.app #top .top-actions>.icon-btn,html[data-theme] #app.app #top #v103avbtn{width:44px!important;min-width:44px!important;height:44px!important;flex:none!important}
  @media(max-width:360px){
    html[data-theme] #app.app #top{padding-left:max(8px,env(safe-area-inset-left,0px))!important;padding-right:max(8px,env(safe-area-inset-right,0px))!important}
    html[data-theme] #app.app.has-app-back #top .app-home{margin-left:52px!important}
    html[data-theme] #app.app #top .top-actions{gap:0!important}
  }
}

/* E969 shared header slots override prior per-route logo shifts. */
@media(max-width:1023px){
html[data-theme] #app.app #top,#jr-root.jr-root .jr-shared969{box-sizing:border-box!important;min-height:65px!important;height:calc(65px + env(safe-area-inset-top,0px))!important;padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px 56px!important;gap:4px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
html[data-theme] #app.app #top .app-home,html[data-theme] #app.app.has-app-back #top .app-home,.jr-shared969 .app-home{margin:0!important;min-width:0;display:flex;align-items:center;flex:0 1 96px}
/* The fixed back button ends at x=54; give the logo a 12 px clear gap when it shows (no change on routes without one). */
html[data-theme] #app.app.has-app-back #top .app-home{margin:0 0 0 12px!important}
/* r3d: Journey's own header (body.jr-active, journey.js) always draws its fixed back button; same 12 px clear gap. */
html[data-theme] body.jr-active #jr-root.jr-root .jr-shared969>.jr-back~.app-home{margin:0 0 0 12px!important}
html[data-theme] #app.app #top .logo,.jr-shared969 .logo{width:100%!important;max-width:96px!important;height:auto!important}
html[data-theme] #app.app #top .top-actions,.jr-shared969 .top-actions{display:flex!important;gap:0!important;align-items:center;flex:none}
html[data-theme] #app.app #top .icon-btn,.jr-shared969 .icon-btn,html[data-theme] #app.app #top .top-actions>a:last-child,.jr-shared969 .top-actions>a:last-child,html[data-theme] #app.app #top .v103-avatar-btn{width:44px!important;height:44px!important;min-width:44px!important;display:grid;place-items:center}
#app #app-back,.jr-shared969 .jr-back{position:fixed!important;left:10px!important;top:calc(10px + env(safe-area-inset-top,0px))!important;width:44px!important;height:44px!important;z-index:55!important;transform:none!important}
#jr-root.jr-root .jr-shared969{position:sticky!important;top:0!important;z-index:55!important}
#jr-root.jr-root .jr-shared969 .app-home{text-decoration:none}
#jr-root.jr-root .jr-shared969 .logo{display:block}
}
@media(max-width:1023px){
html[data-theme] #app.app #top .app-home,#jr-root.jr-root .jr-shared969 .app-home{width:clamp(64px,22.5vw,96px)!important;min-width:clamp(64px,22.5vw,96px)!important;max-width:96px!important;flex:0 0 auto!important;padding:0!important;height:44px!important;overflow:visible!important}
#jr-root.jr-root .jr-shared969 .logo{width:100%!important;height:auto!important;max-height:none!important;min-width:0!important}
#jr-root.jr-root .jr-shared969 .top-actions{gap:0!important;display:flex!important;flex:none!important}
#jr-root.jr-root .jr-shared969 .jr-bagtop{display:none!important}
}
@media(max-width:1023px){
html[data-theme] #app.app #top{z-index:50!important}
#jr-root.jr-root .jr-shared969 .icon-btn{border:1px solid var(--g73-border,#b6a58b33);border-radius:50%;background:transparent}
}
@media(max-width:1023px){#jr-root.jr-root .jr-shared969 .jr-back{border-radius:50%;background:var(--glass-strong,#faf8f4);box-shadow:0 8px 22px #20180e18}}
/* Design F970: three surfaces, editorial fields and quiet empty states. */
#app[data-route=today] #view{--f970-radius:22px;--f970-line:rgba(125,105,78,.23);--f970-card:#f7f2e9}
html[data-theme=night] #app[data-route=today] #view{--f970-card:#2d2b27;--f970-line:rgba(210,185,152,.25)}
#app[data-route=today] #view>.card,#app[data-route=today] #view>.section>.card{border-radius:var(--f970-radius);border:1px solid var(--f970-line);background:var(--f970-card);box-shadow:none}
#app[data-route=today] #view>.card.dark{background:var(--f970-card)!important;color:var(--ink)!important;border-left:3px solid #ac8b63}
#app[data-route=today] #view>.card.dark .muted,#app[data-route=today] #view>.card.dark .faint{color:var(--mut)!important}
#app[data-route=today] #homeClub{background:transparent!important;border:0!important;border-radius:0!important}
#app .empty:not(:has(button,a)),#app .h55-empty{min-height:100px;padding:24px 16px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;text-align:center;font:400 14px/1.5 var(--font-body);color:var(--mut)}
#app .empty:not(:has(button,a))::before,#app .h55-empty::before{content:'';display:block;width:68px;height:26px;background:currentColor;mask:url('/brand/aspn-logo-ink.png') center/contain no-repeat;opacity:.45}
#app .list-row.plain:has(.act-icon) .m{display:block;position:relative}
#app .list-row.plain:has(.act-icon) .m::after{content:'';display:block;width:min(160px,85%);height:6px;margin-top:7px;background:var(--line);border-radius:4px;animation:f970-pulse 1.5s ease-in-out infinite}
@keyframes f970-pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){#app .list-row.plain:has(.act-icon) .m::after{animation:none}}
#sheetRoot .sheet h1{font-family:'Bebas Neue',sans-serif;letter-spacing:.02em;font-size:32px;line-height:1.1}#sheetRoot .sheet{font-family:var(--font-body)}
#sheetRoot .sheet:has(.lw-compact-v4){padding-bottom:24px!important;max-height:calc(100dvh - 24px);overflow-y:auto}
.lw-compact-v4 .lw-heading>.eyebrow{font-family:'Bebas Neue',sans-serif!important;font-size:28px!important;line-height:1.1!important;letter-spacing:.04em!important}
.lw-compact-v4 .lw-heading:before{content:'';display:block;width:64px;height:24px;background:var(--lw-ink);mask:url('/brand/aspn-logo-ink.png') center/contain no-repeat}
.lw-compact-v4 .lw-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.lw-compact-v4 .lw-close{margin-left:auto}
html[data-theme] #sheetRoot .lw-compact-v4 .lw-save{position:sticky;bottom:-1px;z-index:25;flex-shrink:0;box-shadow:0 -10px 0 4px var(--lw-bg)!important;margin-bottom:4px}
#app[data-route=me] .stat-row{border:0;background:transparent;box-shadow:none}#app[data-route=me] .card{box-shadow:none;border-radius:22px}
#app[data-route=me] .btn,#app[data-route=me] .h55-btn{min-height:44px;border-radius:14px;font-family:var(--font-body)}
#app[data-route=me] .btn.glass{background:transparent;color:var(--ink);border:1px solid var(--line)}
#app[data-route=me] .badges{display:flex;flex-wrap:wrap;gap:16px}#app[data-route=me] .badge-item{flex:0 1 92px;font:400 12px/1.35 var(--font-body);min-height:80px}
#app[data-route=me] .a2hs-card{margin-top:28px}.a2hs-on #app[data-route=me] .install{display:none!important}
#jr-root .jh-labs-slot:not([aria-busy=true]){min-height:0}#jr-root .jh-labs-slot:not([aria-busy=true]):empty,#jr-root #jh-trends75:empty{display:none;margin:0;padding:0;min-height:0}
#jr-root [data-labs-consent],#jr-root [data-labs-retry]{display:inline-flex;justify-content:center;align-items:center;min-height:44px;margin:8px 10px 8px 0;padding:10px 14px;border:1px solid var(--jr-line,#a88c68);border-radius:12px;color:var(--jr-ink);text-decoration:none;font-size:12px;letter-spacing:.06em}
#jr-root .jh-connect{margin:12px 0;min-height:0}#jr-root .jh-connect>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;min-height:44px;gap:16px}#jr-root .jh-connect>summary::-webkit-details-marker{display:none}#jr-root .jh-connect>summary:after{content:'›';transform:rotate(90deg);font-size:24px}#jr-root .jh-connect[open]>summary:after{transform:rotate(-90deg)}
.fuel-actionhead970{display:flex;justify-content:flex-end;align-items:center;margin:0 0 10px}.fuel-actionhead970 .fuel-favlink75g{width:44px;min-width:44px;height:44px;padding:10px;display:grid;place-items:center}.fuel-actionhead970 svg{width:20px;height:20px}
#app[data-route=me] .h55-btn{background:var(--sand-deep,#7a6247);color:#fffdf8;border:0}html[data-theme=night] #app[data-route=me] .h55-btn{background:#d8b995;color:#25211c}
#app .empty-state970{display:grid;justify-items:center;padding-bottom:20px}#app .empty-state970 .empty{padding-bottom:12px}.empty-state970>.btn{width:auto;min-width:160px;min-height:44px}
#app[data-route=today] .home-targets75g{background:#f7f2e9!important;color:#2f2921!important;border-left:3px solid #a98760!important}html[data-theme=night] #app[data-route=today] .home-targets75g{background:#2d2b27!important;color:#f4eadc!important}.fuel8 .fl-sect:has(.fuel-actionhead970){display:flex;justify-content:space-between;align-items:center;gap:16px}.fuel8 .fl-sect .fuel-actionhead970{margin:0}.fuel-next970{display:grid;gap:8px;margin:18px 0}.fuel-next970>.btn{margin:0!important;min-height:44px}.fuel-next970>.btn.glass{background:transparent!important;box-shadow:none!important;border:0!important;padding:8px!important;color:var(--ink)!important;text-decoration:underline;font-size:13px}
/* Scope over the legacy material layer, which carries three ID-weight guards. */
html:root:is(html,#f970a):is(html,#f970b):is(html,#f970c):is(html,#f970d) #app[data-route=today] #view>.card{background:var(--f970-card,#f7f2e9)!important;background-image:none!important;border:1px solid var(--f970-line,#b9a98c55)!important;border-radius:22px!important;box-shadow:none!important;backdrop-filter:none!important;color:var(--ink)!important}
html:root:is(html,#f970a):is(html,#f970b):is(html,#f970c):is(html,#f970d) #app[data-route=today] #view>.home-targets75g{border-left:3px solid #a98760!important;color:var(--ink)!important}
html:root:is(html,#f970a):is(html,#f970b):is(html,#f970c):is(html,#f970d) #app[data-route=today] #view>.home-targets75g :is(h2,p,.eyebrow,.link){color:var(--ink)!important}
html:root:is(html,#f970a):is(html,#f970b):is(html,#f970c):is(html,#f970d) #app[data-route=today] #view>#homeClub{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html:root:is(html,#f970a):is(html,#f970b):is(html,#f970c):is(html,#f970d) #app[data-route=me] .h55-btn{background:#7a6247!important;color:#fffdf8!important;box-shadow:none!important;border:0!important;border-radius:14px!important}html:root[data-theme=night]:is(html,#f970a):is(html,#f970b):is(html,#f970c):is(html,#f970d) #app[data-route=me] .h55-btn{background:#d8b995!important;color:#25211c!important}
html:root:not([data-theme=night]):is(html,#f970a):is(html,#f970b):is(html,#f970c):is(html,#f970d) #app[data-route=today] #view>.home-targets75g :is(h2,p,.eyebrow,.link){color:#3d3027!important}
.home-targets75g{--targets-ink970:#3d3027!important}html[data-theme=night] .home-targets75g{--targets-ink970:#f4eadc!important}
#app .loading970{min-height:88px}.loading970 .act-icon{opacity:.6}#jr-root [aria-busy=true]{position:relative}#jr-root [aria-busy=true]::after{content:'';display:block;width:min(220px,85%);height:8px;margin:16px 0;border-radius:4px;background:var(--jr-line,#b5a58c66);animation:f970-pulse 1.5s ease-in-out infinite}@media(prefers-reduced-motion:reduce){#jr-root [aria-busy=true]::after{animation:none}}
#app[data-route=me] .h55-card{font-family:var(--font-body)}#app[data-route=me] .h55-h{font-family:'Bebas Neue',sans-serif;font-size:24px;font-weight:400;letter-spacing:.02em}#app[data-route=me] .h55-card :is(input,select,textarea,button){font-family:inherit}
/* Profile install controls keep full touch targets at the new location. */
#app[data-route=me] .a2hs-card :is(.a2hs-x,.a2hs-never){min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}#app[data-route=me] .a2hs-card .a2hs-x{width:44px;height:44px;font-size:22px}#app[data-route=me] .a2hs-card .a2hs-never{padding:0 6px}#a2hsRoot .a2hs-close{min-width:44px;min-height:44px;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:22px}

/* Q973: the separate CEO shell owns its own top navigation and controls. */
html[data-theme] body.aspn-ceo55 #app.app #top{display:none!important}

/* Resting Atlas entry does not disappear on content collisions. */
html[data-theme] #atlas-member-entry.atlas-rest-hidden{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(8px)!important}
html[data-theme] #atlas-member-entry{transition:opacity 100ms ease,transform 100ms ease!important}
@media(prefers-reduced-motion:reduce){html[data-theme] #atlas-member-entry{transition:none!important}}

/* Train quick actions ("Quick session", "Log a workout"): labels wrap only between words, and the size follows the
   card width (container units) so the longest word always fits whole, at any text size. Live bug fix, not ds2-only. */
html .tv2-tile.tv2-act{container-type:inline-size;gap:8px}
html .tv2-tile.tv2-act b{overflow-wrap:normal;word-break:normal;hyphens:none;-webkit-hyphens:none;letter-spacing:.03em;font-size:min(.8125rem,9.75pt);font-size:min(.8125rem,9.75pt,9.5cqi)}
/* Without container queries (iOS 15, Chrome < 105) cqi falls back to the viewport, so the 9.75pt (13 px) cap holds the
   label; pt, not px, so the ds2 type mapper leaves the cap alone. Grid items never widen their column. */
html .tv2-tiles>*{min-width:0}
/* Fuel macro tiles: the label and its unit each stay on one line. */
html .fl-macro>span,html .fl-macro small{white-space:nowrap}

/* ==== Design system 2 (ds2) ====================================================================================
   Dark unless the server sets DESIGN_DS2_ENABLED="true", which adds class="ds2" to <html> (server/design-ds2.cjs).
   Every rule below is scoped under html.ds2, so with the flag off nothing here matches.
   The ds2 rules live in one cascade layer and use !important: a layered !important outranks every unlayered rule,
   whatever its specificity, so this layer maps the legacy styles without specificity escalation. Layered normal
   declarations (font-family inherit, position) only outrank browser defaults.
   Tokens: type scale (rem, 12 px floor; server/design-ds2-web/ds2.js maps the legacy px sizes onto it), one primary
   and one secondary button, secondary text that reaches 4.5:1 on glass in both themes, 44 px tap targets, one
   segmented control. */
@layer ds2 {
html.ds2{
  --ds2-type-steps:12 13 14 15 16 17 18 20 22 24 28 32 36 40 48 56 64;
  --ds2-text-caption:.75rem;--ds2-text-footnote:.8125rem;--ds2-text-sub:.9375rem;--ds2-text-body:1rem;--ds2-text-callout:1.0625rem;
  --ds2-text-title:1.25rem;--ds2-text-title-lg:1.5rem;--ds2-text-display:2rem;
  --ds2-font-label:'Bebas Neue','Arial Narrow',sans-serif;--ds2-font-control:'Russo One',sans-serif;
  --ds2-tap:44px;--ds2-btn-h:max(44px,3rem);
  --ds2-primary:#7A6247;--ds2-on-primary:#FAF8F4;
  --ds2-secondary-ink:#252525;--ds2-secondary-edge:rgba(37,37,37,.30);
  --ds2-ink-2:#57514a;--ds2-sand-text:#634d3a;--ds2-focus:#7A6247;
  --ds2-sheet:rgba(250,248,244,.95);--ds2-scrim:rgba(24,19,14,.62);
  --ds2-seg-track:rgba(37,37,37,.06);--ds2-seg-on:#fffdf8;--ds2-seg-ink:#57514a;--ds2-seg-ink-on:#252525;
  --ink-2:var(--ds2-ink-2)!important;--ink-3:var(--ds2-ink-2)!important;--fuel-muted:var(--ds2-ink-2)!important;--sand-text:var(--ds2-sand-text)!important;--mut:var(--ds2-ink-2)!important;
}
html.ds2[data-theme=night]{
  --ds2-primary:#d8b995;--ds2-on-primary:#25211c;
  --ds2-secondary-ink:#f0ebe1;--ds2-secondary-edge:rgba(240,235,225,.34);
  --ds2-ink-2:#cfc4b6;--ds2-sand-text:#d6b994;--ds2-focus:#d8b995;
  --ds2-sheet:rgba(34,29,25,.95);
  --ds2-seg-track:rgba(240,235,225,.08);--ds2-seg-on:#3a332c;--ds2-seg-ink:#cfc4b6;--ds2-seg-ink-on:#f4efe8;
}
/* Component token families re-pointed at the ds2 secondary text (they are declared on their own roots). */
html.ds2 :is(.j2-theme,.tv2-theme){--j2-ink-2:var(--ds2-ink-2)!important;--j2-ink-3:var(--ds2-ink-2)!important;--tv2-ink-2:var(--ds2-ink-2)!important;--tv2-ink-3:var(--ds2-ink-2)!important;--j2-sand-text:var(--ds2-sand-text)!important;--tv2-sand-text:var(--ds2-sand-text)!important}
html.ds2 .mpb{--mpb-ink2:var(--ds2-ink-2)!important}
html.ds2 :is(.lw-compact-v4,#sheetRoot){--lw-muted:var(--ds2-ink-2)!important}
/* Photo surfaces (Today and Train heroes): secondary controls read light on dark. */
html.ds2 :is(.hero-photo,.tv2-hero){--ds2-secondary-ink:#FAF8F4;--ds2-secondary-edge:rgba(250,248,244,.55)}

/* ---- Type ---------------------------------------------------------------------------------------------------- */
/* Form controls take the brand face instead of the browser's (Arial on most systems); any rule a sheet sets wins. */
html.ds2 :is(button,input,select,textarea,optgroup){font-family:inherit}
/* Every changing or compared number lines up: tabular figures everywhere ('font' shorthands reset this, hence *). */
html.ds2 body,html.ds2 body *{font-variant-numeric:tabular-nums!important}
/* Text inputs are at least 16 px on phones, so iOS never zooms the page on focus. */
@media (max-width:767px){
  html.ds2 :is(input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=hidden],[type=button],[type=submit],[type=reset],[type=image]),select,textarea){font-size:max(1rem,16px)!important}
}

/* ---- Buttons: one primary, one secondary --------------------------------------------------------------------- */
/* Primary: flat bronze pill, Bebas Neue label. Mapped from the legacy primaries (bronze .btn, the sand Train
   button, the General Sans rectangles in the logger and Documents, the glass bronze and the planner CTA). */
html.ds2 :is(.btn:not(.glass,.ghost,.danger,.link),.au-wrap .au-btn.pri,#jr-root .jr-pill:not(.ghost),.tv2-btn:not(.tv2-ghost),.lw-save,.h55-btn,.ci801-save,.c62-btn.primary,.gh-explainer .gh-act:not(.gh-act-quiet,.gh-act-off),.mpb .cta:not(.ghost),.shop-product-tile .buy801-primary),
html.ds2 :is(.btn:is(.glass,.ghost):not(.danger),#jr-root .jr-pill.ghost,.tv2-btn.tv2-ghost,.mpb .cta.ghost,.mini-btn){
  border-radius:999px!important;min-height:var(--ds2-btn-h)!important;font-family:var(--ds2-font-label)!important;font-size:var(--ds2-text-callout)!important;font-weight:400!important;letter-spacing:.05em!important;line-height:1.1!important;
  box-shadow:none!important;background-image:none!important;text-decoration:none!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent;
  transition:transform .12s ease-out,background-color .15s ease-out,border-color .15s ease-out!important;
}
html.ds2 :is(.btn:not(.glass,.ghost,.danger,.link),.au-wrap .au-btn.pri,#jr-root .jr-pill:not(.ghost),.tv2-btn:not(.tv2-ghost),.lw-save,.h55-btn,.ci801-save,.c62-btn.primary,.gh-explainer .gh-act:not(.gh-act-quiet,.gh-act-off),.mpb .cta:not(.ghost),.shop-product-tile .buy801-primary){
  background-color:var(--ds2-primary)!important;color:var(--ds2-on-primary)!important;-webkit-text-fill-color:var(--ds2-on-primary)!important;border:1px solid transparent!important;
}
/* Secondary: the same pill, outlined. "Close" and every dismiss action are secondary, never bronze. */
html.ds2 :is(.btn:is(.glass,.ghost):not(.danger),#jr-root .jr-pill.ghost,.tv2-btn.tv2-ghost,.mpb .cta.ghost,.mini-btn),
html.ds2 :is(.btn,.tv2-btn,.jr-pill,.cta):is([aria-label^="Close" i],[aria-label^="Cancel" i],[data-close],.close){
  background-color:transparent!important;color:var(--ds2-secondary-ink)!important;-webkit-text-fill-color:var(--ds2-secondary-ink)!important;border:1px solid var(--ds2-secondary-edge)!important;
}
html.ds2 :is(.btn,.tv2-btn,.jr-pill,.lw-save,.h55-btn,.ci801-save,.cta,.mini-btn,.c62-btn,.au-btn):active:not([disabled]){transform:scale(.97)!important}
html.ds2 :is(.btn,.tv2-btn,.jr-pill,.lw-save,.h55-btn,.ci801-save,.cta,.mini-btn,.c62-btn,.au-btn):focus-visible{outline:2px solid var(--ds2-focus)!important;outline-offset:2px!important}
/* A Save button never looks disabled before the member has chosen (checklist 21). */
html.ds2 :is(.ci801-save,.lw-save)[disabled]{opacity:1!important}
@media (prefers-reduced-motion:reduce){html.ds2 :is(.btn,.tv2-btn,.jr-pill,.lw-save,.h55-btn,.ci801-save,.cta,.mini-btn,.c62-btn,.au-btn):active{transform:none!important}}

/* ---- Segmented controls: one style for Train, Fuel and the meal planner, and Journey ------------------------ */
html.ds2 :is(.tv2-seg,.fv3-seg,.j2-seg,.segmented:not(.wrap,.scroll)){background:var(--ds2-seg-track)!important;border:0!important;border-radius:999px!important;padding:4px!important;gap:4px!important;box-shadow:none!important}
html.ds2 :is(.tv2-seg,.fv3-seg,.j2-seg,.segmented:not(.wrap,.scroll))>button,html.ds2 .mpb .mpb-viewbar .vbtn{
  min-height:var(--ds2-tap)!important;border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;color:var(--ds2-seg-ink)!important;
  font-family:var(--ds2-font-control)!important;font-size:var(--ds2-text-caption)!important;font-weight:400!important;letter-spacing:.1em!important;text-transform:uppercase!important;
  touch-action:manipulation!important;transition:background-color .15s ease-out,color .15s ease-out!important;
}
html.ds2 :is(.tv2-seg,.fv3-seg,.j2-seg,.segmented:not(.wrap,.scroll))>button:is([aria-selected=true],[aria-pressed=true],.active),html.ds2 .mpb .mpb-viewbar .vbtn.active{
  background:var(--ds2-seg-on)!important;color:var(--ds2-seg-ink-on)!important;box-shadow:inset 0 0 0 1px var(--hair),0 4px 14px -8px rgba(0,0,0,.35)!important;
}
html.ds2 :is(.tv2-seg,.fv3-seg,.j2-seg,.segmented)>button:focus-visible,html.ds2 .mpb .vbtn:focus-visible{outline:2px solid var(--ds2-focus)!important;outline-offset:1px!important}

/* ---- Contrast ------------------------------------------------------------------------------------------------ */
/* Sheets: near-opaque glass, so their text never sits on the page showing through. */
html.ds2 #sheetRoot .sheet{background-color:var(--ds2-sheet)!important}
/* Secondary text on glass reaches 4.5:1 in both themes (measured in the ds2 run). Photo surfaces keep their own. */
html.ds2 :is(#view,#sheetRoot,#top) :is(.muted,.note,.tiny,.hint,.small.muted,.jr-cap,.jh-dial-cap,.v103-appear-label,.save-hint,.brief-source):not(.hero-photo *,.tv2-hero *,.session-card *){color:var(--ds2-ink-2)!important}
html.ds2 :is(#view,#sheetRoot,#top) :is(.note,.tiny,.jr-cap,.jh-dial-cap,.v103-appear-label,.brief-source):not(.hero-photo *,.tv2-hero *,.session-card *){opacity:1!important}
html.ds2 :is(#view,#sheetRoot) :is(.eyebrow.sand,a.link,button.link):not(.hero-photo *,.tv2-hero *){color:var(--ds2-sand-text)!important}
html.ds2:not([data-theme=night]) #view .hero:not(.hero-photo) h1 .accent{color:#7A6247!important}
html.ds2[data-theme=night] .j2-eye-out{color:#f2a690!important}
/* Today hero: the meta line (date, level) sits on a dark glass scrim, so it reads over any photo. */
html.ds2 .hero-photo .hero-top :is(.eyebrow,.chip){background:var(--ds2-scrim)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:999px!important;color:#FAF8F4!important}
html.ds2 .hero-photo .hero-top .eyebrow{padding:.25rem .625rem!important}

/* ---- Tap targets: 44 px. Small marks keep their look and get a 44 px hit area. ------------------------------- */
html.ds2 :is(.top-actions>a,.top-actions>.icon-btn,#v103avbtn,.hero-top a.chip,.fl-tool,.icon-btn,.rb-chip,.chip.plain,.chip.dark,.cx-mb,.edu-categories>button,#view button.link,#view a.link,#sheetRoot button.link,.j2-dring,.app-home,.cd-tag,.calls75yc-shared .top-actions>a){position:relative}
html.ds2 :is(.top-actions>a,.top-actions>.icon-btn,#v103avbtn,.hero-top a.chip,.fl-tool,.icon-btn,.rb-chip,.chip.plain,.chip.dark,.cx-mb,.edu-categories>button,#view button.link,#view a.link,#sheetRoot button.link,.j2-dring,.app-home,.cd-tag,.calls75yc-shared .top-actions>a):not(.chip.good)::before{
  content:""!important;position:absolute!important;left:50%!important;top:50%!important;width:max(100%,var(--ds2-tap))!important;height:max(100%,var(--ds2-tap))!important;transform:translate(-50%,-50%)!important;background:none!important;border:0!important;border-radius:inherit;pointer-events:auto!important;display:block!important;
}
/* Header actions keep a 44 px pitch (the Journey and Calls headers set theirs flush). */
html.ds2 :is(#top,.jr-shared969,.calls75yc-shared) .top-actions{gap:6px!important}
/* Rows that scroll sideways clip overflow, so they get room for the larger hit area. */
html.ds2 :is(.rb-filters,.cx-modebar,.edu-categories){padding-block:8px!important;margin-block:-4px!important}
html.ds2 .fl-tool{min-width:var(--ds2-tap)!important;min-height:var(--ds2-tap)!important}
html.ds2 :is(#view,#sheetRoot) :is(input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=hidden]),select){min-height:var(--ds2-tap)!important}
html.ds2 .mpb .ab{min-height:var(--ds2-tap)!important;display:inline-flex!important;align-items:center!important;gap:.5rem!important;padding-inline:14px 4px!important;margin-inline-start:-10px!important;touch-action:manipulation}
html.ds2 .mpb .ab input[type=checkbox]{width:1.25rem!important;height:1.25rem!important;margin:0!important}
html.ds2 :is(input[type=checkbox],input[type=radio]){touch-action:manipulation}
/* ---- Large text (OS or browser text size above default) ----------------------------------------------------- */
/* Tab bar: labels grow to 13 px at most and truncate per item, so neighbours never touch. */
html.ds2 a.tab{min-width:0!important}
html.ds2 a.tab{font-size:min(.75rem,13px)!important}
html.ds2 a.tab :not(svg,svg *){font-size:min(.75rem,13px)!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;max-width:100%}
/* Segments keep their pill padding: labels cap at 13 px and tighten their tracking instead of touching the edge. */
html.ds2 :is(.tv2-seg,.fv3-seg,.j2-seg,.segmented:not(.wrap,.scroll))>button,html.ds2 .mpb .mpb-viewbar .vbtn{font-size:min(var(--ds2-text-caption),13px)!important;padding-inline:.625rem!important;min-width:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:420px){html.ds2 :is(.tv2-seg,.fv3-seg,.j2-seg,.segmented:not(.wrap,.scroll))>button{font-size:min(var(--ds2-text-caption),12.5px)!important;letter-spacing:.02em!important;padding-inline:6px!important}}
/* My Plan week strip: day cells flex, and each ring shrinks to its cell instead of being clipped. */
html.ds2 .j2-rings>.j2-dring{min-width:0!important;overflow:visible}
html.ds2 .j2-dring .j2-ring{flex:0 1 auto!important;max-width:100%!important;height:auto!important}
}

