:root{--bg:#f5f7f4;--panel:#ffffff;--ink:#17201c;--muted:#65736c;--line:#dce4de;--green:#2d7d55;--gold:#a86b12;--red:#b54242;--shadow:0 16px 40px rgba(21,37,29,.10);--shadow-strong:0 28px 80px rgba(21,37,29,.24);font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body,html{min-height:100%}body{margin:0;color:var(--ink);background:linear-gradient(180deg,rgba(45,125,85,.1),transparent 330px),var(--bg)}button,input,select{font:inherit}button{cursor:pointer}.app{max-width:1440px;margin:0 auto;padding:14px;min-height:100svh;display:grid;grid-template-rows:auto 1fr;grid-gap:10px;gap:10px}.topbar{display:grid;grid-template-columns:1fr auto;grid-gap:12px;gap:12px;align-items:center}h1{margin:0;font-size:clamp(20px,3vw,34px);line-height:1.08}.subtitle{margin:4px 0 0;color:var(--muted);font-size:13px}.auth-card,.status,section{background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.status{min-width:190px;padding:10px 12px}.status strong{display:block;font-size:30px;line-height:1;color:var(--green)}.status span{color:var(--muted);font-size:12px;white-space:nowrap}.nav{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-top:8px}.nav a,.nav button,.secondary{min-height:30px;border:1px solid var(--line);border-radius:7px;padding:0 10px;background:#fff;color:var(--muted);text-decoration:none}.nav .active,.primary{border:0;color:#fff;background:var(--green)}.primary{min-height:34px;border-radius:7px;padding:0 12px}.auth-shell{min-height:100svh;display:grid;place-items:center;padding:18px}.auth-card{width:min(420px,100%);padding:18px}.auth-card h1{font-size:26px;margin-bottom:14px}.form-grid{display:grid;grid-gap:12px;gap:12px}label{display:grid;grid-gap:5px;gap:5px;color:var(--muted);font-size:13px;min-width:0}input,select{width:100%;min-width:0;height:36px;border:1px solid #cfd9d2;border-radius:7px;padding:0 10px;background:#fbfcfb;color:var(--ink);outline:none}input[type=range]{height:18px;padding:0;border:0;accent-color:var(--green);background:transparent}.slider-label{display:flex;justify-content:space-between;gap:8px}.slider-value{color:var(--ink);font-weight:700;white-space:nowrap}.field-title{display:inline-flex;align-items:center;gap:4px;min-width:0}.message{min-height:18px;color:var(--red);font-size:13px}.profile-card{padding:12px;align-self:start}.profile-blocks{display:grid;grid-gap:12px;gap:12px}.profile-group{display:grid;grid-gap:8px;gap:8px}.profile-group h3{display:inline-flex;align-items:center;gap:4px;margin:0;font-size:14px}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.target-panel{padding-top:10px;border-top:1px solid var(--line)}.target-result{min-height:54px;display:grid;align-content:center;grid-gap:5px;gap:5px;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb}.target-result span{color:var(--muted);font-size:12px}.target-result strong{font-size:18px;line-height:1}.tracker-grid{min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-gap:10px;gap:10px}section{padding:12px;min-width:0;overflow:hidden}h2{margin:0 0 10px;font-size:16px}.section-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:10px}.tracker-head{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:8px;gap:8px;align-items:flex-start}.metric-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}.action-buttons{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.action-button{min-height:34px;border-radius:7px;padding:4px 10px;background:#f8fbf9;color:var(--ink);font-size:12px;display:grid;grid-gap:1px;gap:1px;place-items:center}.action-button span,.nav a span{display:block;line-height:1}.action-button:hover{border-color:var(--green);color:var(--green)}.metric-tab{height:28px;border:1px solid var(--line);border-radius:999px;padding:0 10px;background:#fff;color:var(--muted);white-space:nowrap;font-size:12px}.metric-tab.active{color:#fff;background:var(--green);border-color:var(--green)}.metrics-scroll{height:calc(100% - 40px);overflow:auto}.metric-groups{display:grid;grid-gap:9px;gap:9px}.metric-group{display:grid;grid-gap:6px;gap:6px}.metric-group h3{display:inline-flex;align-items:center;gap:4px;margin:0;font-size:13px;color:var(--ink);line-height:1.1}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.progress-card{position:relative;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb}.progress-card .name{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.progress-value{display:block;margin-top:6px;font-size:17px;line-height:1;font-weight:800}.progress-meta{position:absolute;top:7px;right:7px;max-width:48%;text-overflow:ellipsis;white-space:nowrap;padding:2px 6px;background:#eef4f0;color:var(--muted);font-size:10px}.bar-track,.progress-meta{overflow:hidden;border-radius:999px}.bar-track{height:9px;margin-top:7px;background:#edf2ef}.bar-fill{height:100%;border-radius:999px;background:var(--green);transition:width .2s ease}.bar-fill.low{background:var(--red)}.bar-fill.over{background:var(--gold)}.bar-fill.neutral{background:#5f796c}.progress-card.neutral .progress-value{color:var(--ink)}.gauge-track{position:relative;height:9px;margin-top:7px;border-radius:999px;background:#edf2ef}.gauge-zone{position:absolute;top:0;bottom:0;border-radius:999px;background:rgba(45,125,85,.3)}.gauge-dot{position:absolute;top:50%;width:13px;height:13px;border-radius:50%;border:2px solid #fff;transform:translate(-50%,-50%);box-shadow:0 1px 4px rgba(0,0,0,.25)}.gauge-dot.ok{background:var(--green)}.gauge-dot.warn{background:var(--gold)}.help-wrap{position:relative;display:inline-flex;align-items:center}.help-button{width:15px;height:15px;padding:0;border:1px solid #b9c7bf;border-radius:50%;background:#fff;color:var(--muted);font-size:10px;line-height:13px;text-align:center}.help-modal{position:fixed;left:50%;top:50%;z-index:40;width:min(320px,calc(100vw - 24px));display:grid;grid-gap:9px;gap:9px;padding:13px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);box-shadow:0 24px 70px rgba(0,0,0,.22);transform:translate(-50%,-50%)}.help-title{font-size:15px;font-weight:800}.help-body{color:var(--muted);font-size:13px;line-height:1.45}.side-tools{display:grid;grid-gap:10px;gap:10px;align-content:start;overflow:auto}.record-grid,.tool-grid{display:grid;grid-gap:8px;gap:8px}.food-list{display:grid;grid-gap:6px;gap:6px;max-height:220px;overflow:auto}.food-row{display:grid;grid-template-columns:1fr auto auto;grid-gap:8px;gap:8px;align-items:center;padding:7px;border:1px solid var(--line);border-radius:7px;background:#fbfcfb;font-size:13px}.modal-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:14px;background:rgba(23,32,28,.34);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.entry-modal{width:min(520px,100%);max-height:min(86svh,720px);overflow:auto;display:grid;grid-gap:14px;gap:14px;padding:16px;border:1px solid rgba(255,255,255,.55);border-radius:12px;background:#ffffff;box-shadow:var(--shadow-strong)}.entry-modal.wide{width:min(680px,100%)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.modal-head h2{margin:0;font-size:18px}.modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.modal-grid.single{grid-template-columns:1fr}.modal-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:flex-end}.category-list,.item-list{display:grid;grid-gap:10px;gap:10px;max-height:min(58svh,500px);overflow:auto;padding-right:2px}.category-section{display:grid;grid-gap:6px;gap:6px}.category-section h3{margin:0;font-size:13px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.food-card{display:grid;grid-gap:7px;gap:7px;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb;min-width:0}.food-card.active{border-color:rgba(45,125,85,.55);background:#f3faf6}.food-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;min-width:0}.food-card-title strong{font-size:12px;line-height:1.15;overflow-wrap:anywhere}.food-card-title span{color:var(--muted);font-size:11px;white-space:nowrap}.macro-fill{height:7px;display:flex;overflow:hidden;border-radius:999px;background:#edf2ef}.macro-fill .p,.macro-legend .p{background:#2d7dff}.macro-fill .f,.macro-legend .f{background:#e3a322}.macro-fill .c,.macro-legend .c{background:#2d9d62}.macro-legend{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:12px}.macro-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.unit-note{font-weight:800}.exercise-meta{font-size:11px}.quantity-item{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb}.quantity-item.active{border-color:rgba(45,125,85,.55);background:#f3faf6}.quantity-info{display:grid;grid-gap:3px;gap:3px;min-width:0}.quantity-info strong{font-size:13px;line-height:1.15}.quantity-info span{color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-stepper{display:grid;grid-template-columns:30px minmax(0,1fr) 30px auto;grid-gap:5px;gap:5px}.mini-stepper span{color:var(--muted);font-size:11px;min-width:28px}.modal-save{justify-self:end;min-width:120px}.record-summary{display:flex;flex-wrap:wrap;gap:6px}.task-list{display:grid;grid-gap:6px;gap:6px}.task-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;grid-gap:6px;gap:6px;align-items:center;padding:7px;border:1px solid var(--line);border-radius:7px;background:#fbfcfb;font-size:12px}.task-row.done{opacity:.62}.smart-columns{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px;max-height:58svh;overflow:auto}.smart-columns h3{margin:0 0 6px;font-size:13px}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.check-card{gap:6px;padding:7px;border:1px solid var(--line);border-radius:7px;background:#fbfcfb;color:var(--ink);font-size:12px}.record-summary span{padding:5px 8px;border-radius:999px;background:#eef4f0;color:var(--muted);font-size:12px}.modal-records{max-height:420px}.stepper{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;grid-gap:8px;gap:8px;align-items:center}.stepper-btn{height:38px;border:1px solid var(--line);border-radius:8px;background:#f8fbf9;color:var(--green);font-size:20px;font-weight:800}.stepper-input{height:38px}.muted{color:var(--muted)}@media (max-width:720px){.app{height:100svh;padding:5px 5px max(5px,env(safe-area-inset-bottom));grid-template-rows:auto 1fr}.topbar{grid-template-columns:1fr 108px;gap:6px}h1{font-size:16px}.subtitle{display:none}.status{min-width:0;padding:6px;box-shadow:none}.status strong{font-size:22px}.status span{display:block;font-size:10px;line-height:1.1}.nav{margin-top:4px;gap:4px;font-size:11px}.profile-blocks{gap:6px}.profile-group{gap:4px}.profile-group h3{font-size:11px}.profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.target-panel{padding-top:5px}.target-result{min-height:35px;padding:5px;gap:2px}.target-result span{font-size:9px}.target-result strong{font-size:12px}.tracker-grid{height:100%;grid-template-columns:1fr;gap:6px}.profile-card,section{padding:6px;box-shadow:none}h2{font-size:12px;margin-bottom:5px}label{gap:2px;font-size:9px}input,select{height:23px;padding:0 5px;font-size:11px}input[type=range]{height:12px}.tracker-head{grid-template-columns:1fr;gap:3px;margin-bottom:3px}.metric-tabs{gap:4px;padding-bottom:2px}.action-buttons{justify-content:stretch;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:4px;gap:4px}.action-button{height:22px;padding:0 4px;font-size:9px}.metric-tab{height:22px;padding:0 7px;font-size:9px}.metrics-scroll{height:calc(100% - 50px)}.metric-groups{gap:5px}.metric-group{gap:3px}.metric-group h3{font-size:10px}.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.progress-card{padding:5px}.progress-card .name{font-size:10px}.progress-card .name span:last-child{display:none}.progress-value{margin-top:3px;font-size:12px}.progress-meta{top:4px;right:4px;max-width:48%;padding:1px 5px;font-size:8px}.bar-track,.gauge-track{height:5px;margin-top:3px}.gauge-dot{width:10px;height:10px}.help-button{width:13px;height:13px;font-size:9px;line-height:11px}.help-modal{width:calc(100vw - 18px);padding:10px}.side-tools{gap:4px;overflow:visible}.record-grid,.tool-grid{grid-template-columns:minmax(0,1fr) minmax(0,.74fr);gap:4px}.record-grid .primary{grid-column:2}.food-list{display:grid;max-height:86px;overflow:auto}.food-row{grid-template-columns:minmax(0,1fr) auto auto;padding:4px;gap:4px;font-size:10px}.food-row .secondary{min-height:20px;padding:0 6px}.entry-modal{width:calc(100vw - 14px);max-height:calc(100svh - 14px);padding:10px;gap:9px;border-radius:10px}.modal-head h2{font-size:14px}.modal-grid{grid-template-columns:1fr;gap:8px}.modal-toolbar{grid-template-columns:1fr;gap:5px}.item-list{max-height:62svh;gap:6px}.quantity-item{grid-template-columns:1fr;gap:6px;padding:7px}.quantity-info strong{font-size:11px}.quantity-info span{font-size:9px}.mini-stepper{grid-template-columns:34px minmax(0,1fr) 34px 26px;gap:5px}.modal-save{width:100%}.stepper{grid-template-columns:36px minmax(0,1fr) 36px;gap:6px}.stepper-btn,.stepper-input{height:32px}.modal-records{max-height:60svh}.nav{position:fixed;left:0;right:0;bottom:0;z-index:25;margin:0;padding:5px max(5px,env(safe-area-inset-left)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-right));background:rgba(255,255,255,.96);border-top:1px solid var(--line);justify-content:stretch;grid-template-columns:repeat(2,minmax(0,1fr))}.nav,.nav a{display:grid}.nav a{place-items:center;grid-gap:1px;gap:1px;padding:2px 4px;min-height:34px;font-size:10px}.action-buttons{position:fixed;left:0;right:0;bottom:calc(45px + env(safe-area-inset-bottom));z-index:24;padding:4px 5px;background:rgba(255,255,255,.96);border-top:1px solid var(--line);grid-template-columns:repeat(5,minmax(0,1fr))}.app{padding-bottom:calc(88px + env(safe-area-inset-bottom))}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.food-card{padding:6px;gap:5px}.food-card-title strong{font-size:10px}.exercise-meta,.food-card-title span,.macro-legend{font-size:9px}.smart-columns{grid-template-columns:1fr}.check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-row{grid-template-columns:minmax(0,1fr) auto;font-size:10px}.task-row button{min-height:22px}}.status-panel{display:flex;align-items:stretch;justify-content:flex-end;gap:8px;min-width:0}.inline-message{margin-top:4px}.nav{margin-top:0;gap:6px;align-items:stretch}.nav a,.nav button{min-width:54px;min-height:54px;padding:4px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:1.1;text-align:center;border:1px solid var(--line)}.nav .active{border-color:var(--green)}.tracker-head{display:flex;justify-content:flex-end;margin-bottom:6px}.action-buttons{align-items:stretch}.action-button{min-width:54px;min-height:38px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:1.1;text-align:center;border:1px solid var(--line)}.metrics-scroll{height:calc(100% - 44px)}.entry-modal{width:min(560px,calc(100vw - 24px));max-height:calc(100svh - 24px);gap:10px;padding:14px}.entry-modal.wide{width:min(980px,calc(100vw - 24px))}.category-list,.item-list{max-height:min(66svh,620px);gap:8px}.card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.food-card{gap:5px;padding:7px}.food-card-title strong{font-size:11px}.exercise-meta,.food-card-title span{font-size:10px}.macro-fill{height:6px}.mini-stepper{grid-template-columns:26px minmax(38px,1fr) 26px 18px;gap:4px}.mini-stepper span{min-width:0;font-size:10px}.stepper-btn{height:32px;border-radius:7px;font-size:18px;line-height:1}.stepper-input{height:32px;padding:0 3px;text-align:center;font-weight:800;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.stepper-input::-webkit-inner-spin-button,.stepper-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.smart-columns{max-height:min(66svh,620px);gap:10px}.check-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.check-card{position:relative;min-height:30px;padding:5px 6px;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.15;overflow:hidden}.check-card input{position:absolute;inset:0;opacity:0;cursor:pointer}.check-card span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.check-card:has(input:checked){border-color:rgba(45,125,85,.6);background:#f3faf6;color:var(--green);font-weight:800}@media (max-width:720px){.app{padding:5px 5px calc(52px + env(safe-area-inset-bottom))}.topbar{grid-template-columns:minmax(0,1fr) auto;gap:5px}.status-panel{gap:4px;align-items:stretch}.status{min-width:76px;padding:5px 4px}.status strong{font-size:20px;text-align:center}.status span{display:block;white-space:normal;text-align:center;font-size:9px;line-height:1.1}.inline-message{display:none}.nav{position:static;inset:auto;z-index:auto;margin:0;padding:0;background:transparent;border-top:0;display:flex;gap:4px;justify-content:flex-end;font-size:10px}.nav a{min-width:42px;min-height:38px;padding:3px 4px;border-radius:7px}.tracker-head{margin:0}.action-buttons{position:fixed;left:0;right:0;bottom:0;z-index:24;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:4px;gap:4px;padding:5px max(5px,env(safe-area-inset-left)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-right));background:rgba(255,255,255,.97);border-top:1px solid var(--line)}.action-button{min-width:0;min-height:38px;height:auto;padding:3px 2px;font-size:10px;border-radius:7px}.metrics-scroll{height:100%}.entry-modal{max-height:calc(100svh - 8px);padding:8px;gap:7px}.entry-modal,.entry-modal.wide{width:calc(100vw - 8px)}.modal-backdrop{padding:4px}.modal-head h2{font-size:13px}.modal-head .secondary{min-height:28px;padding:0 8px}.category-list,.item-list{max-height:70svh;gap:6px}.category-section{gap:4px}.category-section h3{font-size:11px}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.food-card{padding:5px;gap:4px}.food-card-title{gap:4px}.food-card-title strong{font-size:10px;line-height:1.1}.exercise-meta,.food-card-title span,.macro-legend{font-size:8px}.macro-fill{height:5px}.mini-stepper{grid-template-columns:24px minmax(30px,1fr) 24px 0;gap:3px}.mini-stepper span{display:none}.stepper-btn{height:28px;font-size:16px;padding:0}.stepper-input{height:28px;font-size:11px;padding:0 2px}.modal-toolbar{gap:4px}.macro-legend,.modal-toolbar .muted,.unit-note{font-size:10px}.smart-columns{grid-template-columns:1fr;max-height:70svh;gap:8px}.check-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.check-card{min-height:27px;padding:4px 5px;font-size:10px}}.combined-log{display:grid;grid-template-columns:minmax(260px,.55fr) minmax(0,1fr);grid-gap:12px;gap:12px;min-height:0}.entry-panel,.record-panel{min-width:0;min-height:0;display:grid;align-content:start;grid-gap:8px;gap:8px}.record-panel{border-right:1px solid var(--line);padding-right:12px}.entry-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.entry-tab{min-height:34px;border:1px solid var(--line);border-radius:7px;background:#f8fbf9;color:var(--muted);font-weight:800;text-align:center}.entry-tab.active{border-color:var(--green);background:var(--green);color:#fff}.compact-list{max-height:min(62svh,560px)}.water-panel{display:grid;grid-gap:10px;gap:10px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb}.combined-log .modal-save{justify-self:stretch}@media (max-width:720px){.combined-log{grid-template-columns:1fr;gap:8px}.record-panel{border-right:0;border-bottom:1px solid var(--line);padding-right:0;padding-bottom:7px}.record-panel .record-summary{gap:4px}.record-panel .record-summary span{font-size:10px;padding:4px 6px}.modal-records{max-height:24svh}.entry-tabs{gap:4px}.entry-tab{min-height:30px;font-size:11px}.compact-list{max-height:42svh}.water-panel{padding:7px}}.entry-jump-tabs{position:-webkit-sticky;position:sticky;top:0;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px;padding-bottom:4px;background:#fff}.entry-scroll{display:grid;grid-gap:12px;gap:12px;max-height:min(62svh,560px);overflow:auto;scroll-behavior:smooth;padding-right:2px}.entry-section{display:grid;grid-gap:7px;gap:7px;scroll-margin-top:44px}.inline-list{max-height:none;overflow:visible}.entry-section+.entry-section{padding-top:10px;border-top:1px solid var(--line)}@media (min-width:721px){.action-buttons{display:grid;grid-template-columns:repeat(2,minmax(72px,1fr))}}@media (max-width:720px){.action-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-jump-tabs{gap:4px}.entry-scroll{max-height:42svh;gap:9px}.entry-section{scroll-margin-top:38px}}@media (min-width:721px){.status-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch}.status-panel .nav{display:grid;grid-template-columns:repeat(2,minmax(62px,1fr))}.tracker-head{display:none}.metrics-scroll{height:100%}}@media (max-width:720px){.app{padding-bottom:calc(52px + env(safe-area-inset-bottom))}.status-panel{display:block}.status-panel .nav{position:fixed;left:0;right:0;bottom:0;z-index:35;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:4px;gap:4px;padding:5px max(5px,env(safe-area-inset-left)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-right));background:rgba(255,255,255,.97);border-top:1px solid var(--line)}.status-panel .nav a,.status-panel .nav button{min-width:0;min-height:38px;padding:3px 2px;font-size:10px;border-radius:7px}.tracker-head{display:none}.combined-log{grid-template-rows:minmax(0,42svh) minmax(0,1fr);height:calc(100svh - 58px)}.record-panel{max-height:42svh;overflow:hidden;align-content:start}.record-panel .task-list{max-height:13svh;overflow:auto}.modal-records{max-height:20svh;overflow:auto}.modal-records .food-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px;white-space:nowrap}.modal-records .food-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-records .food-row b{white-space:nowrap;font-size:10px}.modal-records .food-row .secondary{min-height:20px;padding:0 6px;font-size:10px}.entry-panel{min-height:0}.entry-scroll{max-height:none;min-height:0;overflow:auto}}.icon-close{width:30px;height:30px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--muted);font-size:20px;line-height:1;display:grid;place-items:center;padding:0}.icon-close:hover{border-color:var(--red);color:var(--red)}.confirm-backdrop{z-index:60}.confirm-modal{width:min(360px,calc(100vw - 28px));display:grid;grid-gap:12px;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow-strong)}.confirm-modal p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.confirm-actions{display:flex;justify-content:flex-end;gap:8px}.danger{min-height:34px;border:0;border-radius:7px;padding:0 14px;background:var(--red);color:#fff}.modal-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:0}.modal-toolbar>*{white-space:nowrap}.modal-toolbar .macro-legend{flex:1 1;min-width:0;overflow:hidden}.food-card-title strong em{margin-left:4px;color:var(--muted);font-style:normal;font-weight:600;font-size:10px;white-space:nowrap}.modal-records .food-row{grid-template-columns:auto minmax(0,1fr) auto auto auto}.modal-records .food-row time{color:var(--muted);font-size:11px;white-space:nowrap}.food-row.done{opacity:.62}@media (min-width:721px){.status-panel .nav{grid-template-columns:repeat(4,minmax(54px,1fr))}}@media (max-width:720px){.modal-backdrop{padding:12px;place-items:center}.entry-modal,.entry-modal.wide{width:calc(100vw - 24px);max-height:calc(100svh - 24px);border:1px solid rgba(23,32,28,.18);border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.28)}.modal-head{min-height:32px}.modal-head h2{font-size:14px}.icon-close{width:28px;height:28px;font-size:18px}.combined-log{height:calc(100svh - 82px);grid-template-rows:minmax(0,40svh) minmax(0,1fr)}.record-panel{max-height:40svh}.modal-records{max-height:22svh}.modal-records .food-row{grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:3px}.modal-records .food-row b,.modal-records .food-row time{font-size:9px}.modal-toolbar{gap:5px;overflow:hidden}.modal-toolbar .macro-legend,.modal-toolbar .muted,.modal-toolbar .unit-note{font-size:9px}.modal-toolbar .macro-legend i{width:7px;height:7px}}.loading-card{text-align:center;color:var(--muted);font-weight:800}.mini-stepper .stepper-btn,.mini-stepper .stepper-input,.stepper-btn,.stepper-input{display:grid;place-items:center;text-align:center;line-height:1}.mini-stepper{align-items:center}.stepper-input{display:block;line-height:normal}@media (min-width:721px){.mini-stepper{grid-template-columns:30px minmax(44px,1fr) 30px 0}.mini-stepper span{display:none}}@media (max-width:720px){.modal-backdrop{padding:24px 14px calc(64px + env(safe-area-inset-bottom));place-items:center}.entry-modal,.entry-modal.wide{width:calc(100vw - 28px);max-height:calc(100dvh - 96px - env(safe-area-inset-bottom));overflow:hidden;border:1px solid rgba(23,32,28,.26);border-radius:14px}.entry-modal>:not(.modal-head){min-height:0}.combined-log{height:auto;max-height:calc(100dvh - 148px - env(safe-area-inset-bottom));grid-template-rows:minmax(0,30svh) minmax(0,1fr);overflow:hidden}.record-panel{max-height:30svh;overflow:hidden}.modal-records{max-height:17svh;overflow:auto}.entry-panel{overflow:hidden}.entry-scroll{max-height:calc(100dvh - 260px - env(safe-area-inset-bottom));overflow:auto}.smart-columns{max-height:calc(100dvh - 210px - env(safe-area-inset-bottom));overflow:auto}.confirm-modal{max-height:calc(100dvh - 96px)}.modal-backdrop{padding:28px 14px calc(76px + env(safe-area-inset-bottom))}.entry-modal,.entry-modal.wide{width:calc(100vw - 32px);max-height:calc(100dvh - 124px - env(safe-area-inset-bottom))}.combined-log{max-height:calc(100dvh - 178px - env(safe-area-inset-bottom));grid-template-rows:minmax(0,28svh) minmax(0,1fr)}.record-panel{max-height:28svh}.modal-records{max-height:15svh}.entry-scroll{max-height:calc(100dvh - 310px - env(safe-area-inset-bottom))}.smart-columns{max-height:calc(100dvh - 246px - env(safe-area-inset-bottom))}}.app-pending{min-height:100svh}.inline-message,.message{display:none!important}body,html{width:100%;max-width:100%;overflow-x:hidden}body{overscroll-behavior-x:none}@media (max-width:720px){body,html{height:100%;overflow:hidden;position:fixed;inset:0}body{overscroll-behavior:none;touch-action:manipulation}body,button,input,select,textarea{-webkit-text-size-adjust:100%}input,select,textarea{font-size:16px}.app,.auth-shell{width:100vw;max-width:none;height:100dvh;min-height:0;overflow:hidden;margin:0}.app{grid-template-rows:auto minmax(0,1fr);padding:max(5px,env(safe-area-inset-top)) 5px calc(52px + env(safe-area-inset-bottom));gap:5px}.profile-card,.topbar,.tracker-grid,.tracker-grid>section,header{min-width:0;max-width:100%}.topbar,.topbar h1{overflow:hidden}.topbar h1{max-width:100%;text-overflow:ellipsis;white-space:nowrap}.tracker-grid,.tracker-grid>section{height:100%;min-height:0;overflow:hidden}.metrics-scroll,.profile-card{height:100%;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.summary-grid{width:100%}.auth-card,.food-card,.progress-card,.status,.target-result{min-width:0}.modal-backdrop{position:fixed;inset:0;overflow:hidden;overscroll-behavior:none}.confirm-modal,.entry-modal,.entry-modal.wide{overflow:hidden;max-width:calc(100vw - 32px)}.entry-scroll,.modal-records,.record-panel,.smart-columns{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.stepper-input{font-size:16px;transform:scale(.72);transform-origin:center}}.profile-actions{display:flex;justify-content:flex-end}.categorized-smart{align-items:start}.categorized-smart>.category-list{max-height:min(66svh,620px);overflow:auto}@media (max-width:720px){body{font-size:13px}h1{font-size:17px}h2{display:none}.profile-card{padding:8px 8px calc(54px + env(safe-area-inset-bottom))}.category-section h3,.metric-group h3,.profile-group h3{font-size:12px}label{font-size:11px}.slider-value,.target-result strong{font-size:13px}.food-card-title strong,.progress-card .name,.quantity-info strong,.record-summary span,.target-result span{font-size:11px}.progress-value{font-size:13px}.progress-meta{font-size:9px}.entry-tab,.nav a,.nav button,.primary,.secondary,.status-panel .nav a,.status-panel .nav button{font-size:11px}.status strong{font-size:22px}.food-card-title span,.food-card-title strong em,.modal-records .food-row b,.modal-records .food-row time,.modal-toolbar .macro-legend,.modal-toolbar .muted,.modal-toolbar .unit-note,.status span{font-size:10px}.profile-actions{position:-webkit-sticky;position:sticky;bottom:0;z-index:3;margin:6px -8px calc(-54px - env(safe-area-inset-bottom));padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid var(--line)}.profile-actions .primary{width:100%;min-height:38px}.smart-columns.categorized-smart{grid-template-columns:1fr;max-height:calc(100dvh - 246px - env(safe-area-inset-bottom));overflow:auto;gap:10px}.categorized-smart>.category-list{max-height:none;overflow:visible}.check-card{font-size:11px;min-height:30px}.card-grid,.check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.log-top{grid-column:1/-1;display:flex;justify-content:space-between;gap:10px;min-width:0}.log-top h3{margin:0;font-size:15px;white-space:nowrap}.log-top .entry-jump-tabs{position:static;flex:1 1;max-width:320px;padding-bottom:0;background:transparent}.entry-modal .modal-save,.entry-modal .primary{min-height:38px;border-radius:8px;font-weight:800;display:grid;place-items:center;text-align:center}.entry-modal .modal-save{width:100%}@media (max-width:720px){.log-top h3{font-size:13px}.log-top{gap:6px}.log-top .entry-jump-tabs{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr))}.combined-log{grid-template-rows:auto auto minmax(0,1fr)!important}.record-panel{max-height:none!important;overflow:visible!important}.modal-records{max-height:16svh!important}.entry-scroll{max-height:calc(100dvh - 280px - env(safe-area-inset-bottom))!important}}.entry-modal{position:relative}.modal-head{justify-content:flex-start;padding-right:38px}.modal-head .icon-close{position:absolute;top:10px;right:10px;z-index:3}.log-top{justify-content:flex-start}.log-top .entry-jump-tabs{display:none}.entry-panel>.entry-jump-tabs{position:-webkit-sticky;position:sticky;top:0;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px;padding-bottom:5px;background:#fff}@media (max-width:720px){.modal-head .icon-close{top:8px;right:8px}.combined-log{grid-template-rows:auto auto minmax(0,1fr)!important}}.combined-log{gap:8px}.log-top{margin:0;padding:0;align-items:center}.log-top .record-summary{margin:0;justify-content:flex-end;flex:1 1;min-width:0}.record-panel{padding-top:0}@media (max-width:720px){.entry-modal{gap:6px}.combined-log{gap:5px}.log-top{gap:6px}.log-top h3{font-size:13px}.log-top .record-summary{display:flex;flex-wrap:nowrap;overflow:hidden}.log-top .record-summary span{font-size:9px;padding:3px 5px;white-space:nowrap}}.entry-modal{padding-top:12px;padding-bottom:18px}.entry-modal .modal-head{position:absolute;inset:8px 8px auto 8px;min-height:0;height:0;padding:0;z-index:4;pointer-events:none}.entry-modal .modal-head h2{position:absolute;left:8px;top:4px;max-width:calc(100% - 58px);pointer-events:none}.entry-modal .modal-head .icon-close{top:0;right:0;pointer-events:auto}.entry-modal>.modal-head+*{margin-top:28px}.entry-modal .modal-save{margin-bottom:8px}.clear-plan{min-height:25px;border:1px solid rgba(181,66,66,.28);border-radius:999px;padding:0 9px;background:#fff7f7;color:var(--red);font-size:11px;font-weight:800;white-space:nowrap}.clear-plan:disabled{opacity:.55}@media (max-width:720px){.entry-modal{padding-top:9px;padding-bottom:14px}.entry-modal .modal-head{inset:7px 7px auto 7px}.entry-modal .modal-head h2{left:5px;top:4px}.entry-modal>.modal-head+*{margin-top:24px}.entry-modal .modal-save{margin-bottom:10px}.clear-plan{min-height:22px;padding:0 6px;font-size:9px}}.smart-columns.categorized-smart{min-height:0;max-height:min(64svh,560px);overflow:auto;padding:0 2px 4px 0}.smart-columns.categorized-smart .category-list{max-height:none;overflow:visible;align-content:start}.smart-columns.categorized-smart+.modal-save{position:-webkit-sticky;position:sticky;bottom:0;z-index:2;margin-top:4px;margin-bottom:0}@media (max-width:720px){.smart-columns.categorized-smart{max-height:calc(100dvh - 238px - env(safe-area-inset-bottom));gap:6px}.smart-columns.categorized-smart+.modal-save{min-height:36px;margin-top:3px;margin-bottom:0}.entry-modal:has(.categorized-smart){display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}}.entry-modal:has(.categorized-smart)>:not(.modal-head){margin-top:0}.entry-modal:has(.categorized-smart)>.modal-head+*{margin-top:28px}@media (max-width:720px){.entry-modal:has(.categorized-smart)>:not(.modal-head){margin-top:0}.entry-modal:has(.categorized-smart)>.modal-head+*{margin-top:22px}.entry-modal:has(.categorized-smart) .record-summary{margin-bottom:0}.smart-columns.categorized-smart{max-height:calc(100dvh - 210px - env(safe-area-inset-bottom));padding-bottom:2px}}.smart-columns.categorized-smart{padding-bottom:52px;scroll-padding-bottom:58px}.smart-columns.categorized-smart+.modal-save{align-self:end;box-shadow:0 -8px 18px rgba(255,255,255,.92)}@media (max-width:720px){.smart-columns.categorized-smart{padding-bottom:54px!important;scroll-padding-bottom:62px}.smart-columns.categorized-smart+.modal-save{position:relative;bottom:auto;margin-top:0;box-shadow:none}.entry-modal:has(.categorized-smart){grid-template-rows:auto auto minmax(0,1fr) auto;row-gap:6px}}.limit-card .progress-value{color:var(--ink)}.limit-track{background:linear-gradient(90deg,rgba(45,125,85,.16),rgba(168,107,18,.18) 75%,rgba(181,66,66,.22))}.bar-fill.safe{background:#7fb89a}.bar-fill.warn{background:var(--gold)}.bar-fill.over{background:var(--red)}.limit-gauge{position:relative;height:11px;margin-top:8px;border-radius:999px;background:linear-gradient(90deg,#b9dcc8 0 70%,#e9cd82 70% 90%,#d88989 90% 100%);box-shadow:inset 0 0 0 1px rgba(23,32,28,.08)}.limit-zone{position:absolute;top:0;bottom:0;border-right:1px solid rgba(255,255,255,.72)}.safe-zone{left:0;width:70%}.warn-zone{left:70%;width:20%}.danger-zone{left:90%;width:10%;border-right:0}.limit-dot{position:absolute;top:50%;width:15px;height:15px;border:2px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 1px 5px rgba(0,0,0,.28)}.limit-dot.safe{background:var(--green)}.limit-dot.warn{background:var(--gold)}.limit-dot.over{background:var(--red)}.limit-scale{display:flex;justify-content:space-between;margin-top:4px;color:var(--muted);font-size:9px;line-height:1}.limit-card .bar-track{display:none}@media (max-width:720px){.limit-gauge{height:9px;margin-top:7px}.limit-dot{width:13px;height:13px}.limit-scale{font-size:8px}}.bodyfat-goal-track{position:relative;height:10px;margin-top:8px;border-radius:999px;background:#edf2ef}.bodyfat-goal-track .target-line{position:absolute;top:-4px;bottom:-4px;width:2px;border-radius:999px;background:var(--red);transform:translateX(-50%);box-shadow:0 0 0 2px rgba(255,255,255,.9)}.bodyfat-goal-card .gauge-dot{z-index:2}@media (max-width:720px){.bodyfat-goal-track{height:9px}}.energy-breakdown-card{grid-column:span 1}.energy-stack{display:flex;height:10px;margin-top:8px;overflow:hidden;border-radius:999px;background:#edf2ef}.energy-stack span{height:100%}.energy-parts .bmr,.energy-stack .bmr{background:#5f796c}.energy-parts .activity,.energy-stack .activity{background:#2d7d55}.energy-parts .exercise,.energy-stack .exercise{background:#e3a322}.energy-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:4px;gap:4px;margin-top:7px;color:var(--muted);font-size:10px}.energy-parts span{display:inline-flex;align-items:center;gap:4px;min-width:0;white-space:nowrap}.energy-parts i{width:8px;height:8px;border-radius:50%;flex:0 0 auto}@media (max-width:720px){.energy-parts{font-size:8px;gap:2px}.energy-parts i{width:7px;height:7px}}.energy-balance-gauge{position:relative;height:10px;margin-top:8px;overflow:visible;border-radius:999px;background:linear-gradient(90deg,#c9d6df 0 38%,#9fd0b3 38% 62%,#a9c8de 62% 100%);box-shadow:inset 0 0 0 1px rgba(23,32,28,.08)}.energy-balance-gauge>span:not(.target-line):not(.energy-dot){position:absolute;top:0;bottom:0;border-right:1px solid rgba(255,255,255,.72)}.energy-balance-gauge .deficit-zone{left:0;width:38%}.energy-balance-gauge .maintain-zone{left:38%;width:24%}.energy-balance-gauge .surplus-zone{left:62%;width:38%;border-right:0!important}.energy-balance-gauge .target-line{position:absolute;top:-4px;bottom:-4px;width:2px;border-radius:999px;background:#2d7d55;transform:translateX(-50%);box-shadow:0 0 0 2px rgba(255,255,255,.9)}.energy-dot{position:absolute;top:50%;width:15px;height:15px;border:2px solid #fff;border-radius:50%;background:#17201c;transform:translate(-50%,-50%);box-shadow:0 1px 5px rgba(0,0,0,.28)}.energy-scale{display:flex;justify-content:space-between;margin-top:4px;color:var(--muted);font-size:9px;line-height:1}@media (max-width:720px){.energy-balance-gauge{height:9px}.energy-dot{width:13px;height:13px}.energy-scale{font-size:8px}}.energy-stack{display:none}.energy-balance-gauge.single{margin-top:8px}.energy-balance-gauge .center-line{position:absolute;top:-4px;bottom:-4px;left:50%;width:2px;border-radius:999px;background:var(--green);transform:translateX(-50%);box-shadow:0 0 0 2px rgba(255,255,255,.9)}.energy-parts.compact{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:6px}.energy-parts.compact span{justify-content:center}.energy-balance-gauge.single{display:flex;background:#edf2ef}.energy-balance-gauge.single .base-bg{background:#5f796c}.energy-balance-gauge.single .activity-bg{background:#2d7d55}.energy-balance-gauge.single .exercise-bg{background:#e3a322}.energy-dot.high,.energy-dot.low{background:var(--red)}.energy-dot.ok{background:var(--green)}.energy-scale{display:none}.energy-parts.compact i{width:7px;height:7px}.energy-balance-gauge.single{display:block;background:linear-gradient(90deg,#d7e1e7 0 38%,#bfe2cc 38% 62%,#d4e4ef 62% 100%)!important}.energy-balance-gauge.single .deficit-zone,.energy-balance-gauge.single .maintain-zone,.energy-balance-gauge.single .surplus-zone{position:absolute!important;top:0;bottom:0;height:auto;background:transparent!important}.energy-balance-gauge.single .deficit-zone{left:0;width:38%}.energy-balance-gauge.single .maintain-zone{left:38%;width:24%}.energy-balance-gauge.single .surplus-zone{left:62%;width:38%;border-right:0!important}.energy-parts.compact span{min-height:18px;padding:2px 4px;border-radius:999px;background:#f3f7f4}.energy-parts.compact span:first-child{background:rgba(95,121,108,.16);color:#40554b}.energy-parts.compact span:nth-child(2){background:rgba(45,125,85,.15);color:#2d7d55}.energy-parts.compact span:nth-child(3){background:rgba(227,163,34,.16);color:#8a5f11}.energy-parts.compact span:first-child,.energy-parts.compact span:first-child i{background:#d7e1e7!important;color:#40515b}.energy-parts.compact span:nth-child(2),.energy-parts.compact span:nth-child(2) i{background:#bfe2cc!important;color:#235f3f}.energy-parts.compact span:nth-child(3),.energy-parts.compact span:nth-child(3) i{background:#d4e4ef!important;color:#35566b}.energy-parts.compact i{box-shadow:inset 0 0 0 1px rgba(23,32,28,.08)}.energy-balance-gauge.single{display:flex!important;background:#edf2ef!important;overflow:visible}.energy-balance-gauge.single .activity-bg,.energy-balance-gauge.single .base-bg,.energy-balance-gauge.single .exercise-bg{position:static!important;height:100%;border-right:1px solid rgba(255,255,255,.72)}.energy-balance-gauge.single .base-bg{background:#d7e1e7!important;border-radius:999px 0 0 999px}.energy-balance-gauge.single .activity-bg{background:#bfe2cc!important}.energy-balance-gauge.single .exercise-bg{background:#d4e4ef!important;border-right:0;border-radius:0 999px 999px 0}.energy-parts.compact span{min-height:0;padding:0;border-radius:0}.energy-parts.compact span,.energy-parts.compact span:first-child,.energy-parts.compact span:nth-child(2),.energy-parts.compact span:nth-child(3){background:transparent!important;color:var(--muted)!important}.energy-parts.compact span:first-child i{background:#d7e1e7!important}.energy-parts.compact span:nth-child(2) i{background:#bfe2cc!important}.energy-parts.compact span:nth-child(3) i{background:#d4e4ef!important}.energy-parts.compact i{display:inline-block;width:8px;height:8px;border-radius:50%;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(23,32,28,.1)}.goal-gauge,.score-gauge{position:relative;height:10px;margin-top:8px;border-radius:999px;overflow:visible;background:#edf2ef;box-shadow:inset 0 0 0 1px rgba(23,32,28,.08)}.score-gauge{background:linear-gradient(90deg,#e5b3b3 0 60%,#ead49a 60% 80%,#bfe2cc 80% 100%)}.goal-gauge{background:linear-gradient(90deg,#d7e1e7 0 42%,#bfe2cc 42% 58%,#d4e4ef 58% 100%)}.goal-dot,.score-dot{position:absolute;top:50%;width:15px;height:15px;border:2px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 1px 5px rgba(0,0,0,.28)}.goal-dot.ok,.score-dot.ok{background:var(--green)}.score-dot.warn{background:var(--gold)}.goal-dot.high,.goal-dot.low,.score-dot.low{background:var(--red)}.goal-gauge .center-line{position:absolute;top:-4px;bottom:-4px;left:50%;width:2px;border-radius:999px;background:var(--green);transform:translateX(-50%);box-shadow:0 0 0 2px rgba(255,255,255,.9)}@media (max-width:720px){.goal-gauge,.score-gauge{height:9px}.goal-dot,.score-dot{width:13px;height:13px}}.score-scale{display:flex;justify-content:space-between;margin-top:4px;color:var(--muted);font-size:9px;line-height:1}@media (max-width:720px){.score-scale{font-size:8px}}.energy-dot,.gauge-dot,.goal-dot,.limit-dot,.score-dot{width:13px!important;height:13px!important}.dot-scale,.limit-scale.dot-scale,.score-scale.dot-scale{display:flex;justify-content:space-between;gap:4px;margin-top:5px;color:var(--muted);font-size:9px;line-height:1}.dot-scale span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.dot-scale i{width:7px;height:7px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(23,32,28,.1);flex:0 0 auto}.dot-scale .safe{background:#b9dcc8}.dot-scale .warn{background:#e9cd82}.dot-scale .danger,.dot-scale .low{background:#e5b3b3}.dot-scale .mid{background:#ead49a}.dot-scale .good{background:#bfe2cc}@media (max-width:720px){.dot-scale,.limit-scale.dot-scale,.score-scale.dot-scale{font-size:8px}.dot-scale i{width:6px;height:6px}}.dot-scale,.limit-scale.dot-scale,.score-scale.dot-scale{justify-content:center!important;gap:10px!important;margin-top:7px!important}.dot-scale span{justify-content:center}.dot-scale i,.limit-scale.dot-scale i,.score-scale.dot-scale i{width:7px!important;height:7px!important;min-width:7px!important;max-width:7px!important;min-height:7px!important;max-height:7px!important;border-width:0!important;transform:none!important}@media (max-width:720px){.dot-scale,.limit-scale.dot-scale,.score-scale.dot-scale{gap:7px!important;margin-top:6px!important}.dot-scale i,.limit-scale.dot-scale i,.score-scale.dot-scale i{width:6px!important;height:6px!important;min-width:6px!important;max-width:6px!important;min-height:6px!important;max-height:6px!important}}.risk-legend,.support-legend{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin-top:7px!important;color:var(--muted)!important;font-size:10px!important}.risk-legend span,.support-legend span{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:0!important;background:transparent!important;color:var(--muted)!important;white-space:nowrap!important}.risk-legend i,.support-legend i{width:8px!important;height:8px!important;min-width:8px!important;max-width:8px!important;min-height:8px!important;max-height:8px!important;border-radius:50%!important;transform:none!important;box-shadow:inset 0 0 0 1px rgba(23,32,28,.1)!important}.risk-legend .danger{background:#e5b3b3!important}@media (max-width:720px){.risk-legend,.support-legend{font-size:8px!important;gap:2px!important}.risk-legend i,.support-legend i{width:7px!important;height:7px!important;min-width:7px!important;max-width:7px!important;min-height:7px!important;max-height:7px!important}}.risk-legend .safe{background:#b9dcc8!important}.risk-legend .warn{background:#e9cd82!important}.risk-legend .danger{background:#d88989!important}.support-legend .low{background:#e5b3b3!important}.support-legend .mid{background:#ead49a!important}.support-legend .good{background:#bfe2cc!important}.energy-parts.compact:not(.risk-legend):not(.support-legend) span:first-child i{background:#d7e1e7!important}.energy-parts.compact:not(.risk-legend):not(.support-legend) span:nth-child(2) i{background:#bfe2cc!important}.energy-parts.compact:not(.risk-legend):not(.support-legend) span:nth-child(3) i{background:#d4e4ef!important}.energy-parts.compact.risk-legend span i.safe{background:#b9dcc8!important}.energy-parts.compact.risk-legend span i.warn{background:#e9cd82!important}.energy-parts.compact.risk-legend span i.danger{background:#d88989!important}.energy-parts.compact.support-legend span i.low{background:#e5b3b3!important}.energy-parts.compact.support-legend span i.mid{background:#ead49a!important}.energy-parts.compact.support-legend span i.good{background:#bfe2cc!important}.energy-parts.compact.risk-legend span i,.energy-parts.compact.support-legend span i,.energy-parts.compact:not(.risk-legend):not(.support-legend) span i{display:block!important;width:8px!important;height:8px!important;min-width:8px!important;max-width:8px!important;min-height:8px!important;max-height:8px!important;aspect-ratio:1/1!important;padding:0!important;border:0!important;border-radius:50%!important;flex:0 0 8px!important;transform:none!important}.bodyfat-goal-track .target-line,.energy-balance-gauge .center-line,.goal-gauge .center-line{position:absolute!important;top:-4px!important;bottom:-4px!important;width:2px!important;border-radius:999px!important;background:var(--green)!important;transform:translateX(-50%)!important;box-shadow:0 0 0 2px rgba(255,255,255,.9)!important}@media (max-width:720px){.energy-parts.compact.risk-legend span i,.energy-parts.compact.support-legend span i,.energy-parts.compact:not(.risk-legend):not(.support-legend) span i{width:7px!important;height:7px!important;min-width:7px!important;max-width:7px!important;min-height:7px!important;max-height:7px!important;flex-basis:7px!important}}.energy-balance-gauge.single .center-line{position:absolute!important;left:50%!important;top:-4px!important;bottom:-4px!important;width:2px!important;min-width:2px!important;max-width:2px!important;height:auto!important;border:0!important;border-radius:999px!important;background:var(--green)!important;transform:translateX(-50%)!important;box-shadow:0 0 0 2px rgba(255,255,255,.9)!important;flex:0 0 auto!important;z-index:2!important}.entry-panel>.entry-jump-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}.sleep-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb}.sleep-panel input[type=time]{height:32px;text-align:center;padding:0 6px}@media (max-width:720px){.entry-panel>.entry-jump-tabs{gap:4px}.sleep-panel{grid-template-columns:1fr;gap:6px;padding:7px}.sleep-panel input[type=time]{height:30px}}.profile-state-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.profile-state-grid .progress-card{box-shadow:none}@media (max-width:720px){.profile-state-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.profile-state-grid .progress-card{padding:6px}}.sleep-score-track{height:9px;margin-top:7px;border-radius:999px;overflow:hidden;background:linear-gradient(90deg,#e5b3b3 0 60%,#ead49a 60% 80%,#bfe2cc 80% 100%);box-shadow:inset 0 0 0 1px rgba(23,32,28,.08)}.sleep-score-fill{height:100%;border-radius:999px;transition:width .2s ease}.sleep-score-fill.low{background:var(--red)}.sleep-score-fill.mid{background:var(--gold)}.sleep-score-fill.good{background:var(--green)}@media (max-width:720px){.sleep-score-track{height:8px}}.sleep-score-track{border-radius:999px!important}@media (max-width:720px){.sleep-score-track{height:9px!important}}.history-card{display:grid;grid-gap:8px;gap:8px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow)}.history-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.history-head h3{margin:0;font-size:14px;line-height:1.2}.history-head span{color:var(--muted);font-size:12px}.score-chart{width:100%;height:118px;display:block}.chart-guide{stroke-width:1;stroke-dasharray:4 4;opacity:.7}.chart-guide.good{stroke:#bfe2cc}.chart-guide.warn{stroke:#ead49a}.score-line{fill:none;stroke:var(--green);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.score-chart circle{stroke:#fff;stroke-width:2}.score-chart circle.ok{fill:var(--green)}.score-chart circle.warn{fill:var(--gold)}.score-chart circle.low{fill:var(--red)}.history-axis,.history-breakdown{display:flex;justify-content:space-between;gap:6px;color:var(--muted);font-size:10px;line-height:1.2}.history-breakdown{flex-wrap:wrap;justify-content:flex-start}.history-breakdown span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.history-breakdown i{width:7px;height:7px;min-width:7px;border-radius:50%;display:inline-block;box-shadow:inset 0 0 0 1px rgba(23,32,28,.1)}.history-breakdown .intake{background:#bfe2cc}.history-breakdown .macro{background:#d4e4ef}.history-breakdown .risk{background:#ead49a}.history-breakdown .recovery{background:#d7e1e7}.history-breakdown .support{background:#c8d9c9}.history-empty{min-height:84px;display:grid;place-items:center;color:var(--muted);font-size:12px;border:1px dashed var(--line);border-radius:8px}@media (max-width:720px){.history-card{padding:8px;gap:6px}.score-chart{height:96px}}.score-bars{height:104px;display:grid;grid-template-columns:repeat(30,minmax(3px,1fr));align-items:flex-end;grid-gap:2px;gap:2px;padding:8px 2px 0;border-bottom:1px solid var(--line);background:linear-gradient(180deg,transparent 19%,rgba(191,226,204,.55) 20%,transparent 21%),linear-gradient(180deg,transparent 39%,rgba(234,212,154,.55) 40%,transparent 41%)}.score-bar{height:100%;min-width:0;padding:0;border:0;background:transparent;display:flex;align-items:flex-end;cursor:pointer;-webkit-tap-highlight-color:transparent}.score-bar,.score-bar span{border-radius:999px 999px 0 0}.score-bar span{width:100%;height:max(var(--score-height),4px);min-height:4px;box-shadow:inset 0 0 0 1px rgba(23,32,28,.08);transition:height .18s ease,transform .18s ease,box-shadow .18s ease}.score-bar.ok span{background:var(--green)}.score-bar.warn span{background:var(--gold)}.score-bar.low span{background:var(--red)}.score-bar.active span{transform:translateY(-3px);box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(49,117,79,.28),inset 0 0 0 1px rgba(23,32,28,.08)}.history-selected{display:grid;grid-gap:6px;gap:6px;padding-top:2px}.history-selected>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:12px}.history-selected strong{font-size:13px}.history-selected>div:first-child span{color:var(--ink);font-weight:700}@media (max-width:720px){.score-bars{height:84px;gap:1.5px;padding-top:6px}.score-bar.active span{transform:translateY(-2px);box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(49,117,79,.25),inset 0 0 0 1px rgba(23,32,28,.08)}}.score-echart{width:100%;height:198px;min-height:198px}.history-breakdown .total{background:#31754f}@media (max-width:720px){.score-echart{height:178px;min-height:178px}}.library-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:stretch;grid-gap:8px;gap:8px}.library-summary>div{display:grid;grid-gap:2px;gap:2px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb}.library-summary small,.library-summary span{color:var(--muted);font-size:11px}.library-summary strong{font-size:20px;line-height:1}.library-summary .secondary{min-width:72px;height:auto}.library-columns .check-card span{display:inline-flex;align-items:center;gap:4px;min-width:0}.library-columns .check-card em{color:var(--muted);font-size:9px;font-style:normal;white-space:nowrap}@media (max-width:720px){.library-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.library-summary .secondary{grid-column:1/-1;min-height:34px}.library-summary>div{padding:6px}.library-summary strong{font-size:17px}}.profile-card>.history-card{margin:12px 0;border:1px solid #cfd9d2;background:#ffffff;box-shadow:0 1px 0 rgba(23,32,28,.04),0 8px 18px rgba(23,32,28,.06)}.profile-card>.history-card:after,.profile-card>.history-card:before{content:"";display:block;height:1px;background:transparent}@media (max-width:720px){.profile-card>.history-card{margin:8px 0;border-color:#c7d2ca;box-shadow:0 1px 0 rgba(23,32,28,.05),0 5px 12px rgba(23,32,28,.06)}}.profile-card,.profile-card>.history-card{overflow:visible}@media (max-width:720px){.profile-card{overflow:visible!important}.profile-card>.history-card{padding:7px!important;gap:4px!important}.profile-card>.history-card .score-echart{height:148px!important;min-height:148px!important}.profile-card>.history-card:after,.profile-card>.history-card:before{display:none}}.macro-ratio-gauge{position:relative;height:13px;margin-top:7px;border-radius:999px;background:linear-gradient(90deg,#edf2ef 0 100%);box-shadow:inset 0 0 0 1px rgba(23,32,28,.08)}.macro-ratio-gauge .macro-zone{position:absolute;top:0;bottom:0;border-radius:999px;background:rgba(127,184,154,.42)}.macro-ratio-gauge .macro-target{position:absolute;top:-4px;bottom:-4px;width:2px;border-radius:999px;background:var(--green);transform:translateX(-50%);box-shadow:0 0 0 2px rgba(255,255,255,.9)}.macro-ratio-gauge .macro-dot{position:absolute;top:50%;width:13px;height:13px;border-radius:50%;border:2px solid #fff;transform:translate(-50%,-50%);box-shadow:0 1px 4px rgba(0,0,0,.25)}.macro-ratio-gauge .macro-dot.ok{background:var(--green)}.macro-ratio-gauge .macro-dot.warn{background:var(--gold)}.macro-ratio-gauge .macro-dot.low{background:var(--red)}.macro-ratio-legend i.range{background:rgba(127,184,154,.42)}.macro-ratio-legend i.target{background:var(--green)}.sleep-score-track{height:9px!important;margin-top:7px!important;background:#edf2ef!important;box-shadow:none!important}.sleep-score-fill{border-radius:999px!important}@media (max-width:720px){.sleep-score-track{height:5px!important;margin-top:3px!important}.profile-card{height:100%!important;min-height:0!important;overflow:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.profile-card>.history-card{overflow:hidden!important}}.library-summary .secondary{display:inline-grid;place-items:center;border-color:var(--green);background:var(--green);color:#fff;font-weight:800;box-shadow:0 6px 14px rgba(45,125,85,.18)}.library-summary .secondary:hover{filter:brightness(.96)}@media (max-width:720px){.library-summary .secondary{min-height:36px;border-radius:8px}}@media (min-width:721px){body,html{height:auto!important;min-height:100%!important;overflow-y:auto!important;position:static!important}.app{min-height:100svh!important}.app,.profile-card{height:auto!important;overflow:visible!important}.profile-card{max-height:none!important}}@media (max-width:720px){.profile-card{height:100%!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.profile-actions{position:-webkit-sticky!important;position:sticky!important;bottom:0!important;z-index:5!important;margin:10px -8px 0!important;padding:7px 8px calc(7px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.97)!important;border-top:1px solid var(--line)!important;box-shadow:0 -8px 18px rgba(23,32,28,.06)!important}}.library-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 82px!important;align-items:stretch!important}.library-summary .secondary{grid-column:auto!important;min-width:0!important;width:100%!important;min-height:100%!important;padding:0 10px!important;border-radius:8px!important}@media (max-width:720px){.library-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 64px!important;gap:5px!important}.library-summary .secondary{min-height:100%!important;padding:0 6px!important}}.help-backdrop{z-index:70;cursor:default}.help-backdrop .help-modal{position:static;left:auto;top:auto;transform:none;z-index:auto;cursor:default}.help-backdrop .help-modal .secondary{justify-self:end}@media (max-width:720px){.help-backdrop{padding:10px}.help-backdrop .help-modal{width:min(340px,calc(100vw - 24px))}}.help-backdrop.modal-backdrop{position:fixed!important;inset:0!important;left:0!important;top:0!important;right:0!important;bottom:0!important;width:100vw!important;height:100vh!important;width:100dvw!important;height:100dvh!important;max-width:none!important;max-height:none!important;z-index:1000!important;display:grid!important;place-items:center!important;padding:14px!important;background:rgba(23,32,28,.34)!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important}@media (max-width:720px){.help-backdrop.modal-backdrop{padding:10px!important;position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;width:100dvw!important;height:100dvh!important;min-width:100vw!important;min-height:100vh!important;z-index:9999!important;display:grid!important;place-items:center!important;background:rgba(23,32,28,.42)!important;backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important}}body>.help-backdrop.modal-backdrop{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;width:100dvw!important;height:100dvh!important;min-width:100vw!important;min-height:100vh!important;margin:0!important;border-radius:0!important;z-index:2147483000!important;display:grid!important;place-items:center!important;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom))!important;background:rgba(23,32,28,.46)!important;backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important}@media (max-width:720px){body>.help-backdrop.modal-backdrop{left:0!important;top:0!important;right:auto!important;bottom:auto!important;width:100dvw!important;height:100dvh!important}}.recipe-week{display:grid;grid-gap:10px;gap:10px;max-height:min(66svh,620px);overflow:auto;padding-right:2px}.recipe-day{display:grid;grid-gap:6px;gap:6px;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb}.recipe-day-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:8px;gap:8px;font-size:12px}.recipe-day-head span{color:var(--muted)}.recipe-day-head b{color:var(--green);font-size:12px}.recipe-items{display:grid;grid-gap:5px;gap:5px}.recipe-item{display:grid;grid-template-columns:42px minmax(0,1fr) 52px 64px 42px;align-items:center;grid-gap:6px;gap:6px;padding:6px;border-radius:7px;background:#fff;border:1px solid rgba(220,228,222,.85);font-size:12px}.recipe-item strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recipe-role{display:inline-grid;place-items:center;min-height:20px;border-radius:999px;background:#eaf3ed;color:var(--green);font-size:10px;font-weight:800}.recipe-actions{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-gap:8px;gap:8px}@media (max-width:720px){.recipe-week{max-height:calc(100dvh - 206px - env(safe-area-inset-bottom));gap:7px}.recipe-day{padding:7px;gap:5px}.recipe-day-head{grid-template-columns:auto 1fr;gap:4px 6px;font-size:11px}.recipe-day-head b{grid-column:1/-1;font-size:11px}.recipe-item{grid-template-columns:38px minmax(0,1fr) 42px 48px 34px;gap:4px;padding:5px;font-size:10px}.recipe-role{min-height:18px;font-size:9px}.recipe-actions{grid-template-columns:1fr 1fr}}.recipe-meals{display:grid;grid-gap:7px;gap:7px}.recipe-meal{display:grid;grid-gap:5px;gap:5px;padding:6px;border:1px solid rgba(220,228,222,.72);border-radius:7px;background:#fff}.recipe-meal-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px;font-weight:800}.recipe-meal-head span{color:var(--ink)}.recipe-meal-head b{color:var(--green);font-size:11px}.recipe-meal .recipe-item{background:#fbfcfb}@media (max-width:720px){.recipe-meals{gap:5px}.recipe-meal{padding:5px}.recipe-meal-head,.recipe-meal-head b{font-size:10px}}.training-focus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;align-items:start}.focus-picker{display:grid;align-self:start;grid-gap:6px;gap:6px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fbfcfb}.focus-picker>span{color:var(--muted);font-size:12px;font-weight:800}.focus-chip-grid{display:flex;flex-wrap:wrap;gap:6px}.focus-chip-grid button{min-height:42px;padding:6px 9px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:12px;font-weight:800;text-align:left}.focus-chip-grid button small,.focus-chip-grid button strong{display:block;line-height:1.15}.focus-chip-grid button small{margin-top:3px;color:var(--muted);font-size:10px;font-weight:700}.focus-chip-grid button.active{border-color:rgba(39,116,73,.45);background:#eaf3ed;color:var(--green)}.exercise-meta{margin-top:-2px;color:var(--muted);font-size:10px;font-weight:700}@media (max-width:720px){.training-focus-grid{grid-template-columns:1fr;gap:6px}.focus-picker{padding:6px}.focus-chip-grid{gap:4px}.focus-chip-grid button{min-height:38px;padding:5px 7px;font-size:11px}.focus-chip-grid button small{font-size:9px}}.tasks-page{min-height:calc(100svh - 112px);padding:12px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.92);box-shadow:var(--shadow);overflow:auto}.tasks-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.tasks-head h2{margin:0;font-size:18px}.tasks-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.tasks-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.task-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:10px;gap:10px}.task-column{border:1px solid var(--line);border-radius:9px;background:#fbfcfb;padding:9px;min-width:0}.task-column h3{margin:0 0 8px;font-size:13px;color:var(--ink)}.task-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-gap:8px;gap:8px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:12px}.task-card+.task-card{margin-top:6px}.task-card b,.task-card span,.task-card strong{min-width:0}.task-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-card span{display:block;color:var(--muted);font-size:11px;margin-top:2px}.task-card b{font-size:12px;white-space:nowrap}.task-card.done{opacity:.62}.empty-task-state{display:grid;place-items:center;grid-gap:8px;gap:8px;min-height:42svh;text-align:center;border:1px dashed var(--line);border-radius:10px;background:#fbfcfb}.empty-task-state h3{margin:0}.empty-task-state p{margin:0;color:var(--muted);font-size:12px}.record-group{display:grid;grid-gap:5px;gap:5px;margin-bottom:8px}.record-group h4{margin:0;padding:2px 1px;font-size:11px;color:var(--muted);font-weight:700}.record-group .food-row{grid-template-columns:auto minmax(0,1fr) auto auto auto}@media (max-width:720px){.tasks-page{min-height:calc(100svh - 84px);border-radius:0;box-shadow:none;border-left:0;border-right:0;padding:8px 8px 74px}.tasks-head{align-items:stretch;gap:8px;margin-bottom:8px}.tasks-head h2{font-size:16px}.tasks-head p{font-size:11px}.tasks-actions{justify-content:flex-end;gap:6px}.tasks-actions button{min-height:30px;padding:0 10px;font-size:11px}.task-board{grid-template-columns:1fr;gap:7px}.task-column{padding:7px;border-radius:8px}.task-column h3{margin-bottom:5px;font-size:12px}.task-card{grid-template-columns:minmax(0,1fr) auto auto;gap:5px;padding:6px;font-size:11px}.task-card b{font-size:10px}.task-card .secondary{min-height:24px;padding:0 7px;font-size:10px}.record-group{gap:4px;margin-bottom:6px}.record-group h4{font-size:10px}.record-group .food-row{grid-template-columns:auto minmax(0,1fr) auto auto auto}}.training-sliders{grid-template-columns:repeat(2,minmax(0,1fr))}.training-focus-grid{align-items:stretch}.focus-picker{align-self:stretch;align-content:start}.split-library-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.split-library-summary button{display:grid;grid-gap:3px;gap:3px;text-align:left;border:1px solid var(--line);border-radius:9px;background:#fbfcfb;padding:10px;color:var(--ink);cursor:pointer}.split-library-summary button:hover{border-color:rgba(49,117,79,.35);background:#f4faf6}.single-library-column{grid-template-columns:1fr}.task-total-score{min-width:86px;display:grid;justify-items:end;align-content:center}.task-total-score strong{font-size:28px;line-height:1;color:var(--green)}.task-total-score span{margin-top:3px;color:var(--muted);font-size:11px;font-weight:800}.task-score-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:8px;gap:8px;margin-bottom:10px}.task-score-grid>div{border:1px solid var(--line);border-radius:8px;background:#fbfcfb;padding:7px 8px;display:flex;align-items:center;justify-content:space-between;gap:6px}.task-score-grid span{color:var(--muted);font-size:11px;font-weight:800}.task-score-grid strong{color:var(--ink);font-size:14px}.task-column-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.task-column-head h3{margin:0}.task-column-head button{min-height:24px;padding:0 8px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--green);font-size:11px;font-weight:800}.task-date-nav{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px}.task-date-nav span{color:var(--muted);font-size:12px;font-weight:800}@media (max-width:720px){.training-sliders{grid-template-columns:repeat(2,minmax(0,1fr))}.task-score-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.task-score-grid>div{padding:5px 6px}.task-total-score strong{font-size:22px}.task-column-head{margin-bottom:5px}}.task-detail-score-groups{display:grid;grid-gap:6px;gap:6px;margin-bottom:8px}.task-detail-score-group{display:grid;grid-gap:4px;gap:4px}.task-detail-score-group h3{display:inline-flex;align-items:center;gap:4px;margin:0;color:var(--ink);font-size:11px;line-height:1.05}.task-detail-score-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:5px;gap:5px}.task-detail-score-card{min-width:0;display:grid;grid-gap:3px;gap:3px;padding:5px 6px;border:1px solid var(--line);border-radius:7px;background:#fbfcfb}.task-detail-score-title{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--muted);font-size:10px;font-weight:800}.task-detail-score-title span{min-width:0;display:inline-flex;align-items:center;gap:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-detail-score-title strong{color:var(--green);font-size:13px;line-height:1}.task-detail-score-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:10px;font-weight:750}.task-score-track{height:4px;overflow:hidden;border-radius:999px;background:#edf1ee}.task-score-track span{display:block;height:100%;border-radius:inherit;background:var(--green)}.task-score-track span.warn{background:var(--gold)}.task-score-track span.low{background:var(--red)}@media (max-width:720px){.task-detail-score-groups{gap:5px;margin-bottom:6px}.task-detail-score-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.task-detail-score-card{padding:5px;gap:3px}.task-detail-score-title{font-size:10px}.task-detail-score-title strong{font-size:12px}.task-detail-score-value{font-size:10px}}