.ob-setup{color-scheme:light;--os-bg:#f7f4ec;--os-primary:#173f32;--os-pressed:#0f3228;--os-surface:#fff;--os-sage:#edf3ee;--os-text:#18211c;--os-muted:#626c65;--os-border:#dddcd4;--os-blue:#2d638b;--os-blue-bg:#dcebf4;--os-ochre:#765710;--os-ochre-bg:#f8ebcb;--os-red:#b4483c;--os-red-bg:#fff2ef;background:var(--os-bg);color:var(--os-text);font-size:16px;line-height:1.4}[data-theme="dark"] .ob-setup{color-scheme:dark;--os-bg:var(--color-bg);--os-primary:#9ecdb0;--os-pressed:#c2e2ce;--os-surface:#202c26;--os-sage:#293a30;--os-text:#f3f5f1;--os-muted:#bac4bc;--os-border:#48554c;--os-blue:#b9dbf2;--os-blue-bg:#243d50;--os-ochre:#f4d892;--os-ochre-bg:#403720;--os-red:#ffbdb3;--os-red-bg:#492b2b}body.nutrition-profile-view-active .nutrition-profile-page-header{display:none}body.nutrition-profile-view-active .nutrition-profile-page{padding:0}body.nutrition-profile-view-active{padding-bottom:0}body.nutrition-profile-view-active .app-layout{padding:0}body.nutrition-profile-view-active .page-container{padding-top:0}.ob-setup *{box-sizing:border-box}.ob-setup button,.ob-setup input,.ob-setup select{font:inherit}.ob-setup button{cursor:pointer;color:inherit}.ob-setup button:disabled{cursor:default;opacity:0.5}.ob-setup:is(button,input,select,summary):focus-visible{outline:3px solid var(--os-blue);outline-offset:3px}.ob-setup svg{flex:0 0 24px;vertical-align:middle}.ob-setup h1{font-size:28px;line-height:1.14;letter-spacing:-0.65px;margin:12px 0 16px;font-weight:750}.ob-setup h2{font-size:18px;line-height:1.3;margin:0 0 12px;font-weight:700}.ob-setup h3{font-size:16px;margin:12px 0}.ob-setup p{margin:0}.ob-setup small{display:block;color:var(--os-muted);font-size:13px;line-height:1.35}.ob-setup .os-shell{width:100%;max-width:560px;margin:auto;padding:0 20px;min-height:100dvh;display:flex;flex-direction:column;gap:16px}.ob-setup .os-editor{height:calc(100dvh - var(--os-offset,0px));min-height:0;overflow:hidden;gap:12px}.ob-setup .os-editor>.os-content{min-height:0;overflow-y:auto}.ob-setup .os-editor>:not(.os-content){flex-shrink:0}.ob-setup .os-editor>.os-footer{position:static}.ob-setup .os-feedback:empty{display:none}.ob-setup .os-panel{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.ob-setup .os-nav{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:64px;padding-top:env(safe-area-inset-top)}.ob-setup .os-nav>strong{text-align:center;font-size:18px;line-height:1.2}.ob-setup .os-icon{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:12px;background:transparent;color:var(--os-primary);padding:0}.ob-setup .os-progress{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding:0 18px}.ob-setup .os-progress span{height:8px;border-radius:8px;background:var(--os-border)}.ob-setup .os-progress .active{background:var(--os-primary)}.ob-setup .os-progress .complete{background:#bcd8c5}.ob-setup .os-progress-label{text-align:center;color:var(--os-muted);font-size:14px;margin-top:-8px}.ob-setup .os-content{display:flex;flex-direction:column;gap:16px;flex:1;min-width:0;padding-top:2px}.ob-setup .os-subtitle{color:var(--os-muted);font-size:17px;margin-top:-8px;margin-bottom:8px}.ob-setup .os-card{border:1px solid var(--os-border);background:var(--os-surface);border-radius:18px;padding:16px;min-width:0;display:flex;flex-direction:column;gap:14px;text-align:left}.ob-setup .os-card header,.ob-setup .os-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ob-setup .os-card header h2{margin:0}.ob-setup .os-button{border:1px solid transparent;border-radius:12px;min-height:52px;padding:12px 16px;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;font-weight:600}.ob-setup .os-primary{background:var(--os-primary);color:var(--os-bg)}.ob-setup .os-primary:active{background:var(--os-pressed)}.ob-setup .os-outline{border-color:var(--os-border);background:var(--os-surface);color:var(--os-primary)}.ob-setup .os-text{background:transparent;font-weight:400;min-height:44px;padding:8px 0;color:var(--os-primary);text-decoration:underline}.ob-setup .os-nav .os-text{text-decoration:none;width:auto}.ob-setup .os-link{border:0;background:none;color:var(--os-primary);padding:8px;min-height:44px}.ob-setup .os-note{color:var(--os-muted);font-size:13px;line-height:1.4;display:flex;align-items:center;gap:10px}.ob-setup .os-callout{border:0;border-radius:14px;background:var(--os-sage);padding:16px;display:flex;gap:14px;align-items:center;min-width:0;text-align:left}.ob-setup details.os-callout{display:block}.ob-setup .os-entry{display:flex;flex-direction:row;align-items:center;gap:16px}.ob-setup .os-entry>span{flex:1;min-width:0}.ob-setup .os-entry strong{font-size:17px;font-weight:700}.ob-setup .os-entry small{margin-top:4px}.ob-setup .os-avatar{border-radius:50%;background:var(--os-sage);width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:var(--os-primary);font-weight:650;flex-shrink:0}.ob-setup .os-person-row{border:0;background:none;display:flex;align-items:center;gap:16px;text-align:left;padding:8px 0;width:100%;min-width:0}.ob-setup .os-person-row + .os-person-row{border-top:1px solid var(--os-border);padding-top:18px}.ob-setup .os-person-row>.os-avatar{width:52px;height:52px;font-size:23px}.ob-setup .os-person-row>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.ob-setup .os-people-selector{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:8px}.ob-setup .os-people-selector button{border:1px solid var(--os-border);border-radius:12px;display:flex;align-items:center;gap:10px;min-height:50px;background:var(--os-surface);padding:6px 10px;min-width:0}.ob-setup .os-people-selector button>span:last-child{overflow-wrap:anywhere;min-width:0}.ob-setup .os-people-selector .os-avatar{width:32px;height:32px}.ob-setup .os-people-selector [aria-selected="true"],.ob-setup .os-people-selector [aria-pressed="true"]{background:var(--os-primary);color:var(--os-bg);border-color:var(--os-primary)}.ob-setup .os-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ob-setup .os-field{display:flex;flex-direction:column;gap:7px;font-size:15px;min-width:0}.ob-setup:is(input,select){background:var(--os-surface);color:var(--os-text);border:1px solid var(--os-border);border-radius:9px;min-height:46px;width:100%;padding:10px 12px;min-width:0}.ob-setup input[type="date"]{appearance:none;display:block}.ob-setup input[type="checkbox"]{width:22px;min-height:22px;accent-color:var(--os-primary)}.ob-setup .os-check{display:flex;align-items:center;gap:12px;margin:16px 0}.ob-setup .os-substeps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:relative;margin:4px 0}.ob-setup .os-substeps:before{content:"";position:absolute;height:1px;background:var(--os-border);top:12px;left:16%;right:16%}.ob-setup .os-substeps button{border:0;background:none;color:var(--os-muted);font-size:14px;min-height:52px;padding:4px;display:flex;align-items:center;flex-direction:column;gap:7px;position:relative}.ob-setup .os-substeps button span{width:15px;height:15px;border-radius:50%;background:var(--os-border)}.ob-setup .os-substeps [aria-current="step"]{color:var(--os-primary)}.ob-setup .os-substeps [aria-current="step"] span{background:var(--os-primary)}.ob-setup .os-help summary{display:flex;align-items:center;gap:10px;color:var(--os-primary);font-size:13px;min-height:44px;text-decoration:underline;cursor:pointer}.ob-setup details>p{margin-top:10px;color:var(--os-muted);font-size:14px}.ob-setup details>summary{list-style:none;cursor:pointer;min-height:44px}.ob-setup details>summary::-webkit-details-marker{display:none}.ob-setup details[open]>summary{margin-bottom:12px}.ob-setup .os-options{display:flex;flex-direction:column;gap:10px}.ob-setup .os-choice{flex-direction:row;align-items:center;gap:12px;min-height:58px}.ob-setup .os-choice>span{flex:1;min-width:0}.ob-setup .os-choice[aria-pressed="true"]{background:var(--os-sage);border-color:var(--os-primary)}.ob-setup .os-diets .os-choice{font-size:14px;padding:12px}.ob-setup .os-tags{display:flex;flex-wrap:wrap;gap:8px}.ob-setup .os-tags button{padding:10px;min-height:44px;border:1px solid var(--os-border);border-radius:10px;background:var(--os-sage);font-size:13px;overflow-wrap:anywhere}.ob-setup .os-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;width:100%}.ob-setup .os-days>button,.ob-setup .os-days>span{display:flex;justify-content:center;align-items:center;min-width:0;min-height:44px;border:1px solid var(--os-border);border-radius:50%;background:transparent;padding:0}.ob-setup .os-days>span{min-height:36px;font-size:14px}.ob-setup .os-days [aria-pressed="true"]{color:var(--os-bg);background:var(--os-primary);border-color:var(--os-primary)}.ob-setup .os-days>span{border:0;border-radius:8px;color:var(--os-muted)}.ob-setup .os-days>span.selected{color:var(--os-primary);background:var(--os-sage);font-weight:600}.ob-setup .os-status{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:20px;align-self:start;font-size:13px}.ob-setup .os-olivebay{background:var(--os-sage);color:var(--os-primary)}.ob-setup .os-self_managed{background:var(--os-ochre-bg);color:var(--os-ochre)}.ob-setup .os-leftover{background:var(--os-blue-bg);color:var(--os-blue)}.ob-setup .os-not_eating{background:var(--os-red-bg);color:var(--os-red)}.ob-setup .os-rule-group{display:flex;flex-direction:column;gap:9px}.ob-setup .os-time{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ob-setup .os-time button{background:transparent;border:1px solid var(--os-border);border-radius:10px;min-height:48px;padding:8px 3px;font-size:15px}.ob-setup .os-time [aria-pressed="true"]{background:var(--os-primary);color:var(--os-bg)}.ob-setup .os-kitchen-day{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr);gap:8px;align-items:center;margin-top:12px;font-size:13px}.ob-setup .os-kitchen-day select,.ob-setup .os-kitchen-day input{padding:8px 4px}.ob-setup .os-feedback:empty{display:none}.ob-setup .os-feedback{font-size:13px;color:var(--os-muted);padding:0 2px}.ob-setup .os-error{color:var(--os-red);font-size:14px}.ob-setup .os-footer{position:sticky;bottom:0;padding:12px 0 max(14px,env(safe-area-inset-bottom));background:var(--os-bg);z-index:2}.ob-setup .os-footer .os-button{min-height:54px;font-size:17px}.ob-setup .os-saved{background:var(--os-sage);border-radius:16px;padding:16px;display:flex;align-items:center;gap:12px;flex-wrap:nowrap}.ob-setup .os-saved>div{flex:1;min-width:0}.ob-setup .os-saved h1{--font-title:20px;letter-spacing:-0.3px;font-size:20px;margin:0 0 6px}.ob-setup .os-saved p{font-size:14px}.ob-setup .os-saved>span{flex-shrink:0;border-radius:24px;padding:8px;font-size:12px;display:flex;align-items:center;gap:7px;background:color-mix(in srgb,var(--os-primary) 9%,var(--os-sage))}.ob-setup .os-dashboard{display:flex;flex-direction:column;gap:12px}.ob-setup .os-dashboard .os-card{flex-direction:row;min-height:82px}.ob-setup .os-inline{display:flex;gap:12px;flex-wrap:wrap}.ob-setup .os-inline>.os-button{flex:1}.ob-setup .os-overlay{position:fixed;inset:0;background:rgba(12,24,18,0.4);z-index:2000;display:flex;align-items:flex-end;justify-content:center;padding-top:max(24px,env(safe-area-inset-top))}.ob-setup .os-sheet{background:var(--os-bg);width:100%;max-width:560px;max-height:100%;border-radius:24px 24px 0 0;display:flex;flex-direction:column;padding:0 20px;overflow:hidden}.ob-setup .os-handle{height:5px;width:44px;flex-shrink:0;border-radius:6px;background:var(--os-border);margin:14px auto 12px}.ob-setup .os-sheet header{padding-bottom:12px}.ob-setup .os-sheet header h2{font-size:26px;margin:0}.ob-setup .os-sheet-body{display:flex;flex-direction:column;gap:16px;overflow:auto;padding-bottom:16px;overscroll-behavior:contain}.ob-setup .os-sheet footer{padding:12px 0 max(16px,env(safe-area-inset-bottom))}.ob-setup .os-state{display:flex;align-items:center;gap:12px;min-height:54px;border:1px solid transparent;border-radius:12px;text-align:left;padding:12px;font-size:15px}.ob-setup .os-state[aria-checked="true"]{border-color:currentColor}.ob-setup .os-state>span:first-of-type{flex:1}.ob-setup .os-radio{font-size:22px;line-height:1}.ob-setup .os-source{background:var(--os-blue-bg);color:var(--os-blue);border-radius:14px;padding:16px}.ob-setup .os-source p{font-size:13px;margin-top:10px}.ob-setup .os-stepper{display:flex;align-items:center;border:1px solid var(--os-border);border-radius:12px}.ob-setup .os-stepper button{min-width:40px;min-height:44px;border:0;background:none;font-size:24px;padding:4px}.ob-setup .os-stepper span{min-width:26px;text-align:center}.ob-setup .os-session{border-top:1px solid var(--os-border);padding-top:12px}@media (max-width:359px){.ob-setup .os-shell{padding:0 16px}.ob-setup h1{font-size:26px}.ob-setup .os-days{gap:2px}.ob-setup .os-days>button{min-height:44px}.ob-setup .os-card{padding:12px}.ob-setup .os-diets{gap:8px}.ob-setup .os-diets .os-choice{gap:6px;padding:9px}}@media (min-width:900px){.ob-setup .os-panel{min-height:calc(100dvh - 120px)}.ob-setup .os-panel{max-width:780px;padding-bottom:32px}.ob-setup .os-dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:no-preference){.ob-setup .os-content{animation:os-appear 180ms ease-out}@keyframes os-appear{from{opacity:0.6;transform:translateY(3px)}to{opacity:1;transform:none}}}@media (max-width:375px){.ob-setup .os-days[role="group"]{grid-template-columns:repeat(4,minmax(44px,1fr));gap:8px}.ob-setup .os-days[role="group"]>button{border-radius:12px}}.ob-setup .os-person-name,.ob-setup .os-routine-label{display:inline-flex;align-items:center;gap:10px}.ob-setup .os-routine-label{background:var(--os-sage);border-radius:20px;padding:8px 12px;align-self:flex-start;font-size:14px}.ob-setup .os-person-name .os-avatar{width:36px;height:36px;font-size:16px}.ob-setup .os-saved ~ .os-dashboard .os-entry{min-height:76px}.ob-setup .os-rule-editor .os-content{gap:12px}.ob-setup .os-rule-editor .os-card{padding:12px;gap:8px}.ob-setup .os-rule-editor .os-card h2{margin:0}.ob-setup .os-nav>.os-routine-heading{text-align:left;font-size:22px}.ob-setup .os-routine-heading small{font-weight:400;margin-top:3px}.ob-setup .os-routine-people{display:flex;align-items:center;gap:12px}.ob-setup .os-routine-people .os-people-selector{flex:1;min-width:0;margin:0;gap:2px;background:var(--os-border);border-radius:24px}.ob-setup .os-routine-people .os-people-selector button{flex:1;justify-content:center;padding:8px 12px;min-height:44px;border-radius:24px}.ob-setup .os-routine-people .os-avatar{display:none}.ob-setup .os-routine-people>.os-button{width:auto;padding:8px 0;gap:6px;flex-shrink:0}.ob-setup .os-table-caption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;color:var(--os-muted);font-size:12px}.ob-setup .os-table-caption span{display:flex;align-items:center;gap:5px}.ob-setup .os-table-caption svg{width:18px;height:18px;flex-basis:18px}.ob-setup .os-routine-table-card{border:1px solid var(--os-border);border-radius:16px;background:var(--os-surface);padding:4px}.ob-setup .os-routine-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:12px 12px 0 0}.ob-setup .os-routine-scroll::-webkit-scrollbar{display:none}.ob-setup .os-routine-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;font-size:13px}.ob-setup .os-routine-table:is(th,td){border:0;border-bottom:1px solid var(--os-border);padding:1px;background:transparent}.ob-setup .os-routine-table thead th{padding:8px 3px;height:36px;font-weight:600}.ob-setup .os-routine-table th:first-child{position:sticky;left:0;z-index:1;width:36px;min-width:36px;max-width:36px;background:var(--os-surface);text-align:left;font-size:12px}.ob-setup .os-routine-table td{width:104px;min-width:104px;max-width:104px;border-left:1px solid var(--os-border)}.ob-setup .os-routine-table tr:last-child:is(th,td){border-bottom:0}.ob-setup .os-routine-cell{display:flex;align-items:center;gap:5px;width:100%;min-height:44px;border:0;border-radius:8px;padding:6px;text-align:left;line-height:1.15;font-size:12px}.ob-setup .os-routine-cell span{flex:1;min-width:0;overflow-wrap:break-word}.ob-setup .os-routine-cell svg{flex-basis:18px;width:18px;height:18px}.ob-setup .os-routine-cell svg:last-child{flex-basis:12px;width:12px}.ob-setup .os-scroll-controls{display:flex;align-items:center;gap:8px;height:32px}.ob-setup .os-scroll-controls .os-icon{width:44px;height:44px}.ob-setup .os-scroll-controls input{min-width:0;flex:1;height:24px;accent-color:var(--os-muted);padding:0}.ob-setup .os-extras-card{padding:10px;gap:8px}.ob-setup .os-extras-card header h2{font-size:17px}.ob-setup .os-extras-card header{min-height:36px}.ob-setup .os-extras-list{display:flex;flex-wrap:wrap;gap:6px}.ob-setup .os-extra-tile{flex:1 1 100px;border:0;border-radius:10px;padding:10px;display:flex;align-items:center;gap:8px;background:var(--os-sage);font-size:12px;text-align:left;min-height:48px}.ob-setup .os-extra-tile span{flex:1}.ob-setup .os-extra-tile strong{display:block;font-size:16px}.ob-setup .os-extra-tile svg:last-child{width:14px;flex-basis:14px}.ob-setup .os-unsaved{text-align:center;margin-bottom:5px}.ob-setup .os-rule-editor .os-nav{grid-template-columns:32px minmax(0,1fr) auto;gap:5px}.ob-setup .os-rule-editor .os-nav .os-button{padding:8px 0;font-size:13px}.ob-setup .os-rule-editor h1{--font-title:1.25rem;font-size:var(--font-title);margin:0 0 4px;letter-spacing:-0.4px}.ob-setup .os-rule-editor .os-nav .os-note{font-size:12px}.ob-setup .os-numbered{display:flex;align-items:center;gap:12px}.ob-setup .os-numbered>span{width:26px;height:26px;border-radius:50%;background:var(--os-primary);color:var(--os-bg);display:grid;place-items:center;font-size:14px}.ob-setup .os-rule-people{display:flex;gap:8px;flex-wrap:wrap}.ob-setup .os-rule-people button{flex:1 1 110px;min-width:0;min-height:48px;background:var(--os-surface);border:1px solid var(--os-border);border-radius:10px;padding:6px 10px;display:flex;align-items:center;gap:10px;text-align:left}.ob-setup .os-rule-people button span:last-child{overflow-wrap:anywhere}.ob-setup .os-rule-people [aria-pressed="true"],.ob-setup .os-day-shortcuts [aria-pressed="true"],.ob-setup .os-scope-chip[aria-pressed="true"]{background:var(--os-primary);color:var(--os-bg)}.ob-setup .os-rule-people .os-avatar{flex-shrink:0}.ob-setup .os-day-shortcuts{display:flex;gap:8px}.ob-setup .os-day-shortcuts button,.ob-setup .os-scope-chip{background:var(--os-surface);border:1px solid var(--os-border);border-radius:20px;min-height:44px;padding:6px 10px;font-size:12px}.ob-setup .os-day-shortcuts button{flex:1}.ob-setup .os-rule-editor .os-state{min-height:44px;padding:7px 10px;border-radius:9px;font-size:14px}.ob-setup .os-rule-editor .os-options{gap:6px}.ob-setup .os-rule-scope{display:flex;gap:10px;background:var(--os-sage);border-radius:10px;padding:12px;font-size:13px}.ob-setup .os-rule-scope svg{align-self:center}.ob-setup .os-rule-editor .os-days[role="group"]{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.ob-setup .os-rule-editor .os-days>button{border-radius:50%;min-height:44px;padding:0}@media (max-width:359px){.ob-setup .os-rule-editor .os-days[role="group"]{grid-template-columns:repeat(4,minmax(44px,1fr));gap:8px}}.ob-setup .os-routine-screen{padding:0 14px;gap:8px}.ob-setup .os-routine-screen .os-content{gap:10px}.ob-setup .os-routine-screen .os-nav{min-height:60px}.ob-setup .os-routine-screen .os-outline{min-height:48px}.ob-setup .os-scroll-controls input[type="range"]{appearance:none;border:0;box-shadow:none;background:transparent;cursor:ew-resize}.ob-setup .os-scroll-controls input::-webkit-slider-runnable-track{height:6px;border-radius:4px;background:var(--os-border)}.ob-setup .os-scroll-controls input::-webkit-slider-thumb{appearance:none;width:55px;height:8px;border:0;border-radius:4px;margin-top:-1px;background:var(--os-muted)}.ob-setup .os-scroll-controls input::-moz-range-track{height:6px;border-radius:4px;background:var(--os-border)}.ob-setup .os-scroll-controls input::-moz-range-thumb{width:55px;height:8px;border:0;border-radius:4px;background:var(--os-muted)}.ob-setup .os-rule-editor .os-state>.os-radio{flex:0 0 20px}.ob-setup .os-rule-editor .os-state>span:last-child{flex:1;text-align:left}.ob-setup .os-rule-editor.os-shell{padding:0 14px}@media (min-width:360px) and (max-width:375px){.ob-setup .os-rule-editor .os-card{padding:10px}.ob-setup .os-rule-editor .os-days[role="group"]{gap:0}}