/* 独立的首次建档外壳；不继承主 App 的深色、衬线或玻璃效果。 */
.ob-flow{--ob-ink:#090909;--ob-gray:#707070;--ob-line:#e6e6e6;--ob-soft:#f5f5f5;position:fixed;inset:0;z-index:180;display:flex;flex-direction:column;background:#fff;color:var(--ob-ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans SC",sans-serif;font-size:16px;line-height:1.5;isolation:isolate;color-scheme:light;overflow:hidden;overscroll-behavior:none;-webkit-text-size-adjust:100%}
.ob-flow,.ob-flow *{box-sizing:border-box}.ob-flow button,.ob-flow input{font:inherit;letter-spacing:normal}.ob-flow button{appearance:none;-webkit-appearance:none;cursor:pointer;text-transform:none;touch-action:manipulation;box-shadow:none;transform:none;filter:none}.ob-flow button:disabled{cursor:default;opacity:.4}.ob-flow button:focus-visible,.ob-flow input:focus-visible,.ob-flow summary:focus-visible{outline:3px solid #8eb5ff;outline-offset:4px}.ob-flow h1,.ob-flow h2,.ob-flow h3,.ob-flow p{font-family:inherit;margin:0;letter-spacing:normal}.ob-flow h1:focus{outline:none}.ob-flow svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ob-flow .ob-icon-button svg circle{fill:currentColor;stroke:none}
.ob-header{height:calc(68px + env(safe-area-inset-top,0px));min-height:calc(68px + env(safe-area-inset-top,0px));display:flex;align-items:center;justify-content:space-between;padding:8px max(20px,env(safe-area-inset-right)) 8px max(20px,env(safe-area-inset-left));padding-top:calc(8px + env(safe-area-inset-top,0px));background:#fff;z-index:2}.ob-brand{font-weight:800;font-size:17px;letter-spacing:1px}.ob-icon-button{border:0;border-radius:50%;background:transparent;width:44px;height:44px;padding:10px;display:grid;place-items:center;color:var(--ob-ink)}.ob-icon-button:hover{background:var(--ob-soft)}.ob-icon-button svg{width:24px;height:24px}.ob-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.ob-content{max-width:560px;width:100%;margin:0 auto;padding:16px 24px 40px;animation:ob-arrive .2s ease-out}.ob-content.back{animation-name:ob-arrive-back}.ob-sections{display:flex;justify-content:center;gap:22px;margin:0 0 18px}.ob-sections>span{display:flex;gap:6px;align-items:center;color:#a4a4a4;font-size:12px;font-weight:600;white-space:nowrap}.ob-sections i{width:19px;height:19px;display:grid;place-items:center;border:1px solid #ddd;border-radius:50%;font-size:10px;font-style:normal}.ob-sections .active{color:#000}.ob-sections .active i,.ob-sections .done i{border-color:#111;background:#111;color:#fff}.ob-sections .done{color:#555}.ob-progress{height:3px;border-radius:3px;background:#ededed;overflow:hidden;margin:0 0 30px}.ob-progress>i{display:block;height:100%;background:#111;border-radius:inherit;transition:transform .22s ease}.ob-eyebrow{color:var(--ob-gray);text-align:center;font-size:12px;font-weight:600;margin-bottom:12px!important}.ob-flow h1{color:#090909;font-size:32px;font-weight:800;line-height:1.25;text-align:center;letter-spacing:-1.1px}.ob-subtitle{color:var(--ob-gray);font-size:14px;line-height:1.7;text-align:center;max-width:450px;margin:16px auto 30px!important}.ob-choices{display:flex;flex-direction:column;gap:12px}.ob-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;border:1.5px solid var(--ob-line);border-radius:13px;background:#fff;padding:17px 20px;text-align:left;color:#111;transition:border-color .12s,background .12s}.ob-choice:hover{background:#fafafa}.ob-choice.selected{border-color:#111;background:#f5f5f5}.ob-choice-copy{display:flex;flex-direction:column;gap:4px}.ob-choice-copy b{font-weight:650;font-size:16px}.ob-choice-copy small{font-size:12px;color:var(--ob-gray);line-height:1.55}.ob-radio{width:21px;height:21px;border:1.5px solid #cfcfcf;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:#fff}.ob-choice.selected .ob-radio{border-color:#111}.ob-radio i{width:11px;height:11px;border-radius:50%;background:#111}.ob-choice-grid{display:grid;grid-template-columns:1fr 1fr}.ob-choice-grid .ob-choice{min-height:86px;padding:16px}.ob-choice-grid .ob-choice-copy b{font-size:14px}
.ob-date-label{display:block;font-size:12px;color:#777;margin:30px 0 10px}.ob-date{display:block;appearance:none;-webkit-appearance:none;width:100%;min-height:70px;max-width:100%;border:1.5px solid #ddd;border-radius:12px;padding:16px;background:#fff;color:#111;font-size:26px!important;font-weight:600;text-align:center}.ob-date::-webkit-date-and-time-value{text-align:center}.ob-measure-caption{font-size:13px;color:#777;text-align:center;margin:20px 0!important}.ob-unit-switch{display:flex;background:#f0f0f0;border:1px solid #f0f0f0;border-radius:9px;padding:3px;width:max-content;min-width:154px;margin:4px auto 26px}.ob-unit-switch button{border:0;border-radius:6px;background:transparent;flex:1;min-width:72px;padding:7px 12px;font-size:13px;font-weight:650;color:#777}.ob-unit-switch button.active{background:#fff;color:#000;box-shadow:0 1px 4px #00000012}.ob-measure{display:flex;align-items:baseline;justify-content:center;gap:16px;margin:24px 0 26px}.ob-measure label{display:flex;align-items:baseline;justify-content:center;min-width:0;gap:7px}.ob-measure input{border:0;border-radius:0;background:#fff;color:#111;outline-offset:8px;text-align:center;padding:0;width:3.8ch;max-width:100%;font-size:68px;font-weight:600;line-height:1.4;font-variant-numeric:tabular-nums;box-shadow:none;appearance:textfield;-moz-appearance:textfield}.ob-measure input::-webkit-inner-spin-button,.ob-measure input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ob-measure input::placeholder{color:#b7b7b7}.ob-measure span{font-size:18px;font-weight:600;color:#777}.ob-ruler{height:38px;position:relative;max-width:360px;margin:0 auto;background:repeating-linear-gradient(to right,transparent 0 11px,#d8d8d8 11px 12px,transparent 12px 23px,#d8d8d8 23px 24px);background-position:center;mask-image:linear-gradient(to right,transparent,#000 20%,#000 80%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 20%,#000 80%,transparent)}.ob-ruler:before{content:"";position:absolute;background:#fff;left:0;right:0;bottom:0;height:18px}.ob-ruler i{position:absolute;left:50%;top:-2px;width:3px;height:38px;background:#111;transform:translateX(-50%)}
.ob-fat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ob-fat-choice{position:relative;border:1.5px solid #e0e0e0;border-radius:12px;background:#fff;padding:16px 4px 12px;display:flex;flex-direction:column;align-items:center;gap:12px;color:#111;min-height:115px}.ob-fat-choice.selected{background:#f5f5f5;border-color:#111}.ob-fat-choice strong{font-size:13px;font-weight:650}.ob-fat-symbol{height:38px;width:36px;position:relative;display:block}.ob-fat-symbol i{display:block;width:12px;height:12px;border:1.5px solid #9b9b9b;border-radius:50%;margin:0 auto 4px}.ob-fat-symbol b{display:block;width:28px;height:22px;border:1.5px solid #9b9b9b;border-bottom:0;border-radius:13px 13px 0 0;margin:auto}.ob-fat-check{position:absolute;right:7px;top:5px;font-size:12px;line-height:16px;height:16px}.ob-experience{border:0;margin:24px 0;padding:0;min-width:0}.ob-experience legend{font-size:14px;font-weight:650;margin-bottom:12px}.ob-small-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ob-small-choices button{border:1.5px solid #e0e0e0;border-radius:9px;background:#fff;padding:14px 8px;font-size:13px;color:#222}.ob-small-choices button.selected{background:#f5f5f5;border-color:#111;font-weight:650}
.ob-estimate{text-align:center;padding:28px 22px;border:1px solid #e5e5e5;border-radius:16px;background:#fafafa;margin:8px 0 24px}.ob-estimate>p{color:#6e6e6e;font-size:13px}.ob-estimate>strong{display:block;font-size:68px;font-weight:700;letter-spacing:-3px;line-height:1.5;font-variant-numeric:tabular-nums}.ob-estimate>span{display:block;color:#777;font-size:13px}.ob-estimate-rule{height:1px;background:#e5e5e5;margin:24px 0 20px}.ob-estimate>small{color:#777;font-size:12px;line-height:1.7;display:block}.ob-days{margin-top:26px}.ob-days>p{font-size:13px;color:#555;margin-bottom:12px}.ob-days>div{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.ob-days button{min-height:44px;border:1px solid #ddd;border-radius:8px;padding:8px 0;font-size:12px;background:#fff;color:#555}.ob-days button.selected{background:#111;color:#fff;border-color:#111}.ob-preference-note{font-size:12px;line-height:1.65;color:#888;margin-top:24px!important}.ob-safety{border:0;padding:0;margin:24px 0}.ob-safety legend{font-size:13px;font-weight:650;margin-bottom:8px}.ob-safety label{display:flex;align-items:center;gap:12px;min-height:49px;border-bottom:1px solid #eee;cursor:pointer}.ob-safety input{appearance:auto;-webkit-appearance:checkbox;accent-color:#111;width:19px;height:19px;margin:0}.ob-safety span{font-size:14px}.ob-safety-note{font-size:12px;color:#777;line-height:1.8}.ob-safety input[type=radio]{-webkit-appearance:radio}.ob-safety .ob-med-name{display:block;width:100%;height:auto;margin-top:12px;min-height:46px;border:1px solid #ddd;border-radius:10px;padding:0 14px;font-size:15px;background:#fff;color:#111;-webkit-appearance:none;appearance:none}.ob-summary-protein{display:flex;justify-content:space-between;border-top:1px solid #e3e3e3;margin-top:24px;padding-top:20px;font-size:13px;color:#555}.ob-summary-protein b{color:#111;font-weight:650}.ob-summary-rows{margin:6px 0 22px}.ob-summary-rows>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #eee;padding:16px 0;font-size:13px}.ob-summary-rows span{color:#777}.ob-summary-rows b{text-align:right;font-weight:600}.ob-guardrail{border:1px solid #ddd;border-radius:12px;background:#f7f7f7;padding:20px;margin:20px 0;font-size:13px;line-height:1.8;color:#555}.ob-guardrail b{font-size:17px;color:#111;display:block;margin-bottom:12px}.ob-guardrail p+p{margin-top:8px}.ob-guardrail small{display:block;margin-top:12px;color:#777}.ob-method{border:1px solid #e5e5e5;border-radius:10px;padding:16px;font-size:12px;color:#777;line-height:1.8}.ob-method summary{cursor:pointer;font-weight:600;color:#222}.ob-method p{margin:10px 0}.ob-method h3{font-size:12px;color:#333;margin-top:16px}.ob-inline-loading{display:flex;justify-content:center;align-items:center;gap:12px;min-height:150px;color:#777;font-size:13px}
.ob-footer{flex-shrink:0;background:#fff;border-top:1px solid #f4f4f4;box-shadow:0 -10px 30px #00000004;padding:18px max(24px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));z-index:3}.ob-footer-actions{max-width:512px;margin:0 auto;display:flex;gap:12px}.ob-primary{border:1px solid #000;border-radius:10px;background:#000;color:#fff;min-height:52px;padding:14px 22px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:650;font-size:15px;line-height:1.4;flex:1}.ob-primary:hover{background:#222}.ob-back{border:1px solid #ddd;border-radius:10px;background:#fff;color:#111;min-height:52px;min-width:86px;padding:14px 20px;font-size:14px;font-weight:600}.ob-footer-caption{font-size:11px!important;text-align:center;color:#8a8a8a;padding-top:12px;margin:0!important}.ob-error{max-width:512px;margin:0 auto 14px;background:#fff5f4;border:1px solid #f2cfcb;color:#8a2921;font-size:12px;border-radius:9px;padding:12px 14px;line-height:1.6;max-height:160px;overflow:auto}.ob-error p{font-size:12px}.ob-error button{background:transparent;border:0;padding:5px 0;color:#7b2119;font-size:12px;text-decoration:underline}.ob-error small{display:block;font-size:11px}.ob-status{max-width:440px;margin:60px auto;padding:30px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}.ob-status h1{font-size:24px;line-height:1.4}.ob-status p{font-size:14px;color:#777;line-height:1.7}.ob-status>.ob-primary{align-self:stretch}.ob-spinner{width:20px;height:20px;display:inline-block;border:2px solid #ddd;border-top-color:#111;border-radius:50%;animation:ob-spin .7s linear infinite;flex-shrink:0}.ob-spinner-white{width:16px;height:16px;border-color:#ffffff50;border-top-color:#fff}.ob-secondary{display:block;width:100%;border:1px solid #ccc;border-radius:10px;padding:14px;background:#fff;color:#111;font-size:14px}.ob-intro{padding-top:38px}.ob-intro h1{font-size:40px;line-height:1.2;letter-spacing:-1.5px}.ob-intro .ob-subtitle{max-width:330px}.ob-section-cards{display:flex;flex-direction:column;gap:12px;margin-top:30px}.ob-section-card{display:flex;align-items:center;gap:16px;border:1px solid #e5e5e5;border-radius:12px;min-height:88px;padding:18px}.ob-section-number{font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;color:#999}.ob-section-card>div{flex:1}.ob-section-card h2{font-size:16px;font-weight:700}.ob-section-card p{font-size:12px;color:#777;margin-top:3px}.ob-section-card svg{width:16px;height:16px;color:#777}.ob-modal-backdrop{position:absolute;inset:0;background:#0007;z-index:20;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(3px)}.ob-modal{width:100%;max-width:420px;border-radius:18px;background:#fff;color:#111;padding:28px;box-shadow:0 15px 60px #0002}.ob-modal h2{font-size:22px;font-weight:750;margin-bottom:18px}.ob-modal p{font-size:13px;color:#666;line-height:1.8;margin-bottom:18px}.ob-modal .ob-primary{width:100%;margin-top:22px}.ob-text-button{display:block;width:100%;border:0;background:transparent;color:#666;font-size:12px;padding:16px 4px 0}.ob-text-button:hover{color:#111}
@keyframes ob-spin{to{transform:rotate(360deg)}}@keyframes ob-arrive{from{opacity:.35;transform:translateX(10px)}to{opacity:1;transform:none}}@keyframes ob-arrive-back{from{opacity:.35;transform:translateX(-10px)}to{opacity:1;transform:none}}
@media(min-width:800px){.ob-header{height:calc(76px + env(safe-area-inset-top,0px));min-height:calc(76px + env(safe-area-inset-top,0px));padding-left:32px;padding-right:32px}.ob-brand{font-size:19px}.ob-content{padding-top:28px}.ob-flow h1{font-size:36px}.ob-intro{padding-top:45px}.ob-intro h1{font-size:46px}.ob-footer{padding-top:20px;padding-bottom:20px}.ob-primary{min-height:54px}.ob-footer-caption{font-size:12px!important}.ob-sections{gap:32px}}
@media(max-width:370px){.ob-content{padding:14px 18px 28px}.ob-flow h1{font-size:28px}.ob-intro h1{font-size:36px}.ob-subtitle{font-size:13px}.ob-sections{gap:12px}.ob-choice{padding:15px}.ob-measure input{font-size:55px}.ob-footer{padding-left:18px;padding-right:18px}.ob-footer-caption{font-size:10px!important}.ob-days>div{gap:4px}.ob-days button{font-size:11px}}
@media(max-height:660px){.ob-header{height:calc(56px + env(safe-area-inset-top,0px));min-height:calc(56px + env(safe-area-inset-top,0px))}.ob-content{padding-top:10px}.ob-progress{margin-bottom:20px}.ob-subtitle{margin:12px auto 22px!important}.ob-footer{padding-top:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.ob-footer-caption{padding-top:8px}.ob-intro{padding-top:20px}}
@media(prefers-reduced-motion:reduce){.ob-content,.ob-spinner{animation:none}.ob-progress>i,.ob-choice{transition:none}}

/* 阶段概览使用贯穿的竖向时间线，回退与恢复时保留阶段状态。 */
.ob-stage-timeline{list-style:none;margin:38px auto 0;padding:0;max-width:410px;text-align:left}.ob-stage-timeline>li{position:relative;display:flex;align-items:flex-start;gap:21px;min-height:120px;padding:0 0 26px;color:#a0a0a0}.ob-stage-timeline>li:last-child{min-height:90px;padding-bottom:0}.ob-stage-timeline>li:not(:last-child):after{content:"";position:absolute;top:40px;bottom:3px;left:17px;width:2px;background:#e6e6e6}.ob-stage-marker{display:grid;place-items:center;position:relative;z-index:1;flex-shrink:0;width:36px;height:36px;background:#fff;border:1.5px solid #d8d8d8;border-radius:50%;font-size:14px;font-weight:650}.ob-stage-timeline h2{font-size:20px;line-height:1.4;font-weight:750;margin:3px 0 7px}.ob-stage-timeline p{font-size:13px;line-height:1.65;color:#9a9a9a}.ob-stage-timeline small{display:block;font-size:11px;margin-top:8px}.ob-stage-timeline .active{color:#080808}.ob-stage-timeline .active .ob-stage-marker{border-color:#111;background:#111;color:#fff}.ob-stage-timeline .active p{color:#666}.ob-stage-timeline .done{color:#444}.ob-stage-timeline .done .ob-stage-marker{background:#111;border-color:#111;color:#fff}.ob-stage-timeline .done:after{background:#111!important}.ob-stage-timeline .done p{color:#777}.ob-stage-timeline .done small{color:#777}.ob-health-sync{border:1px solid #e5e5e5;border-radius:16px;padding:30px 24px;text-align:center;margin:28px 0}.ob-health-icon{display:grid;place-items:center;width:72px;height:72px;border:1px solid #e9e9e9;border-radius:19px;margin:0 auto 18px;background:#fff;box-shadow:0 3px 12px #00000006}.ob-health-icon svg{width:42px;height:42px;fill:#ed596c;stroke:none}.ob-health-sync h2{font-size:20px;font-weight:750}.ob-sync-status{display:inline-block;font-size:11px;color:#777;background:#f0f0f0;border-radius:30px;padding:4px 10px;margin:12px 0 24px}.ob-health-sync p{font-size:14px;line-height:1.8;color:#555}.ob-health-sync .ob-sync-detail{font-size:12px;color:#888;margin-top:16px}.ob-invalid-hint{font-size:12px;text-align:center;color:#9e342b;line-height:1.7;margin:16px 0!important}.ob-footer .ob-primary:disabled{background:#e6e6e6;border-color:#e6e6e6;color:#949494;opacity:1;cursor:default}.ob-footer .ob-primary:disabled:hover{background:#e6e6e6}
@media(max-width:370px){.ob-stage-timeline>li{gap:16px}.ob-stage-timeline h2{font-size:18px}.ob-health-sync{padding:24px 18px}}

/* 消耗估算说明是本地渐进对话，数字与方法来自本账号的实时预览。 */
.ob-expenditure-chat{display:flex;flex-direction:column;gap:16px;padding:2px 0 12px}.ob-chat-bubble{max-width:91%;padding:17px 19px;border-radius:15px;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.ob-chat-assistant{align-self:flex-start;background:#080808;color:#fff;border-bottom-left-radius:4px}.ob-chat-user{align-self:flex-end;background:#ededed;color:#222;border-bottom-right-radius:4px;padding:12px 17px}.ob-chat-bubble p+p{margin-top:13px}.ob-chat-bubble .ob-chat-basis{font-size:12px;line-height:1.8;color:#d6d6d6;border-top:1px solid #ffffff30;border-bottom:1px solid #ffffff30;padding:12px 0}.ob-chat-estimate{border:1.5px solid #d8d8d8;border-radius:13px;padding:22px 24px;background:#fff;max-width:91%;align-self:flex-start;width:100%;color:#111}.ob-chat-estimate p{font-size:12px;color:#777}.ob-chat-estimate strong{display:block;margin:8px 0;font-size:39px;line-height:1.5;font-weight:700;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}.ob-chat-estimate strong>span{font-size:12px;font-weight:500;letter-spacing:normal;color:#777;white-space:nowrap}.ob-chat-estimate small{display:block;font-size:11px;color:#999}.ob-expenditure-actions{max-width:512px;margin:0 auto}.ob-expenditure-actions .ob-footer-actions{gap:10px}.ob-expenditure-actions .ob-primary,.ob-expenditure-actions .ob-secondary{flex:1;width:auto;font-size:14px;min-height:50px}.ob-expenditure-actions .ob-secondary{background:#eee;border-color:#eee;padding:12px}.ob-expenditure-actions .ob-text-button{font-size:11px;padding-top:11px}.ob-step-basics-expenditure .ob-subtitle{margin-bottom:22px!important}@media(max-width:370px){.ob-chat-bubble{max-width:96%;font-size:13px;padding:15px 16px}.ob-chat-estimate{max-width:96%;padding:19px}.ob-chat-estimate strong{font-size:35px}.ob-expenditure-actions .ob-primary,.ob-expenditure-actions .ob-secondary{font-size:13px;padding-left:12px;padding-right:12px}}

.ob-maintain-note{font-size:12px;color:#777;line-height:1.8;text-align:center;background:#f5f5f5;border:1px solid #e8e8e8;border-radius:10px;padding:14px 16px;margin:20px 0!important}.ob-step-goal-summary .ob-estimate{margin-top:26px}

/* 可操作的尺子与滚轮。仅绘制视口附近的刻度；拖动时不触发整页滚动。 */
.ob-picker-wrap{margin:44px auto 12px;width:100%;max-width:440px}.ob-picker{position:relative;overflow:hidden;isolation:isolate;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;outline:none;cursor:grab}.ob-picker.dragging{cursor:grabbing}.ob-picker[aria-disabled=true]{opacity:.5;cursor:default}.ob-picker.vertical{height:220px;touch-action:pan-x}.ob-picker.horizontal{height:102px;touch-action:pan-y}.ob-picker-track{position:absolute;inset:0;pointer-events:none}.ob-picker-item{position:absolute;pointer-events:none;font-variant-numeric:tabular-nums}.vertical .ob-picker-item{top:calc(50% - 22px);left:0;width:100%;height:44px;display:flex;align-items:center;justify-content:center;font-size:24px;line-height:44px;color:#171717;white-space:nowrap}.ob-picker-guide{position:absolute;pointer-events:none;z-index:-1}.vertical .ob-picker-guide{top:calc(50% - 22px);height:44px;left:0;right:0;border-top:1px solid #eaeaea;border-bottom:1px solid #eaeaea}.vertical:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(#fff,transparent 22%,transparent 78%,#fff)}.horizontal .ob-picker-item{left:50%;top:0;width:0;height:100%;color:#888}.horizontal .ob-picker-item i{display:block;position:absolute;left:-.5px;bottom:13px;width:1px;height:32px;background:#ccc}.horizontal .ob-picker-item.major i{height:45px;background:#bcbcbc}.horizontal .ob-picker-item small{position:absolute;bottom:64px;left:0;transform:translateX(-50%);font-size:12px;font-weight:400;line-height:20px}.horizontal .ob-picker-guide{z-index:1;left:calc(50% - 1px);width:2px;top:10px;bottom:11px;background:#48a579}.horizontal:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#fff,transparent 14%,transparent 86%,#fff)}.ob-ruler-value{display:block;text-align:center;color:#101010;font-size:34px;line-height:1.5;font-weight:750;font-variant-numeric:tabular-nums;margin-bottom:8px}.ob-picker-wrap.is-ruler{margin-top:80px}.ob-birthday-wheels{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:6px;max-width:440px;margin:54px auto 0}.ob-birthday-wheels .ob-picker-wrap{margin:0;min-width:0}.ob-birthday-wheels .vertical .ob-picker-item{font-size:23px}.ob-manual{font-size:12px;color:#777;margin:24px auto 0;text-align:center;max-width:360px}.ob-manual summary{display:inline-block;cursor:pointer;padding:8px 14px;text-decoration:underline;text-underline-offset:4px;list-style:none}.ob-manual summary::-webkit-details-marker{display:none}.ob-manual .ob-measure{margin-top:15px}.ob-manual .ob-measure input{font-size:36px}.ob-manual .ob-date{font-size:20px!important}.ob-step-basics-height .ob-subtitle,.ob-step-basics-weight .ob-subtitle,.ob-step-goal-target .ob-subtitle{margin-bottom:24px!important}
/* 控件即时反馈：下压、选中圆点与单位滑块。参数为网页实现的视觉拟合。 */
.ob-flow button{transition:background-color 160ms ease,border-color 160ms ease,opacity 160ms ease;-webkit-tap-highlight-color:transparent}.ob-flow button:active:not(:disabled){transform:none}.ob-flow .ob-icon-button:active:not(:disabled){transform:none;background:#ededed}.ob-choice.selected{background:#fff;border-color:#080808}.ob-choice.selected .ob-radio{background:#080808;transition:background-color 160ms ease,border-color 160ms ease}.ob-radio i{width:6px;height:6px;background:#fff;animation:ob-radio-in 190ms cubic-bezier(.2,.8,.2,1)}.ob-radio{transition:background-color 160ms ease,border-color 160ms ease}.ob-unit-switch{position:relative;isolation:isolate;background:#f4f4f4;border-color:#f4f4f4;min-width:194px;padding:4px;border-radius:11px}.ob-unit-switch:before{content:"";position:absolute;z-index:-1;left:4px;top:4px;bottom:4px;width:calc(50% - 4px);border-radius:8px;background:#080808;transition:transform 220ms cubic-bezier(.2,.75,.25,1)}.ob-unit-switch.second:before{transform:translateX(100%)}.ob-unit-switch button{min-width:92px;padding:8px 16px;transition:color 160ms ease}.ob-unit-switch button.active{background:transparent;color:#fff;box-shadow:none}.ob-unit-switch button:not(.active){color:#111}.ob-content{animation-duration:300ms;animation-timing-function:cubic-bezier(.2,.75,.25,1)}.ob-content:not(.ob-intro) h1{text-align:left;font-size:29px;letter-spacing:-.8px}.ob-content:not(.ob-intro)>.ob-subtitle{text-align:left;margin-left:0!important}.ob-content:not(.ob-intro)>.ob-eyebrow,.ob-sections{display:none}.ob-progress{margin-top:0;margin-bottom:25px}.ob-progress>i{transition:transform 300ms cubic-bezier(.2,.75,.25,1)}.ob-stage-timeline>li{animation:ob-stage-in 400ms both cubic-bezier(.2,.75,.25,1)}.ob-stage-timeline>li:nth-child(2){animation-delay:70ms}.ob-stage-timeline>li:nth-child(3){animation-delay:140ms}.ob-chat-bubble,.ob-chat-estimate{animation:ob-chat-in 280ms both cubic-bezier(.2,.75,.25,1)}.ob-modal-backdrop{align-items:flex-end;padding:0;backdrop-filter:none;animation:ob-dim-in 180ms ease}.ob-modal{max-width:560px;border-radius:22px 22px 0 0;padding:30px 26px max(26px,env(safe-area-inset-bottom));animation:ob-sheet-in 300ms cubic-bezier(.2,.75,.25,1)}.ob-modal:before{content:"";display:block;width:38px;height:4px;border-radius:3px;background:#ddd;margin:-17px auto 22px}
@keyframes ob-radio-in{from{transform:scale(.25);opacity:0}to{transform:scale(1);opacity:1}}@keyframes ob-stage-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes ob-chat-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}@keyframes ob-sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes ob-dim-in{from{opacity:0}to{opacity:1}}@keyframes ob-arrive{from{opacity:.2;transform:translate3d(32px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}@keyframes ob-arrive-back{from{opacity:.2;transform:translate3d(-32px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media(max-height:700px){.ob-picker-wrap{margin-top:20px}.ob-birthday-wheels{margin-top:24px}.ob-picker-wrap.is-ruler{margin-top:30px}.ob-manual{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.ob-flow *,.ob-flow *:before,.ob-flow *:after{animation:none!important;transition:none!important}.ob-flow button:active:not(:disabled){transform:none}}
.ob-top-progress{flex-shrink:0;margin:0 max(24px,env(safe-area-inset-right)) 0 max(24px,env(safe-area-inset-left));height:3px;border-radius:0}.ob-top-progress>i{border-radius:0}.ob-content:not(.ob-intro){padding-top:28px}
.ob-help-leave-active{transition:opacity 180ms ease}.ob-help-leave-active .ob-modal{animation:none;transition:transform 180ms ease}.ob-help-leave-to{opacity:0}.ob-help-leave-to .ob-modal{transform:translateY(100%)}.ob-modal:focus{outline:none}

/* 进度只变换合成图层，不在每帧改变宽度、重排整张问卷。 */
.ob-progress>i{width:100%;transform-origin:left center;will-change:transform}
.ob-content{contain:layout style;backface-visibility:hidden;will-change:transform,opacity}

/* 两个独立页面同时合成平移；先给反馈，再等待保存，不在每帧重排。 */
.ob-scroll{position:relative;isolation:isolate;overflow-x:hidden;overflow-y:auto}
/* 转场移动整个视口画布，内容仍居中且保持 512px 可读宽度。
   relative 让进入页的 z-index 生效，避免绝对定位的旧页面盖住新页面。 */
.ob-content{position:relative;max-width:none;min-height:100%;margin:0;padding-left:max(24px,calc((100% - 512px)/2));padding-right:max(24px,calc((100% - 512px)/2));background:#fff;animation:none}
@media(max-width:370px){.ob-content{padding-left:18px;padding-right:18px}}
.ob-push-enter-active,.ob-push-leave-active,.ob-pop-enter-active,.ob-pop-leave-active{transition:transform .28s cubic-bezier(.2,.75,.25,1);backface-visibility:hidden;will-change:transform;contain:paint}
.ob-push-enter-active{transition-timing-function:linear(0 0%,.019 2%,.057 4%,.11 6%,.172 8%,.238 10%,.306 12%,.372 14%,.434 16%,.493 18%,.546 20%,.623 23%,.688 26%,.76 30%,.83 35%,.88 40%,.916 45%,.942 50%,.973 60%,.988 70%,.994 80%,.998 90%,1 100%)}
.ob-push-leave-active{transition-timing-function:cubic-bezier(.35,.91,.33,.97)}
.ob-pop-enter-active,.ob-pop-leave-active{transition-duration:.26s;transition-timing-function:cubic-bezier(.23,.53,.13,1)}
.ob-push-leave-active,.ob-pop-leave-active{position:absolute;top:0;left:0;right:0;pointer-events:none}
.ob-push-enter-active,.ob-pop-leave-active{z-index:2;background:#fff}.ob-push-leave-active,.ob-pop-enter-active{z-index:1}
.ob-push-enter-from,.ob-pop-leave-to{transform:translate3d(100%,0,0)}
.ob-push-leave-to,.ob-pop-enter-from{transform:translate3d(-33.333%,0,0)}
.ob-picker:focus-visible{outline:3px solid #8eb5ff;outline-offset:4px}
.ob-flow button{position:relative;isolation:isolate;overflow:hidden}
.ob-flow button .se-ripple{background:#00000039}
.ob-flow .ob-primary .se-ripple,.ob-flow .ob-unit-switch button.active .se-ripple{background:#ffffff29}
.ob-flow button.se-pressing:not(.ob-primary){background-color:#e4e4e4}
.ob-flow .ob-unit-switch button.active.se-pressing{background-color:#ffffff1a}
@media(prefers-reduced-motion:reduce){.ob-push-enter-active,.ob-push-leave-active,.ob-pop-enter-active,.ob-pop-leave-active{transition:none!important}}
/* 过敏原：两列可多选卡片 */
.ob-allergy-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0 12px}
.ob-allergy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;min-height:64px;border:1.5px solid var(--ob-line);border-radius:13px;background:#fff;padding:12px 16px;text-align:left;color:#111}
.ob-allergy b{font-size:15px;font-weight:650}
.ob-allergy small{font-size:12px;color:#777}
.ob-allergy.selected{border-color:#080808;background:#f5f5f5}
.ob-allergy.selected b::after{content:" ✓";font-weight:700}
/* 建档摘要：按健康情况的每日上限 */
.ob-limits{margin:26px 0 8px}
.ob-limits h2{font-size:15px;font-weight:700;margin:0 0 12px;color:#111}
.ob-limit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ob-limit{border:1px solid #e5e5e5;border-radius:13px;background:#fafafa;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.ob-limit span{font-size:12px;color:#6e6e6e}
.ob-limit b{font-size:22px;font-weight:750;letter-spacing:-.5px;color:#111;font-variant-numeric:tabular-nums}
.ob-limit b small{font-size:12px;font-weight:500;color:#777;letter-spacing:0}
.ob-limit em{font-style:normal;font-size:11px;color:#8a8a8a}
.ob-limit-salt{grid-column:1/-1;flex-direction:row;align-items:baseline;gap:12px;border-color:#111;background:#fff}
.ob-limit-salt b{font-size:30px}
.ob-limit-salt em{margin-left:auto}
.ob-limit-rules{margin:14px 0 4px;padding-left:18px;font-size:13px;line-height:1.75;color:#444}
.ob-limit-redline{border-radius:10px;background:#fff4ec;color:#8a3b14;font-size:13px;line-height:1.7;padding:12px 14px;margin:10px 0}

/* 消耗说明：依据 2026-10-18 用户录屏，保留对话空间和独立固定回复区。 */
.ob-sr-only,.ob-step-basics-expenditure>h1,.ob-step-basics-expenditure>.ob-subtitle{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.ob-step-basics-expenditure{padding-top:16px!important;padding-bottom:20px}
.ob-expenditure-chat.ob-story{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0;padding:0}
.ob-story .ob-chat-bubble{max-width:100%;width:fit-content;margin:0;padding:11px 13px;border-radius:12px 12px 12px 0;font-size:14px;line-height:1.55;letter-spacing:0;text-align:left;overflow-wrap:anywhere}
.ob-story .ob-chat-bubble p{margin:0!important}
.ob-story .ob-chat-user{align-self:flex-end;background:#e9e9e9;color:#111;border-radius:12px 12px 0 12px;max-width:90%}
.ob-story .ob-chat-estimate{display:flex;align-items:center;gap:12px;max-width:100%;width:fit-content;min-width:0;min-height:62px;margin:0;padding:10px 12px;border-radius:12px 12px 12px 0;text-align:left;background:#fff;border:1px solid #dedede;box-shadow:0 0 0 .5px #ededed}
.ob-story .ob-chat-estimate strong{display:block;margin:0;color:#111;font-size:20px;font-weight:700;letter-spacing:-.35px;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums}
.ob-flow .ob-estimate-edit{display:grid;place-items:center;flex:none;width:36px;height:36px;min-height:36px;border:0;border-radius:50%;background:#e9e9e9;color:#626262;padding:9px}
.ob-estimate-edit svg{width:18px;height:18px;stroke-width:2;fill:none}
.ob-story .ob-story-row{animation:none;transform:none;will-change:auto}
.ob-story-waiting{visibility:hidden}
.ob-story-basis{font-size:12px;line-height:1.65;margin-top:9px;color:#d0d0d0}.ob-story-basis summary{cursor:pointer;padding:4px 0}.ob-story-basis[open]>p{margin-top:7px!important}
.ob-story .ob-story-typing{display:flex;align-items:center;gap:4px;height:26px;min-width:45px;padding:9px 11px;animation:ob-story-typing-in 200ms cubic-bezier(.2,.7,.3,1) both}
.ob-story-typing i{width:4px;height:4px;border-radius:50%;background:#b5b5b5;animation:ob-story-dot 1s ease-in-out infinite}.ob-story-typing i:nth-child(2){animation-delay:140ms}.ob-story-typing i:nth-child(3){animation-delay:280ms}
.ob-story-flights{position:fixed;z-index:3;overflow:hidden;pointer-events:none;contain:strict}
.ob-footer-story{position:relative;border-top:1px solid #f5f5f5!important;box-shadow:0 -5px 15px #00000005;padding-top:14px!important}
.ob-response-label{font-size:13px;font-weight:600;color:#111;line-height:18px;margin:0 0 9px!important}
.ob-response-slots{min-height:32px}
.ob-expenditure-actions .ob-footer-actions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;min-height:32px;gap:6px;animation:ob-response-arrive 180ms ease both}
.ob-flow .ob-response{flex:none;width:auto;min-height:32px;border:1px solid #e2e2e2;border-radius:5px;color:#111;background:#fff;padding:5px 9px;font-size:13px;font-weight:500;line-height:20px;white-space:normal;text-align:left;animation:none}
.ob-flow .ob-response:disabled{opacity:.4}.ob-flow .ob-response.ob-response-selected{opacity:1;border-color:#111;box-shadow:inset 0 0 0 1px #111;background:#fff}
.ob-expenditure-actions .ob-text-button{display:block;width:100%;min-height:46px;margin:20px 0 0;padding:11px 16px;background:#e7e7e7;border:0;border-radius:7px;color:#111;font-size:14px;font-weight:550;line-height:24px}
.ob-expenditure-actions .ob-text-button:hover{background:#dedede}
.ob-response-skeleton{display:flex;gap:8px;height:32px;align-items:stretch;overflow:hidden}.ob-response-skeleton i{display:block;border-radius:5px;background:linear-gradient(100deg,#eee 20%,#f7f7f7 40%,#e8e8e8 65%);background-size:240% 100%;animation:ob-response-shimmer 1.6s linear infinite}.ob-response-skeleton i:first-child{width:52px;flex:none}.ob-response-skeleton i:last-child{flex:1}
.ob-estimate-edit-options{display:flex;flex-direction:column;gap:8px;margin:20px 0}.ob-estimate-edit-options>button{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #e6e6e6;border-radius:9px;background:#fff;min-height:48px;padding:11px 13px;font-size:14px;text-align:left;color:#111}.ob-estimate-edit-options span{font-size:13px;color:#777}
@keyframes ob-story-typing-in{from{opacity:.3;transform:translate3d(-55px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes ob-story-dot{0%,65%,100%{opacity:.45}30%{opacity:1}}
@keyframes ob-response-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}
@keyframes ob-response-arrive{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.ob-story *, .ob-response-skeleton i,.ob-expenditure-actions .ob-footer-actions{animation:none!important;transition:none!important}}

.ob-header-spacer{width:44px;height:44px;flex:none}
.ob-flow-story .ob-top-progress{margin-left:max(16px,env(safe-area-inset-left));margin-right:max(16px,env(safe-area-inset-right))}
.ob-step-basics-expenditure{padding-left:max(16px,calc((100% - 512px)/2));padding-right:max(16px,calc((100% - 512px)/2))}
.ob-footer-story{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}

/* ===== 「建立方案 / 修改方案」（progress.js 的 OnboardPage）用和首次建档、登录页同一套版式（sz96） ===== */
.ob-legacy{--ink:#090909;--ink-2:#555;--ink-3:#8a8a8a;--paper:#f5f5f5;--paper-2:#f2f2f2;--card:#fff;--rule:#ececec;--rule-2:#dcdcdc;--ink-rgb:9,9,9;--cream:#090909;--on-cream:#fff;--green:#0ca30c;--st-good:#0ca30c;--serif:inherit;--title:inherit}
.ob-legacy .ob-header{display:grid;grid-template-columns:44px 1fr 44px;gap:8px}
.ob-legacy .ob-head-t{text-align:center;font-size:16px;font-weight:700}
.ob-legacy .ob-head-n{justify-self:end;font-size:13px;color:var(--ob-gray);font-variant-numeric:tabular-nums}
.ob-legacy .ob-top-progress{margin-bottom:0}
.ob-legacy .ob-top-progress>i{transform-origin:left;width:100%}
.ob-legacy .ob-content{padding-bottom:28px}
.ob-legacy .ob-q>h1{text-align:left;font-size:29px;letter-spacing:-.8px}
.ob-legacy .ob-q>.ob-subtitle{text-align:left;margin:12px 0 26px!important;max-width:none}
.ob-legacy .ob-choice.off{opacity:.45}
.ob-legacy .ob-choice .tag{margin-left:8px;font-size:11px;padding:1px 7px;border-radius:999px;background:#e8f6e8;color:#0a7a0a;border:0;vertical-align:2px}
.ob-legacy .ob-ic{flex:none;width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#f2f2f2;color:#111}
.ob-legacy .ob-ic svg,.ob-legacy .ob-ic .ico{width:20px;height:20px}
.ob-legacy .ob-choice-copy span{font-size:12.5px;color:var(--ob-gray);line-height:1.55}
.ob-legacy .ob-footer-caption{min-height:16px}
.ob-legacy .ob-link{border:0;background:transparent;padding:4px 8px;color:#555;font-size:13px;text-decoration:underline;text-underline-offset:3px}
/* 数字输入：大号黑色数字 + 圆形加减钮，和首次建档的身高体重页一致 */
.ob-legacy .big-input{margin:18px 0 12px;gap:14px}
.ob-legacy .big-input input{width:150px;font:800 52px/1.1 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;letter-spacing:-1.5px;color:#090909;border-bottom:2px solid #ececec;border-radius:0;padding:0 0 6px}
.ob-legacy .big-input input:focus{outline:none;border-bottom-color:#090909}
.ob-legacy .big-input button{width:48px;height:48px;border:0;background:#f2f2f2;color:#111;font-size:22px}
.ob-legacy .ob-range{accent-color:#090909}
.ob-legacy .ob-sub-t{font-size:14px;font-weight:700;color:#111;margin:26px 0 12px}
.ob-legacy .ob-bmi{border-color:#ececec;border-radius:13px}
/* 多选标签（健康情况、口味）：灰底胶囊，选中黑底白字 */
.ob-legacy .opts{display:flex;flex-wrap:wrap;gap:8px}
.ob-legacy .opt{border:1.5px solid #e6e6e6;background:#fff;color:#111;border-radius:999px;padding:9px 15px;font-size:14px;line-height:1.3}
.ob-legacy .opt.on,.ob-legacy .opt.ghost-on.on{background:#090909;border-color:#090909;color:#fff}
.ob-legacy .notice{border-radius:12px}
.ob-legacy .btn.text{border:0;background:transparent;color:#555;font-size:13px;padding:8px 0;display:inline-flex;align-items:center;gap:6px}
.ob-legacy .ob-done li{color:#333;border-bottom-color:#f0f0f0}
.ob-legacy .ob-spin{border-top-color:#090909}
/* 竖直滚轮（生日、身高）：手指按住直接拖，不让页面滚动抢手势（sz97） */
.ob-picker.vertical{touch-action:none;-webkit-user-select:none;-webkit-touch-callout:none}
.ob-picker-track{will-change:transform}
.ob-picker-item{will-change:transform,opacity;backface-visibility:hidden}
