:root{font-family:Arial,'Noto Sans Hebrew',sans-serif;color:#293c31;background:#f5f5f0;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer} .shell{max-width:650px;margin:auto;padding:18px 15px 115px}.top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.eyebrow{font-size:11px;letter-spacing:2px;color:#89948a;font-weight:bold}.headline{font-size:28px;font-weight:750;margin:6px 0;color:#2e4635}.muted{color:#808b81;font-size:13px}.symbol{background:#e3ebe1;padding:15px;border-radius:18px;font-size:24px}.card{background:white;border-radius:19px;padding:17px;margin:12px 0;box-shadow:0 2px 12px #283d3010}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat{background:#e8eee5;border-radius:17px;padding:17px}.stat:nth-child(2){background:#f0e8df}.stat b{font-size:30px;display:block;margin:9px 0;color:#37523d}.stat small{color:#718073}.btn{border:0;border-radius:13px;background:#496b53;color:white;padding:14px 15px;font-weight:bold}.btn:active{transform:scale(.99)}.btn.secondary{background:#e6ede4;color:#426349}.btn.outline{background:transparent;color:#426349;border:1px solid #b9cbb8}.btn.danger{background:#f9eeee;color:#a44b4b}.btn.small{padding:9px 11px;font-size:13px}.full{width:100%} .hrow{display:flex;justify-content:space-between;align-items:center;gap:9px}.title{font-size:18px;font-weight:700;margin:23px 0 9px}.pill{background:#e9efe8;border-radius:50px;color:#547359;padding:7px 10px;font-size:12px}.listrow{padding:13px 0;border-bottom:1px solid #eff0ed}.listrow:last-child{border:0} .nav{position:fixed;bottom:0;left:0;right:0;background:#ffffffed;border-top:1px solid #edf0ec;display:flex;justify-content:space-around;padding:11px max(10px,env(safe-area-inset-right)) calc(13px + env(safe-area-inset-bottom));z-index:20;backdrop-filter:blur(12px)}.nav button{background:transparent;border:0;color:#879489;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:60px;font-size:11px}.nav button.active{color:#375d40;font-weight:bold}.nav span{font-size:22px}.hidden{display:none!important}.field{width:100%;min-width:0;padding:11px 9px;border:1px solid #dae3d9;border-radius:10px;background:#fff;color:#273c2d}.field:focus{outline:2px solid #a1b9a1}.sethead,.setrow{display:grid;grid-template-columns:32px minmax(0,1fr) minmax(0,1fr) 44px;gap:8px;align-items:center;margin:9px 0}.sethead{color:#88968a;font-size:12px;text-align:center}.setrow .field{text-align:center;direction:ltr;font-size:17px}.tick{height:42px;width:42px;border:1px solid #ceddcd;background:#f6f8f5;border-radius:10px;color:#749078;font-size:23px}.tick.done{background:#4b7054;color:white;border:0}.searchbar{margin:14px 0}.exbutton{text-align:right;width:100%;border:0;background:#f6f8f5;padding:14px;border-radius:12px;margin:5px 0;display:flex;justify-content:space-between;align-items:center;color:#2e4635}.bottom-actions{display:flex;gap:8px;margin-top:14px}.bottom-actions button{flex:1}.chip{border:1px solid #d4e0d4;border-radius:50px;background:white;padding:8px 12px;color:#496b53;display:inline-block;margin:3px}.chip.active{background:#496b53;color:white}.chart{width:100%;overflow:visible}.section-title{font-size:16px;font-weight:700}.section-sub{font-size:12px;color:#7b8a7e;margin:5px 0}.empty{text-align:center;padding:24px 8px;color:#809086}.notice{background:#fff7e6;border-radius:12px;padding:12px;color:#886a37;font-size:12px;margin:12px 0}.progress-box{background:#e9efe8;padding:16px;border-radius:15px;margin:10px 0}.modal-bg{position:fixed;inset:0;background:#253c2b65;display:flex;align-items:flex-end;justify-content:center;z-index:40}.modal{background:#fbfbf8;border-radius:24px 24px 0 0;width:min(100%,650px);max-height:85vh;overflow:auto;padding:20px 16px calc(24px + env(safe-area-inset-bottom))}.spaced{margin:12px 0}label.formlabel{display:block;color:#66786b;margin:13px 0 5px;font-size:13px}.tag{font-size:12px;color:#819082}.divider{border:0;border-top:1px solid #edf0ed;margin:15px 0} .warning{color:#a44b4b}
 .filters{display:flex;flex-wrap:nowrap;gap:5px;overflow-x:auto;overflow-y:hidden;padding:8px 0 12px;scrollbar-width:thin;scrollbar-color:#cedacb transparent;-webkit-overflow-scrolling:touch} .filters .chip{white-space:nowrap;flex:0 0 auto;margin:0;font-size:12px} .exbutton{gap:8px} .exbutton .excontent{flex:1;min-width:0} .exbutton .exlabel{display:block;font-weight:700} .exbutton .extranslation{font-size:12px;color:#718a76;margin-top:3px} .fav{font-size:22px;color:#afbaa9;padding:6px 9px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;min-width:39px;min-height:39px} .fav.on{color:#95764b} .librow{display:flex;align-items:center;gap:8px} .librow .libinfo{flex:1;min-width:0} .catalogcount{font-size:12px;color:#829184;margin:3px 0 9px} .section-sub{overflow-wrap:anywhere}
 .mode-filters{margin-top:-3px} .mode-filters .chip{background:#f7f9f5}.mode-filters .chip.active{background:#496b53;color:#fff} .mode-pill{display:inline-block;border-radius:8px;padding:3px 9px;background:#eaf0e9;color:#527259;font-weight:600;font-size:11px;white-space:nowrap} .mode-pill.unknown{background:#fff0de;color:#9b6d3a}.mode-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:9px 0 12px} .mode-inline label{color:#6d7c71;font-size:12px;white-space:nowrap}.mode-select{width:auto;max-width:100%;min-width:155px;background:#f7faf5;border-color:#cedecc;padding:8px 10px;font-size:13px}.mode-hint{font-size:12px;color:#78867a;margin:6px 0 0}.mode-choice{width:100%;text-align:right;margin:5px 0;padding:15px 13px;background:#fff;border:1px solid #d8e5d9;border-radius:13px;color:#2e5136;font-weight:bold;font-size:16px}.mode-choice:active{background:#e6efe4}

 /* Optional Zepp FIT insights */
 .watch-card{border:1px solid #dce9dc;background:#fbfdfb;border-radius:17px;padding:15px;margin:14px 0}
 .watch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
 .watch-metric{background:#eef3ec;border-radius:13px;padding:12px 10px;min-width:0}
 .watch-metric strong{font-size:23px;display:block;color:#385c43;direction:ltr;text-align:right}
 .watch-metric span{font-size:12px;color:#69816c;display:block;margin-top:3px}
 .watch-title{font-size:16px;font-weight:700;color:#36563c;margin:3px 0 6px}
 .watch-chart{width:100%;height:auto;display:block;max-height:220px}
 .watch-help{color:#728273;font-size:12px;line-height:1.7}
 .watch-import{border:1px dashed #b7cdb9;background:#f1f6f0;border-radius:15px;padding:13px;margin:10px 0}
 .watch-chip{display:inline-block;border-radius:50px;background:#deecdd;padding:3px 8px;color:#4d7252;font-size:11px}
