:root{color:#28312d;font-synthesis:none;background:#f6f7f4;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{background:#f6f7f4;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.58}a{color:inherit;text-decoration:none}.app{max-width:720px;min-height:100dvh;margin:0 auto;padding:30px 20px 100px}.top{justify-content:space-between;align-items:flex-start;margin:3px 0 22px;display:flex}.top h1,.profile h1{color:#1c2821;letter-spacing:-.8px;margin:0;font-size:27px;line-height:1.15}.top p,.profile p,.me-user p{color:#87918b;margin:7px 0 0;font-size:13px}.primary,.soft,.disabled{border-radius:13px;padding:13px 18px;font-size:14px;font-weight:700}.primary{color:#fff;background:#235c43;box-shadow:0 6px 16px #235c4326}.primary:hover{background:#1c4c37}.soft{color:#285640;background:#e8eee9}.disabled{color:#959c97;background:#eceeec}.mini{border-radius:10px;padding:9px 12px;font-size:13px}.full{justify-content:center;width:100%}.round{width:40px;height:40px;padding:0;font-size:22px}.tabbar{z-index:10;width:min(100%,720px);height:72px;padding-bottom:env(safe-area-inset-bottom);background:#fffefc;border-top:1px solid #e9ece7;justify-content:space-around;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tabbar a{color:#909a94;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:25%;font-size:11px;display:flex}.tabbar b{font-size:19px;font-weight:500;line-height:16px}.tabbar .active{color:#235c43;font-weight:800}.stats-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:17px;display:grid}.stats-grid article{background:#fff;border-radius:16px;padding:16px 12px;box-shadow:0 3px 16px #3345280a}.stats-grid span{color:#738078;font-size:12px;display:block}.stats-grid strong{color:#1c3025;margin-top:5px;font-size:28px;display:block}.stats-grid article:nth-child(2){background:#eef5ef}.stats-grid article:nth-child(3){background:#fbf1e6}.search-link{color:#76827a;background:#fff;border:1px solid #edf0eb;border-radius:13px;margin:13px 0 12px;padding:15px;font-size:14px;display:block}.quick{grid-template-columns:1fr 1fr;gap:11px;margin:14px 0 27px;display:grid}.list-section{margin:25px 0}.section-title{justify-content:space-between;align-items:center;display:flex}.section-title a{color:#2d7956;font-size:13px}.list-section h2,.section-title h2,.remark h2{color:#223329;margin:0 0 13px;font-size:17px}.visit-card{background:#fff;border-radius:15px;align-items:center;gap:11px;margin:8px 0;padding:13px;display:flex;box-shadow:0 3px 15px #425e3107}.visit-card strong,.customer-card strong,.product-card strong{font-size:15px}.visit-card p,.customer-card p,.product-card p{color:#7a8580;margin:4px 0 0;font-size:12px}.visit-card time{color:#6e7d74;margin-left:auto;font-size:13px}.avatar{color:#536259;border-radius:13px;flex:0 0 40px;place-items:center;width:40px;height:40px;font-style:normal;font-weight:700;display:grid}.empty{text-align:center;color:#8b948e;margin:38px 0;font-size:14px;line-height:2}.error-card{color:#ae4b42;background:#fff0ee;border-radius:12px;margin:10px 0;padding:12px 14px;font-size:13px}.error-card button{float:right;color:inherit;background:0 0;text-decoration:underline}.login{background:linear-gradient(145deg,#e5f0e7,#f8f5ed 68%);place-items:center;min-height:100dvh;padding:24px;display:grid}.login section{width:min(100%,390px)}.brand-mark{color:#fff;background:#235c43;border-radius:20px;place-items:center;width:58px;height:58px;font-size:25px;font-weight:700;display:grid;box-shadow:0 10px 30px #235c4333}.login h1{color:#203126;margin:20px 0 6px;font-size:30px}.login>section>p{color:#768178;margin:0 0 35px}.login form{background:#fffdfb;border-radius:22px;padding:23px;box-shadow:0 12px 36px #4b645519}.login label,.sheet-form label{color:#536159;margin-bottom:17px;font-size:13px;font-weight:700;display:block}.login input,.sheet-form input,.sheet-form textarea,.sheet-form select{color:#26342c;background:#f6f8f5;border:1px solid #0000;border-radius:11px;outline:none;width:100%;margin-top:7px;padding:13px;display:block}.login input:focus,.sheet-form input:focus,.sheet-form textarea:focus,.sheet-form select:focus{background:#fff;border-color:#75a387}.sheet-form textarea{resize:vertical;min-height:76px}.sheet-form em{color:#9aa39d;font-size:11px;font-style:normal;font-weight:500}.form-error{color:#bf534b;font-size:13px}.search{background:#fff;border-radius:14px;align-items:center;gap:8px;height:48px;padding:0 14px;display:flex;box-shadow:0 3px 16px #425e3107}.search span{color:#718076;font-size:20px}.search input{background:0 0;border:0;outline:0;flex:1;min-width:0}.customer-list{margin-top:13px}.customer-card{background:#fff;border-radius:15px;align-items:center;gap:11px;margin-bottom:8px;padding:13px;display:flex;box-shadow:0 3px 15px #425e3107}.customer-card aside{text-align:right;color:#87918b;margin-left:auto;font-size:11px}.customer-card small{margin-top:5px;display:block}.shade{z-index:50;background:#15231a77;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:min(100%,720px);max-height:90dvh;padding:17px 20px calc(24px + env(safe-area-inset-bottom));background:#fffdfb;border-radius:24px 24px 0 0;margin:auto;animation:.2s ease-out rise;overflow:auto}.sheet header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.sheet h2{margin:0;font-size:19px}.icon{color:#6d7b72;background:0 0;padding:6px;font-size:16px}.back{color:#4e6d5b;background:0 0;margin:0 0 20px;padding:0;font-size:13px}.profile{background:#fff;border-radius:18px;align-items:center;gap:12px;padding:17px;display:flex;box-shadow:0 3px 15px #425e3107}.profile .avatar{border-radius:16px;flex-basis:54px;width:54px;height:54px;font-size:20px}.profile .icon{color:#286144;margin-left:auto;font-size:12px}.profile-stats{grid-template-columns:repeat(3,1fr);padding:17px 0 8px;display:grid}.profile-stats div{border-right:1px solid #e7ebe6;padding:0 8px}.profile-stats div:first-child{padding-left:0}.profile-stats div:last-child{border:0}.profile-stats span{color:#87918b;margin-bottom:5px;font-size:11px;display:block}.profile-stats b{color:#3c4d43;font-size:13px}.product-card{background:#fff;border-radius:15px;justify-content:space-between;align-items:center;margin:8px 0;padding:14px;display:flex;box-shadow:0 3px 15px #425e3107}.product-card p b{color:#235c43;font-size:15px}.history{border-bottom:1px solid #e8ebe6;gap:13px;padding:13px 3px;font-size:14px;display:flex}.history time{color:#60776a;min-width:40px}.history small{color:#ba6258;margin-left:auto}.remark{background:#edf4ee;border-radius:15px;padding:16px}.remark h2{margin-bottom:8px}.remark p{color:#56655d;white-space:pre-line;margin:0;font-size:14px;line-height:1.6}.date-switch{background:#fff;border-radius:13px;justify-content:space-between;align-items:center;margin-bottom:14px;padding:4px;display:flex}.date-switch input{text-align:center;color:#3a5145;border:0;outline:0}.date-switch button{color:#47705a;background:0 0;width:45px;font-size:24px}.picker{border:1px solid #e3e9e3;border-radius:10px;margin-top:-11px;margin-bottom:12px;padding:5px}.picker button{text-align:left;background:#fff;border-bottom:1px solid #f0f2ef;align-items:center;gap:8px;width:100%;padding:9px;font-size:13px;display:flex}.picker .avatar{border-radius:8px;flex-basis:26px;width:26px;height:26px}.chosen{color:#386348;background:#edf5ee;border-radius:9px;margin:0 0 14px;padding:9px 11px;font-size:13px}.chosen button{float:right;color:#386348;background:0 0;text-decoration:underline}.toggle{justify-content:space-between;align-items:center;display:flex!important}.toggle input{display:none}.toggle span{background:#d8ddd9;border-radius:13px;width:44px;height:25px;position:relative}.toggle span:after{content:"";background:#fff;border-radius:50%;width:19px;height:19px;transition:all .18s;position:absolute;top:3px;left:3px}.toggle input:checked+span{background:#2f7653}.toggle input:checked+span:after{left:22px}.me-user{background:#eaf3eb;border-radius:18px;align-items:center;gap:12px;padding:18px;display:flex}.me-user i{color:#fff;background:#235c43;border-radius:15px;place-items:center;width:45px;height:45px;font-style:normal;font-weight:700;display:grid}.menu{background:#fff;border-radius:16px;margin:18px 0;overflow:hidden}.menu>a,.menu>div{border-bottom:1px solid #edf0ec;align-items:center;min-height:57px;padding:0 14px;font-size:14px;display:flex}.menu>a:last-child,.menu>div:last-child{border:0}.menu span{color:#47715a;width:33px;font-size:19px}.menu b{color:#9ba49e;margin-left:auto;font-size:19px}.menu small{color:#919a94;margin-left:auto;font-size:12px}.logout{color:#b44b47;background:#f8ebea;margin-top:8px}.period{background:#fff;border-radius:14px;align-items:center;gap:6px;margin-bottom:18px;padding:8px;display:flex}.period button{color:#40624f;background:#edf2ee;border-radius:9px;padding:8px;font-size:12px}.period label{color:#718077;align-items:center;gap:3px;min-width:0;font-size:12px;display:flex}.period input{color:#526057;border:0;outline:0;width:76px;font-size:11px}.period i{font-style:normal}.four{grid-template-columns:repeat(2,1fr)}.four article{padding:18px}.product-stat{border-bottom:1px solid #e6ebe6;justify-content:space-between;padding:14px;font-size:14px;display:flex}.product-stat b{color:#2a6848}@keyframes rise{0%{opacity:.4;transform:translateY(50px)}to{opacity:1;transform:none}}@media (width>=721px){.app{padding-top:45px}.tabbar{border-radius:18px 18px 0 0;box-shadow:0 -4px 24px #30432210}}.avatar{object-fit:cover}.thumb{object-fit:cover;border-radius:12px;flex:0 0 44px;width:44px;height:44px}.product-card>div{flex:1;min-width:0}.image-picker{margin-bottom:17px}.image-label{color:#536159;font-size:13px;font-weight:700;display:block}.image-label em{color:#9aa39d;margin-left:6px;font-size:11px;font-style:normal;font-weight:500}.image-row{align-items:center;gap:12px;margin-top:8px;display:flex}.image-thumb{object-fit:cover;border-radius:16px;flex:0 0 64px;width:64px;height:64px;display:block}.image-empty{color:#9aa39d;background:#f2f4f1;place-items:center;font-size:12px;font-style:normal;display:grid}.image-actions{flex-wrap:wrap;gap:8px;display:flex}.image-actions .soft{background:#eef2ee;border-radius:10px;padding:9px 13px;font-size:12px}.image-actions .danger{color:#b44b47;background:#f8ebea}.image-hint{color:#87918b;margin:9px 0 0;font-size:12px}.image-picker .hidden-file{display:none}.quick.three{grid-template-columns:repeat(3,1fr)}.quick.three button{padding:13px 8px;font-size:13px}.appointment-card{background:#fff;border-radius:15px;align-items:center;gap:11px;margin:8px 0;padding:13px;display:flex;box-shadow:0 3px 15px #425e3107}.appointment-card>div{flex:1;min-width:0}.appointment-card strong{font-size:15px}.appointment-card p{color:#7a8580;margin:4px 0 0;font-size:12px}.appointment-actions{flex-direction:column;flex:none;gap:6px;display:flex}.badge-arrived{color:#2d7956;background:#e8f2ea;border-radius:9px;padding:6px 10px;font-size:12px;font-weight:700}.top-actions{gap:8px;display:flex}.visit-badges{flex-wrap:wrap;gap:6px;margin-top:7px;display:flex}.badge-booking{color:#3a5aa8;background:#e8eefb;border-radius:9px;padding:4px 8px;font-size:11px;font-weight:700}.badge-cancelled{color:#8b948e;background:#f2f3f1;border-radius:9px;padding:6px 10px;font-size:12px;font-weight:700}.badge-consume{color:#a4712f;background:#fbf1e6;border-radius:9px;padding:4px 8px;font-size:11px;font-weight:700}.hint{color:#87918b;background:#f4f6f3;border-radius:10px;margin:0 0 15px;padding:9px 11px;font-size:12px;line-height:1.6}.visit-card{cursor:pointer}.visit-card time{color:#6e7d74;white-space:nowrap;margin-left:auto;font-size:13px}.appointment-card{align-items:flex-start}.appointment-actions{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.skeleton-list{margin:8px 0}.sk-card{background:#fff;border-radius:15px;align-items:center;gap:11px;margin:8px 0;padding:13px;display:flex;box-shadow:0 3px 15px #425e3107}.sk-body{flex:1;min-width:0}.sk{background:linear-gradient(90deg,#edf1ed 25%,#f8faf7 37%,#edf1ed 63%) 0 0/400% 100%;border-radius:8px;animation:1.4s ease-in-out infinite shimmer;display:block}.sk-avatar{border-radius:13px;flex:0 0 40px;width:40px;height:40px}.sk-line{width:52%;height:12px}.sk-line.short{width:36%}.sk-line.thin{width:34%;height:10px;margin-top:9px}.sk-line.tiny{width:64%;height:10px}.sk-line.big{width:44%;height:24px;margin-top:10px}.sk-meta{flex:0 0 54px;width:54px;height:10px}.sk-stat{background:#fff;border-radius:16px;padding:16px 12px;box-shadow:0 3px 16px #3345280a}@keyframes shimmer{0%{background-position:100%}to{background-position:0}}.fade-in{animation:.22s ease-out fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.loading-bar{background:linear-gradient(90deg,#235c43,#8fc4a7,#235c43) 0 0/200% 100%;border-radius:2px;height:2px;margin:10px 0 0;animation:1s linear infinite bar}@keyframes bar{0%{background-position:0}to{background-position:100%}}.sk-profile .sk-avatar{border-radius:16px;flex-basis:54px;width:54px;height:54px}.sk-profile .sk-body{margin-left:2px}.image-thumb-wrap{flex:0 0 64px;width:64px;height:64px;position:relative}.image-thumb-wrap .image-thumb{flex:none;width:100%;height:100%}.image-loading{color:#fff;letter-spacing:.5px;background:#15231ab8;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:10px;display:flex;position:absolute;inset:0}.spinner{border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.image-picker .loading-bar{margin-top:10px}.product-actions{flex-direction:column;flex:none;align-items:stretch;gap:6px;display:flex}.history{flex-wrap:wrap}.history time{white-space:nowrap;min-width:88px}
