*{margin:0;-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;height:100%}body{overflow-x:hidden;font-size:16px}uni-app,uni-page,uni-page-wrapper,uni-page-body{display:block;box-sizing:border-box;width:100%}uni-page-wrapper{position:relative}#app,uni-app,uni-page,uni-page-wrapper{height:100%}.uni-mask{position:fixed;z-index:999;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.5)}.uni-fade-enter-active,.uni-fade-leave-active{transition-duration:.25s;transition-property:opacity;transition-timing-function:ease}.uni-fade-enter-from,.uni-fade-leave-active{opacity:0}.uni-loading,uni-button[loading]:before{background-color:transparent;background-image:url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjU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NjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=);background-repeat:no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}html{--primary-color: #007aff;--UI-BG: #fff;--UI-BG-1: #f7f7f7;--UI-BG-2: #fff;--UI-BG-3: #f7f7f7;--UI-BG-4: #4c4c4c;--UI-BG-5: #fff;--UI-FG: #000;--UI-FG-0: rgba(0, 0, 0, .9);--UI-FG-HALF: rgba(0, 0, 0, .9);--UI-FG-1: rgba(0, 0, 0, .5);--UI-FG-2: rgba(0, 0, 0, .3);--UI-FG-3: rgba(0, 0, 0, .1)}uni-page[data-type] uni-page-body{background-color:transparent}body:after{position:fixed;content:"";left:-1000px;top:-1000px;animation:shadow-preload .1s;animation-delay:3s}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}.uni-async-error{position:absolute;left:0;right:0;top:0;bottom:0;color:#999;padding:100px 10px;text-align:center}.uni-async-loading{box-sizing:border-box;width:100%;padding:50px;text-align:center}.uni-async-loading .uni-loading{width:30px;height:30px}uni-page-head{display:block;box-sizing:border-box}.uni-page-head{position:fixed;left:var(--window-left);right:var(--window-right);height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));padding:7px 3px;padding-top:calc(7px + constant(safe-area-inset-top));padding-top:calc(7px + env(safe-area-inset-top));display:flex;overflow:hidden;justify-content:space-between;box-sizing:border-box;z-index:998;color:#fff;background-color:#000;transition-property:all}.uni-page-head *{box-sizing:border-box}.uni-page-head .uni-btn-icon{overflow:hidden;min-width:1em;font-style:normal}.uni-page-head-titlePenetrate,.uni-page-head-titlePenetrate .uni-page-head-bd,.uni-page-head-titlePenetrate .uni-page-head-bd *{pointer-events:none}.uni-page-head-titlePenetrate *{pointer-events:auto}.uni-page-head.uni-page-head-transparent .uni-page-head-ft>div{justify-content:center}.uni-page-head~.uni-placeholder{width:100%;height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top))}.uni-placeholder-titlePenetrate{pointer-events:none}.uni-page-head-hd{display:flex;align-items:center;font-size:16px}.uni-page-head-bd{position:absolute;left:70px;right:70px;min-width:0;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.uni-page-head-btn{position:relative;width:auto;margin:0 2px;word-break:keep-all;white-space:pre;cursor:pointer;font-size:0px}.uni-page-head-transparent .uni-page-head-btn{display:flex;align-items:center;width:32px;height:32px;border-radius:50%;background-color:rgba(0,0,0,.5)}.uni-page-head-btn-red-dot:after{content:attr(badge-text);position:absolute;right:0;top:0;background-color:red;color:#fff;width:18px;height:18px;line-height:18px;border-radius:18px;overflow:hidden;transform:scale(.5) translate(40%,-40%);transform-origin:100% 0}.uni-page-head-btn-red-dot[badge-text]:after{font-size:12px;width:auto;min-width:18px;max-width:42px;text-align:center;padding:0 3px;transform:scale(.7) translate(40%,-40%)}.uni-page-head-btn-select svg{vertical-align:middle;margin-left:2px;transform:rotate(270deg) scale(.8)}.uni-page-head-search{position:relative;display:flex;flex:1;margin:0 2px;line-height:30px;font-size:15px}.uni-page-head-search-input{width:100%;height:100%;padding-left:34px;text-align:left}.uni-page-head-search-input .uni-input-input:disabled{pointer-events:none}.uni-page-head-search-placeholder{position:absolute;max-width:100%;height:100%;padding-left:34px;overflow:hidden;word-break:keep-all;white-space:pre}.uni-page-head-search-placeholder-right{right:0}.uni-page-head-search-placeholder-center{left:50%;transform:translate(-50%)}.uni-page-head-search-icon{position:absolute;top:0;left:2px;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.uni-page-head-ft{display:flex;align-items:center;flex-direction:row-reverse;font-size:13px}.uni-page-head__title{font-weight:700;font-size:16px;line-height:30px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uni-page-head__title .uni-loading{width:16px;height:16px;margin-top:-3px}.uni-page-head__title .uni-page-head__title_image{width:auto;height:26px;vertical-align:middle}.uni-page-head-shadow{overflow:visible}.uni-page-head-shadow:after{content:"";position:absolute;left:0;right:0;top:100%;height:5px;background-size:100% 100%}uni-page-head[uni-page-head-type=default]~uni-page-wrapper{height:calc(100% - 44px);height:calc(100% - 44px - constant(safe-area-inset-top));height:calc(100% - 44px - env(safe-area-inset-top))}.uni-page-head-shadow-grey:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}.uni-page-head-shadow-blue:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-blue.png)}.uni-page-head-shadow-green:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-green.png)}.uni-page-head-shadow-orange:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-orange.png)}.uni-page-head-shadow-red:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-red.png)}.uni-page-head-shadow-yellow:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-yellow.png)}.workspace{--bg:#f5f7f4;--surface:#fff;--ink:#25372d;--muted:#6b7b70;--line:#e4eae3;--green:#37694b;--soft:#edf3ed;color:var(--ink);background:var(--bg);font-family:Segoe UI,Microsoft YaHei,sans-serif;font-size:15px;line-height:1.6;min-height:100vh;display:flex}.workspace *{box-sizing:border-box}.workspace uni-text{display:block}.workspace uni-button{margin:0;min-height:40px;padding:10px 16px;line-height:1.45;font-size:14px;background:var(--surface);border:1px solid var(--line);border-radius:10px;color:var(--ink);cursor:pointer;white-space:normal}.workspace uni-button:after{border:0}.workspace uni-button:disabled{opacity:.5;cursor:default}.workspace uni-button:focus-visible,.workspace uni-input:focus-visible,.workspace uni-textarea:focus-visible{outline:3px solid #98bea5;outline-offset:2px}.workspace uni-button.primary{background:var(--green);color:#fff;border-color:var(--green)}.workspace .selected{background:#e5efe3!important;border-color:#87a78f!important;color:#244e34!important}.workspace .sidebar{width:214px;flex-shrink:0;padding:30px 22px;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column;gap:12px;position:sticky;top:0;height:100vh}.workspace .brand{font-size:29px;font-weight:650;color:var(--green)}.workspace .brand-small{font-size:10px;letter-spacing:2px}.workspace .nav-list{display:flex;flex-direction:column;gap:9px;margin-top:28px}.workspace .nav-list uni-button{text-align:left;border-color:transparent;padding:12px 18px}.workspace .sidebar-note{margin-top:auto;color:var(--muted);font-size:12px;padding:16px;background:var(--soft);border-radius:12px}.workspace .main-content{width:100%;min-width:0;max-width:1440px;padding:24px 32px 60px;margin:0 auto}.workspace .topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}.workspace .date-controls{display:flex;align-items:center;gap:8px}.workspace .date-controls uni-input{width:165px;min-width:0}.workspace .development-banner{padding:10px 14px;background:#f8f0de;border-radius:10px;color:#805c2d;font-size:13px}.workspace .global-status{color:var(--muted);font-size:12px;margin:10px 0 20px;min-height:20px}.workspace .error-message{border:1px solid #e5bbb4;background:#fff0ed;color:#943d31;padding:12px 16px;border-radius:12px;margin-bottom:16px;overflow-wrap:anywhere}.workspace .page-stack{display:flex;flex-direction:column;gap:20px;width:100%;min-width:0}.workspace .page-heading,.workspace .card-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.workspace .heading{font-size:27px;font-weight:600;line-height:1.4;margin:4px 0 12px}.workspace .eyebrow{font-size:12px;color:var(--green);letter-spacing:1px}.workspace .muted{font-size:13px;color:var(--muted)}.workspace .card{width:100%;min-width:0;background:#fff;border:1px solid var(--line);border-radius:18px;padding:23px;display:flex;flex-direction:column;gap:16px}.workspace .card-title{font-size:17px;font-weight:600}.workspace .actions,.workspace .choice-row,.workspace .subnav,.workspace .row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.workspace .text-button{border-color:transparent;background:transparent;color:var(--green);padding:5px 7px;min-height:32px}.workspace .subnav{border-bottom:1px solid var(--line);padding-bottom:12px}.workspace .subnav uni-button{min-width:88px}.workspace .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.workspace .field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px}.workspace .field-label{font-size:13px}.workspace uni-input,.workspace uni-textarea{border:1px solid #dbe3da;border-radius:9px;background:#fcfdfb;padding:10px 12px;height:43px;width:100%;font-size:15px;line-height:22px;color:var(--ink)}.workspace uni-textarea{height:85px}.workspace uni-input.invalid{border-color:#b35646}.workspace .notice{font-size:13px;color:#795d38;background:#fbf5e9;padding:12px 14px;border-radius:10px}.workspace .empty{padding:22px 0;color:var(--muted);font-size:14px}.workspace .nutrition-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.workspace .metric{padding:10px 0;display:flex;flex-direction:column;gap:5px;min-width:0}.workspace .metric-value{font-size:25px;font-weight:600;overflow-wrap:anywhere}.workspace .metric-value .unit{display:inline;font-size:12px;font-weight:400;color:var(--muted)}.workspace .warning{color:#9e6032;font-size:12px}.workspace .two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.workspace .large-number{font-size:28px;margin:10px 0}.workspace .week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.workspace .week-day{text-align:center;padding:12px 4px;background:var(--soft);border-radius:10px;font-size:12px}.workspace .compact-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px;flex-wrap:wrap}.workspace .meal-row{border-top:1px solid var(--line);padding-top:15px}.workspace .meal-main{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.workspace .item-name{font-size:16px;font-weight:500;overflow-wrap:anywhere}.workspace .item-energy{white-space:nowrap;font-weight:550}.workspace .row-actions{justify-content:flex-end}.workspace .detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:12px;background:var(--soft);padding:14px;border-radius:10px;margin-top:10px}.workspace .library-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.workspace .choice-list{display:flex;flex-wrap:wrap;gap:8px;max-height:240px;overflow:auto}.workspace .history-list{margin-top:12px;display:flex;flex-direction:column;gap:10px}.workspace .bottom-nav{display:none}.workspace.welcome{padding:60px 24px;max-width:720px;margin:auto;flex-direction:column;gap:24px}@media (max-width:1000px){.workspace .sidebar{width:175px;padding:25px 15px}.workspace .main-content{padding:22px}.workspace .topbar{align-items:flex-start;flex-direction:column}.workspace .two-columns{grid-template-columns:1fr}}@media (max-width:700px){.workspace{display:block;font-size:14px}.workspace .sidebar{display:none}.workspace .main-content{padding:17px 14px 100px}.workspace .bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;padding:8px 5px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.937);border-top:1px solid var(--line);z-index:30}.workspace .bottom-nav uni-button{padding:10px 2px;border:0;background:transparent;font-size:12px;min-width:0}.workspace .heading{font-size:24px}.workspace .card{padding:18px 15px;border-radius:15px}.workspace .nutrition-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workspace .metric-value{font-size:24px}.workspace .field-grid{gap:12px}.workspace .field-grid .field:only-child{grid-column:1/-1}.workspace .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace .desktop-only{display:none}.workspace .date-controls{display:grid;grid-template-columns:minmax(100px,1fr) auto auto;width:100%;gap:6px}.workspace .date-controls uni-input{width:100%}.workspace .date-controls uni-button{padding:10px 9px;font-size:12px}.workspace .development-banner{font-size:12px}.workspace .item-energy{font-size:14px}.workspace .meal-main>uni-view{min-width:0}.workspace .row-actions{gap:4px}.workspace .subnav uni-button{min-width:0;flex:1}.workspace .page-heading{align-items:flex-start}.workspace .choice-row uni-button{padding:9px 11px}.workspace .week-grid{gap:4px}.workspace .week-day{padding:10px 1px;font-size:11px}}.workspace .global-feedback{height:90px;overflow-y:auto;margin:10px 0 20px}.workspace .global-feedback .global-status{margin:0;min-height:20px}.workspace .global-feedback .error-message{margin:6px 0 0;padding:8px 12px}
