.auth-logo-v5{display:block;border-radius:20px;margin-bottom:14px}.v5-version{text-align:center;font-size:11px;color:var(--muted);margin-top:14px}.v5-gear{border-radius:50%;width:38px;height:38px;padding:0;font-size:21px;flex:none}.v5-network{position:sticky;top:76px;background:#fff1d8;color:#614915;padding:9px 18px;z-index:7;font-size:13px}.v5-network a{color:inherit;text-decoration:underline}.v5-dialog{color:var(--ink);background:var(--white);border:1px solid var(--line);width:min(570px,94vw);max-height:88dvh;border-radius:24px}.v5-dialog .card{margin:10px 0;padding:14px}.v5-dialog h2{margin:0}.v5-dialog .field select,.v5-dialog .field input{width:100%}.v5-reminders{margin-bottom:16px}.v5-reminder{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.v5-reminder:last-child{border-bottom:0}.v5-reminder button{flex:none}.v5-reminder strong{display:block}.v5-install-steps{padding-inline-start:20px;margin:8px 0}.v5-install-steps li{margin:5px 0}.v5-app-note{font-size:12px;color:var(--muted)}.v5-dialog .flex button{min-height:44px}.v5-dialog a{color:var(--green)}
@media(max-width:700px){.v5-gear{width:31px;height:31px;font-size:18px}.headright{gap:4px}.headright .syncstatus{font-size:9px;max-width:52px}.headright .small{font-size:11px;padding:6px}.v5-network{top:65px}.v5-dialog{padding:16px}.v5-reminder button{font-size:12px}.mobilebar{padding-bottom:calc(8px + env(safe-area-inset-bottom))}.morenav.open{bottom:calc(69px + env(safe-area-inset-bottom))}}
@media(display-mode:standalone){header{height:calc(76px + env(safe-area-inset-top));padding-top:calc(12px + env(safe-area-inset-top))}nav{top:calc(76px + env(safe-area-inset-top))}.v5-network{top:calc(76px + env(safe-area-inset-top))}.auth-shell{padding-top:calc(24px + env(safe-area-inset-top));padding-bottom:calc(24px + env(safe-area-inset-bottom))}}
@media(display-mode:standalone) and (max-width:700px){header{height:calc(65px + env(safe-area-inset-top));padding-top:calc(10px + env(safe-area-inset-top))}.v5-network,.kitchenbar{top:calc(65px + env(safe-area-inset-top))}main{padding-bottom:calc(100px + env(safe-area-inset-bottom))}}
:root[data-theme=dark]{color-scheme:dark;--ink:#e4efe6;--muted:#b1c1b6;--green:#9ed6ae;--lime:#315b42;--paper:#101b17;--line:#34483c;--white:#1d2c24;--orange:#f4bc80;--shadow:0 4px 20px #0003}
[data-theme=dark] :is(header,nav,.mobilebar,.morenav.open,.card,.metric,.store,.searchwrap,.auth-panel,dialog,.detailactions,.datepill){background:#1d2c24;color:var(--ink);border-color:var(--line)}
[data-theme=dark] .auth-shell{background:radial-gradient(ellipse at top right,#2f5038,#101b17 65%)}
[data-theme=dark] :is(button,.chip,.tag,.tileicon,.avatar,.nutrition div,.stepslist li,.gym-calday,.gym-table th,.gym-today td,.gym-table tr:hover td,.filterbar button){background:#283c30;color:var(--ink);border-color:var(--line)}
[data-theme=dark] :is(input,select,textarea){background:#16241c;color:var(--ink);border-color:#405649}
[data-theme=dark] :is(.field,.eyebrow,.recipemacros,.datepill,.caption,.personid .avatar,nav button,.mobilebar button,.navlabel,.navend,.muted){color:var(--muted)}
[data-theme=dark] :is(button.primary,button.selected,.statusbuttons .selected,.filterbar button.selected){background:#347b55;color:white;border-color:#489765}
[data-theme=dark] :is(nav button.active,.mobilebar button.active,.morenav button.active,.chip.on,.nutrition div:first-child,.stepslist li:before){background:#325740;color:#d5efd9;border-color:#55765e}
[data-theme=dark] :is(.thinprogress,.gym-progress,.shopprogress){background:#36483c}
[data-theme=dark] .notice{background:#3b3525;color:#f0d9a7;border-color:#625235}
[data-theme=dark] .recipecover{background:linear-gradient(120deg,#324a38,#4a4430);color:#d0deaa}
[data-theme=dark] .recipefav,[data-theme=dark] .recipecover .tag{background:#26382d;color:#dcebd7}
[data-theme=dark] .hero{background:#204a36;color:white}[data-theme=dark] .hero button:not(.secondary){background:#d8edac;color:#19382f}[data-theme=dark] .hero button.secondary{background:#ffffff12;color:white}
[data-theme=dark] header .brand span{color:#9ed6ae!important}[data-theme=dark] .auth-error,[data-theme=dark] .syncstatus[data-error=true]{color:#ffb5a5}
[data-theme=dark] .v5-network{background:#453820;color:#ffe4ab}
