/* Mobile layout adapted from the supplied BuildaBody Fuel reference. */
.fuel-screen-tabs{display:flex;gap:6px;background:#171020;padding:5px;border:1px solid #09060d;border-radius:999px;margin:0 0 20px;max-width:550px}.fuel-screen-tabs button{flex:1;padding:12px 8px;border-radius:999px;background:transparent;color:#c1aecb;font-size:14px;min-height:44px}.fuel-screen-tabs button.active{background:#513059;color:#ffe7fa;box-shadow:inset 0 0 0 1px #09060d}.fuel-quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.fuel-workspace .fuel-grid{grid-template-columns:minmax(0,1fr);max-width:920px}.fuel-workspace .fuel-grid>.stack{min-width:0}.fuel-workspace .fuel-grid>aside{display:none}.fuel-workspace .fuel-anchor,.fuel-workspace .fuel-builder,.fuel-workspace .fuel-logged,.fuel-workspace .fuel-daily,.fuel-workspace .fuel-coach-section{display:none}.fuel-workspace[data-fuel-screen=dashboard] .fuel-daily,.fuel-workspace[data-fuel-screen=dashboard] .fuel-logged{display:block}.fuel-workspace[data-fuel-screen=builder] .fuel-anchor,.fuel-workspace[data-fuel-screen=builder] .fuel-builder{display:block}.fuel-workspace[data-fuel-screen=library] .fuel-grid>aside{display:grid}.fuel-workspace[data-fuel-screen=library] .fuel-grid>section{display:none}.fuel-workspace[data-fuel-screen=library] .fuel-scan-card{display:none}.fuel-workspace[data-fuel-screen=coach] .fuel-coach-section{display:block}.fuel-workspace[data-fuel-screen=coach] .fuel-grid{display:none}.fuel-mobile-title .eyebrow{margin-bottom:10px}.library-food[hidden]{display:none}.fuel-daily{max-width:920px}.fuel-workspace .fuel-macros{grid-template-columns:repeat(4,minmax(0,1fr))}.fuel-workspace .fuel-macro{padding:16px;background:linear-gradient(145deg,#2b1d34,#1e1929);border:1px solid #09060d;border-radius:16px;min-width:0}.fuel-workspace .fuel-macro strong{font-size:1.6rem}.fuel-workspace .fuel-macro .row{gap:6px;flex-wrap:wrap}.fuel-workspace .fuel-macro p{line-height:1.45}.fuel-workspace .fuel-macros{gap:12px}.fuel-workspace .fuel-logged{margin-top:4px}.fuel-workspace .food-pick{min-height:56px}.fuel-workspace .library-food .row{gap:12px;flex-wrap:wrap}.fuel-workspace .card{border-radius:20px}.fuel-workspace .fuel-daily{position:relative;overflow:hidden}.fuel-workspace .fuel-daily:before{content:'';position:absolute;width:180px;height:180px;right:-100px;top:-80px;border:1px solid #ffb2e050;border-radius:50%;pointer-events:none}.fuel-workspace .fuel-daily>*{position:relative}
@media(max-width:700px){.fuel-workspace .fuel-macros{grid-template-columns:1fr 1fr}.fuel-quick-actions>.btn{flex:1 1 calc(50% - 8px);font-size:14px;padding:12px 10px}.fuel-workspace[data-fuel-screen=builder] .fuel-quick-actions>[data-id=builder]{display:none}.fuel-workspace .fuel-daily>.row{gap:14px}.fuel-workspace .fuel-daily h2{display:none}.fuel-workspace .fuel-daily>.row>.row{justify-content:space-between;width:100%}.fuel-workspace .fuel-macro strong{font-size:1.25rem}.fuel-workspace .fuel-macro small{font-size:12px}.fuel-workspace .fuel-macro p{font-size:12px}.fuel-workspace .fuel-macro{padding:14px}.fuel-workspace .meal-item{display:block;padding:16px 0}.fuel-workspace .meal-item>.row{justify-content:space-between;margin-top:12px}.fuel-workspace .meal-comparison{grid-template-columns:1fr 1fr;gap:12px}.fuel-workspace .meal-comparison>div{padding:14px;border:1px solid #09060d;border-radius:14px;background:#2b1d34}.fuel-screen-tabs{gap:2px}.fuel-screen-tabs button{padding:10px 5px}.fuel-workspace .target-strip{gap:8px;line-height:1.6}}
@media(max-width:620px){.main{padding:18px 18px calc(110px + env(safe-area-inset-bottom))}.topbar{padding-bottom:14px;margin-bottom:14px}.topbar>.tag{max-width:110px}.mobile-brand .wordmark small{display:none}.demo-banner{border-radius:12px;font-size:12px;gap:12px;margin-bottom:22px}.demo-banner .text-button{min-height:40px}.page-title h1{font-size:25px;line-height:1.25;letter-spacing:-.03em}.page-title p{font-size:14px;line-height:1.5}.page-title .eyebrow{font-size:12px}.card{padding:18px;border-radius:20px}.metric{padding:14px;border-radius:16px}.metric .value{font-size:22px}.state-card h2{font-size:21px;line-height:1.35}.state-card p{font-size:14px}.state-card:before{width:220px;height:220px;right:-130px;top:-90px;box-shadow:none;border:1px solid #ffb2e050}.state-card:after{display:none}.state-card .pulse-line{height:30px}.sidebar{padding:8px 8px max(12px,env(safe-area-inset-bottom));background:#1c1327f5;backdrop-filter:blur(20px)}.nav button{min-height:53px;font-size:11px;padding:8px 1px;border-radius:12px}.nav button.active{background:#513059;border-color:#09060d}.nav .icon{width:20px;height:20px}.fuel-mobile-title{margin-bottom:18px}.fuel-mobile-title p{margin-top:8px}.fuel-quick-actions{margin-bottom:18px}.fuel-workspace .fuel-grid{gap:0}.fuel-workspace .stack{gap:18px}.fuel-workspace .fuel-macros{margin-top:18px}.bottom-note{font-size:12px;line-height:1.5;gap:12px;margin-top:26px}.btn,.text-button,input,select{min-height:44px}input,select,textarea{font-size:16px!important}.text-button{font-size:14px}.tag{font-size:12px}dialog:not(.wide){position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:92dvh;border-radius:24px 24px 0 0;padding:22px 20px calc(24px + env(safe-area-inset-bottom));border:1px solid #09060d;overscroll-behavior:contain}dialog h2{font-size:20px;line-height:1.35}dialog .close{min-width:38px;min-height:38px}.form-grid{grid-template-columns:1fr 1fr}.form-grid .full{grid-column:1/-1}.field label{font-size:14px}.form-actions{position:sticky;bottom:-24px;background:#24182e;padding:14px 0;margin-top:18px}.album-grid{gap:12px}.album-heading h2{font-size:20px}}
@media(max-width:360px){.main{padding-left:12px;padding-right:12px}.fuel-workspace .fuel-macro{padding:10px}.form-grid{grid-template-columns:1fr}.nav button{font-size:10px}.fuel-screen-tabs button{font-size:13px}}

.performance-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:14px;margin-bottom:16px}.performance-tabs button{white-space:nowrap;padding:12px 16px;border:1px solid #080609;border-radius:30px;background:#24182e;color:#eddbea}.performance-tabs button.active{background:#61355d}.training-exercise{border-top:1px solid #09060d;margin-top:20px;padding-top:20px}.set-record{padding:8px 0;border-bottom:1px solid #ffffff12}.allocation>div{display:grid;grid-template-columns:100px 1fr 30px;gap:12px;margin:12px 0}.allocation meter{width:100%;height:22px}.performance-tabs~.stack{margin-top:18px}.nav{gap:3px}@media(max-width:620px){.nav{grid-template-columns:repeat(7,minmax(0,1fr))}.nav button{font-size:10px}.training-exercise .btn{font-size:13px;padding:10px}.performance-tabs{margin-right:-12px}.set-record{font-size:14px}}

.coach-report{max-height:60vh;overflow:auto}.coach-report dt{font-weight:700;text-transform:capitalize}.coach-report dd{margin:0 0 10px 16px}.report-record{padding:10px;border-left:2px solid #b580a7;margin:10px 0}.allocation small{display:block}.performance-tabs~.stack>.card{min-width:0}
