:root{--brand: #1f6f5c;--brand-light: #3aa086;--danger: #c94a3d;--bg: #f2f5f3}*{-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Microsoft YaHei,sans-serif}#root{height:100dvh}.tabbar-shell{display:flex;flex-direction:column;height:100dvh}.tabbar-content{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabbar-bar{flex-shrink:0;background:#fff;border-top:.5px solid #e5e5e5;padding-bottom:env(safe-area-inset-bottom)}.safe-top{padding-top:env(safe-area-inset-top)}body.kb-input .tabbar-bar{display:none}.adm-popup-body-position-bottom{padding-bottom:env(safe-area-inset-bottom)}.page{padding:12px 12px 24px}.adm-nav-bar{background:#fff}.section-title{display:flex;align-items:center;justify-content:space-between;margin:18px 2px 8px;font-size:16px;font-weight:600;color:#333}.field-row{display:flex;align-items:center;border-bottom:1px solid #f0ebe4;padding:10px 0}.field-row:last-child{border-bottom:none}.field-label{width:82px;flex-shrink:0;font-size:13px;color:#666}.field-box{background:#fff;border-radius:12px;padding:4px 14px}.card{background:#fff;border-radius:16px;padding:14px;margin-bottom:12px;box-shadow:0 2px 8px #1f6f5c0f}.pill{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px}.pill-green{background:#f6ffed;color:#52c41a}.pill-gray{background:#fbf6f0;color:#a89b8e}.safety-header{background:linear-gradient(135deg,var(--brand) 0%,#14503f 100%);color:#fff;padding:14px 16px}.safety-header .sh-customer{font-size:16px;font-weight:600}.safety-header .sh-service{font-size:12px;opacity:.85;margin-top:2px}.safety-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #f0ebe4}.safety-item:last-child{border-bottom:none}.si-icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}.si-icon.safe{background:#f0f5ec;color:#6b9e4f}.si-icon.warn{background:#fff7e6;color:#d48806}.si-icon.danger{background:#fff1f0;color:#ff4d4f}.si-label{font-size:13px;font-weight:500;flex-shrink:0}.si-value{font-size:12px;color:#a89b8e;margin-left:auto;text-align:right;white-space:pre-line}.hc-title{font-size:14px;font-weight:600;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center}.hc-update{font-size:11px;color:#a89b8e;font-weight:400}.tongue-photo-grid{display:flex;flex-wrap:wrap;gap:8px}.tongue-photo-scroll{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px}.tongue-photo-scroll .tongue-photo-item,.tongue-photo-scroll .tongue-photo-add{flex-shrink:0;width:100px}.tongue-photo-item{position:relative;width:calc(33.333% - 6px);border:2px solid #e5dfd9;border-radius:10px;padding:4px;background:#fff}.tongue-photo-item.selected-a{border-color:#c8956c;background:#fff7e6}.tongue-photo-item.selected-b{border-color:var(--brand);background:#eef7f4}.tpi-thumb{width:100%;aspect-ratio:1;border-radius:8px;background:#f0ebe4;display:flex;align-items:center;justify-content:center;overflow:hidden}.tpi-thumb img{width:100%;height:100%;object-fit:cover}.tpi-view{font-size:9px;color:#a89b8e;text-align:center}.tpi-date{font-size:10px;font-weight:600;text-align:center;margin-top:2px}.tpi-note{font-size:9px;color:#a89b8e;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tpi-badge{position:absolute;top:2px;right:2px;width:16px;height:16px;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff}.tpi-badge.badge-a{background:#c8956c}.tpi-badge.badge-b{background:var(--brand)}.tongue-photo-add{width:calc(33.333% - 6px);min-height:84px;border:2px dashed #e5dfd9;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:transparent}.tongue-compare-box{margin-top:12px;padding:12px;border:1px solid #e5dfd9;border-radius:12px;background:#fafafa}.tci-thumb{width:100%;aspect-ratio:1;border-radius:10px;background:#f0ebe4;display:flex;align-items:center;justify-content:center;overflow:hidden}.tci-thumb img{width:100%;height:100%;object-fit:cover}.form-group{margin-bottom:12px}.form-group label{display:block;font-size:13px;color:#666;margin-bottom:6px}.form-group input,.form-group textarea,.form-group select{width:100%;box-sizing:border-box;border:1px solid #e5dfd9;border-radius:10px;padding:9px 12px;font-size:14px;background:#fff;font-family:inherit}.chip-row{display:flex;flex-wrap:wrap;gap:6px}.chip{padding:6px 14px;border:1px solid #e5dfd9;border-radius:999px;font-size:12px;background:#fff;color:#666}.chip.active{background:var(--brand);color:#fff;border-color:var(--brand)}.health-card{background:#fff;border-radius:14px;padding:16px;margin-bottom:12px;box-shadow:0 1px 3px #3c2d1e1c}.health-card .hc-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #f0ebe4}.health-card .hc-row:last-child{border-bottom:none}.health-card .hc-label{font-size:13px;color:#7a6e62;flex-shrink:0}.health-card .hc-value{font-size:13px;font-weight:600;text-align:right}.health-card .hc-value.warn{color:#d48806}.health-card .hc-value.danger{color:#ff4d4f}.health-card .hc-value.normal{color:#6b9e4f}.health-alert{background:linear-gradient(135deg,#fff1f0,#ffe8e6);border:1px solid #ffa3a4;border-radius:14px;padding:14px;margin-bottom:14px}.health-alert .ha-title{font-size:14px;font-weight:600;color:#ff4d4f;display:flex;align-items:center;gap:6px;margin-bottom:8px}.health-alert .ha-items{display:flex;flex-wrap:wrap;gap:6px}.health-alert .ha-item{background:#fff;padding:4px 10px;border-radius:999px;font-size:12px;color:#ff4d4f;border:1px solid #ffd6d6}.product-conflict{background:linear-gradient(135deg,#fff7e6,#fff1e0);border:1px solid #ffd591;border-radius:12px;padding:12px;margin-bottom:12px}.product-conflict .pc-title{font-size:13px;font-weight:600;color:#d48806;margin-bottom:4px}.product-conflict .pc-desc{font-size:12px;color:#7a6e62;line-height:1.5}.lifestyle-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:8px 0}.lifestyle-item{text-align:center}.lifestyle-item .li-icon{font-size:20px;display:block;margin-bottom:2px;color:var(--brand)}.lifestyle-item .li-label{font-size:10px;color:#a89b8e}.lifestyle-item .li-stars{font-size:11px;color:#c8956c;margin-top:2px}.hs-time-tag{font-size:11px;padding:4px 10px;border-radius:999px;background:#f0ebe4;color:#7a6e62}.hs-time-tag.active{background:var(--brand);color:#fff;font-weight:600}.consti-ring{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.consti-ring .cr-inner{width:44px;height:44px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:var(--brand)}.prof-header{background:linear-gradient(135deg,var(--brand) 0%,#14503f 100%);color:#fff;padding:28px 20px 24px;text-align:center;border-radius:0 0 20px 20px;margin-bottom:14px;position:relative;overflow:hidden}.prof-header:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(200,149,108,.4),transparent)}.prof-header:after{content:"";position:absolute;right:-40px;top:-40px;width:140px;height:140px;border-radius:50%;background:#ffffff0a}.prof-header .ph-avatar{width:64px;height:64px;border-radius:50%;background:#ffffff26;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:600;margin:0 auto 12px;border:2px solid rgba(200,149,108,.3)}.prof-header .ph-name{font-size:18px;font-weight:600}.prof-header .ph-tag{display:inline-block;margin-top:6px;padding:2px 12px;background:#c8956c33;border:1px solid rgba(200,149,108,.4);color:#d4ac8a;border-radius:999px;font-size:12px}.prof-menu{background:#fff;border-radius:16px;overflow:hidden;margin-bottom:14px;box-shadow:0 2px 8px #1f6f5c0f}.prof-menu .pm-item{display:flex;align-items:center;gap:12px;padding:15px 16px;border-bottom:1px solid #f0ebe4}.prof-menu .pm-item:last-child{border-bottom:none}.prof-menu .pm-icon{width:28px;text-align:center;font-size:18px;flex-shrink:0}.prof-menu .pm-text{flex:1;font-size:14px}.prof-menu .pm-arrow{font-size:12px;color:#a89b8e}.review-metric{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f0ebe4}.review-metric:last-child{border-bottom:none}.rm-label{font-size:13px;color:#7a6e62}.rm-value{font-size:14px;font-weight:600}.review-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.rc-col{text-align:center}.rc-label{font-size:11px;color:#a89b8e;margin-bottom:6px}.rc-img{width:100%;height:100px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:32px;margin-bottom:4px;overflow:hidden;background:linear-gradient(135deg,#e8c9a8,#c8956c)}.rc-img img{width:100%;height:100%;object-fit:cover}.rc-date{font-size:11px;color:#a89b8e}.rc-arrow{align-self:center;font-size:20px;color:#a89b8e;text-align:center}.review-suggestion{background:linear-gradient(135deg,#fbf6f0,#fff);border:1px solid rgba(200,149,108,.2);border-radius:12px;padding:14px;margin-top:12px}.rs-title{font-size:13px;font-weight:600;color:#c8956c;margin-bottom:6px}.rs-content{font-size:13px;color:#444;line-height:1.6}
