/* A persistent room surrounds the actual application views and their editors. */
.studio-work-scene{position:absolute;inset:0;background-size:cover;background-position:center;z-index:-1}.studio-work-scene:after{content:'';position:absolute;inset:0;background:#07121670}.studio-work-header{position:absolute;top:calc(12px + env(safe-area-inset-top));left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;color:#e9d4aa}.studio-work-header>span{font:17px system-ui;letter-spacing:3px;text-shadow:0 2px 10px #000}.studio-work-header small{font:8px system-ui;letter-spacing:2px;display:block;text-align:center;margin-top:4px}.studio-work-header button{width:44px;height:44px;border:1px solid #cbb17c88;border-radius:50%;background:#112a2bea;color:#e9d4aa;font-size:26px}
#studioWorkSurface{position:absolute;inset:calc(78px + env(safe-area-inset-top)) 20px calc(30px + env(safe-area-inset-bottom));max-width:900px;margin:auto;border:7px solid #263436;border-radius:22px;background:#10242af5;box-shadow:0 12px 45px #0009,0 0 0 1px #89908270;overflow:auto;overscroll-behavior:contain;outline:none;isolation:isolate;color:#e9dfc8;padding:12px;box-sizing:border-box}
#studioLiveViews{min-width:0}#studioLiveViews>[hidden]{display:none!important}#studioLiveViews .content{padding:12px!important;max-width:none}#studioLiveViews #workspace{padding:0;min-height:0}#studioLiveViews .training-feature,#studioLiveViews .nutrition-feature{background:transparent;min-height:0}#studioLiveViews .nutrition-feature .app,#studioLiveViews .training-feature .app-shell{background:transparent;min-height:0}#studioLiveViews #nutritionTools{display:none!important}#studioLiveViews .adventure-banner,#studioLiveViews .training-feature .adventure-topbar{display:none}#studioLiveViews .view{scroll-margin-top:0}#studioLiveViews .nutrition-feature .ov{position:fixed;inset:calc(78px + env(safe-area-inset-top)) 20px calc(30px + env(safe-area-inset-bottom));max-width:900px;margin:auto;background:#0c202bf2;border-radius:18px;z-index:30;overflow:auto;padding:8px;box-sizing:border-box;align-items:flex-start}#studioLiveViews .nutrition-feature .sheet{width:100%;max-width:none;max-height:none;margin:0;border:0;border-radius:12px;background:#152c30;color:#eee2c4;box-shadow:none;box-sizing:border-box}
#studioWorkSurface[data-station=book],#studioWorkSurface[data-station=journal]{border-color:#64533b;border-left-width:14px;background:linear-gradient(90deg,#1c3029,#17302df7);border-radius:5px 18px 18px 5px}#studioWorkSurface[data-station=planner]{border-color:#64503b;border-top-width:16px;background:#162c29f5}#studioWorkSurface[data-station=fridge]{border-color:#8a9390;background:linear-gradient(#d0d7ce18,#10262cf7);border-radius:14px;box-shadow:inset 6px 0 8px #0007,0 12px 45px #0009}#studioWorkSurface[data-station=stove]{border-color:#475354;background:linear-gradient(#15262cf7,#0a191ff7);border-top-width:18px}#studioWorkSurface[data-station=scale]{border-color:#8a9290}
#studioWorkRoutes{position:absolute;top:calc(68px + env(safe-area-inset-top));right:16px;z-index:60;max-height:calc(100dvh - 100px);overflow:auto;width:min(320px,calc(100vw - 32px));display:grid;grid-template-columns:1fr 1fr;padding:12px;box-sizing:border-box;gap:8px;border:1px solid #c5ab74;border-radius:16px;background:#132c30f7;box-shadow:0 12px 40px #0009}#studioWorkRoutes[hidden]{display:none}#studioWorkRoutes button{min-height:46px;border:1px solid #bba87755;border-radius:8px;background:#ffffff06;color:#e6d8b5;font:12px system-ui}#studioWorkStatus{position:absolute;bottom:0;left:20px;right:20px;margin:0;background:#183135;color:#efd8aa;font:12px system-ui}#studioWorkStatus:empty{display:none}
#gymStudio .studio-object{background:linear-gradient(#07161c55,#07161c77),var(--object-room) center/cover fixed;padding-left:24px;padding-right:24px}.studio-object #objectBody{max-width:650px}.studio-object .object-header{padding:6px;background:#10282ad9;border:1px solid #c6ae7755;border-radius:32px}.studio-object .book-search{padding:10px;background:#122a2beb;border-radius:12px}.studio-object .stove-panel{background:#112a2be8}.studio-working dialog:not(#gymStudio){border:1px solid #bfa77788;border-radius:18px;background:linear-gradient(140deg,#203831,#10252c);color:#ece0c4}.studio-working dialog:not(#gymStudio)::backdrop{background:#07161b55;backdrop-filter:blur(2px)}
.studio-quick{max-height:calc(100dvh - 125px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto}
@media(min-width:700px){#studioWorkSurface{left:10%;right:10%;bottom:8%}#studioLiveViews .nutrition-feature .ov{left:10%;right:10%;bottom:8%}#gymStudio .studio-object{padding-left:12%;padding-right:12%}}
@media(max-width:360px){#studioWorkSurface{left:12px;right:12px;padding:6px}#studioLiveViews .nutrition-feature .ov{left:12px;right:12px}#gymStudio .studio-object{padding-left:16px;padding-right:16px}}
#studioWorkSurface[data-station=stove] .studio-work-edge{height:74px;margin:0 0 16px;border:1px solid #73858188;border-radius:10px;background:radial-gradient(ellipse at 20% 50%,transparent 10%,#87979180 10.5%,transparent 12%),radial-gradient(ellipse at 40% 50%,transparent 10%,#87979180 10.5%,transparent 12%),radial-gradient(ellipse at 60% 50%,transparent 10%,#87979180 10.5%,transparent 12%),radial-gradient(ellipse at 80% 50%,transparent 10%,#87979180 10.5%,transparent 12%),linear-gradient(130deg,#344145,#071015 55%,#203035);box-shadow:inset 0 0 0 3px #101a1f}
#studioWorkSurface[data-station=fridge] .studio-work-edge{height:12px;margin-bottom:14px;border-radius:4px;background:linear-gradient(#c9d4cf,#435652,#c6d0c9);box-shadow:0 7px 15px #0008}
.studio-work-header{z-index:55}
#gymStudio #studioLiveViews #ov{top:calc(78px + env(safe-area-inset-top));bottom:calc(30px + env(safe-area-inset-bottom));height:auto;max-height:calc(var(--app-viewport-height,100dvh) - 108px - env(safe-area-inset-top) - env(safe-area-inset-bottom));align-items:flex-start;overflow:auto}
#gymStudio #studioLiveViews #ov #sheet{height:auto;max-height:none;min-height:100%;overflow:visible;border-radius:12px}
#gymStudio #studioLiveViews #ov #sheet:has(.meal-picker){max-height:none}
#studioWorkSurface{overflow-x:clip}#studioLiveViews{width:100%;box-sizing:border-box}#studioLiveViews .diary-actions{position:static;width:auto;max-width:100%;box-sizing:border-box}
#gymStudio #studioLiveViews #ov{left:27px;right:27px;max-width:886px}
#gymStudio .weight-station-header{background:none;min-height:0;padding:20px 18px}#gymStudio .weight-station-header>span,#gymStudio .weight-note{display:none}#gymStudio .weight-station h2{font-size:25px}#gymStudio .weight-station-body{padding-inline:14px}
@media(min-width:700px){#gymStudio #studioLiveViews #ov{left:calc(10% + 7px);right:calc(10% + 7px)}}
@media(max-width:360px){#gymStudio #studioLiveViews #ov{left:19px;right:19px}}
