.health{--red:#e78284;--blue:#8caaee;--green:#a6d189;--peach:#ef9f76;--yellow:#e5c890;width:1600px}:root[data-theme=light] .health{--red:#d20f39;--blue:#1e66f5;--green:#40a02b;--peach:#fe640b;--yellow:#df8e1d}.health h1{margin:0;font-size:1.75rem}.health h2{margin:0 0 .75rem;font-size:1.15rem}.health h3{color:var(--subtext1);margin:0 0 .5rem;font-size:.95rem}.health #advice h3,.health #recs h3{margin-top:1.25rem}.health .bar{flex-wrap:wrap;align-items:baseline;gap:.5rem 1.5rem;margin-bottom:1rem;display:flex}.health .bar .intro{margin:0;font-size:.9rem}.health .layout{grid-template-columns:260px minmax(0,1fr);gap:1.25rem;height:calc(100vh - 13rem);min-height:28rem;display:grid}.health .side{flex-direction:column;gap:.75rem;min-height:0;display:flex}.health .range{color:var(--subtext1);flex-direction:column;gap:.35rem;font-size:.8rem;display:flex}.health .dual{height:1.25rem;position:relative}.health .dual .track{background:var(--surface0);border-radius:2px;height:4px;margin-top:-2px;position:absolute;top:50%;left:0;right:0}.health .dual .track i{background:var(--lavender);border-radius:2px;position:absolute;top:0;bottom:0}.health .dual input[type=range]{box-sizing:border-box;pointer-events:none;-webkit-appearance:none;appearance:none;background:0 0;border:0;border-radius:0;width:100%;max-width:none;height:100%;margin:0;padding:0;position:absolute;top:0;left:0}.health .dual input::-webkit-slider-runnable-track{background:0 0}.health .dual input::-moz-range-track{background:0 0}.health .dual input::-webkit-slider-thumb{pointer-events:auto;-webkit-appearance:none;appearance:none;background:var(--lavender);border:2px solid var(--base);cursor:grab;border-radius:50%;width:14px;height:14px}.health .dual input::-moz-range-thumb{pointer-events:auto;background:var(--lavender);border:2px solid var(--base);cursor:grab;border-radius:50%;width:10px;height:10px}.health .dual input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--text)}.health .dual input:focus-visible::-moz-range-thumb{outline:2px solid var(--text)}.health #range-presets{gap:.25rem;display:flex}.health #range-presets button{border:1px solid var(--surface0);background:var(--mantle);color:var(--text);cursor:pointer;border-radius:4px;flex:1;padding:.15rem 0;font-size:.75rem}.health #range-presets button:hover{background:var(--surface0)}.health #nav{flex-direction:column;gap:.25rem;display:flex}.health #nav button{text-align:left;background:var(--mantle);color:var(--text);cursor:pointer;border:1px solid #0000;border-radius:6px;padding:.5rem .75rem}.health #nav button:hover{background:var(--surface0)}.health #nav button[aria-current=page]{border-color:var(--lavender);color:var(--lavender)}.health .side-list{flex-direction:column;flex:1;gap:.25rem;min-height:0;padding-right:.25rem;display:flex;overflow-y:auto}.health .side-list[hidden]{display:none}.health .item{border:1px solid var(--surface1);color:var(--text);font-variant-numeric:tabular-nums;cursor:pointer;text-align:left;background:0 0;border-radius:6px;justify-content:space-between;gap:.5rem;padding:.4rem .6rem;font-size:.85rem;display:flex}.health .item:hover{background:var(--surface0)}.health .item.active{border-color:var(--lavender);background:var(--surface0)}.health .pane{min-height:0;padding-right:.25rem;overflow-y:auto}.health .view[hidden],.health [hidden]{display:none}.health .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));align-items:start;gap:1rem;display:grid}.health .card{background:var(--mantle);border:1px solid var(--surface0);border-radius:8px;min-width:0;padding:1rem}.health .card.wide{grid-column:1/-1}.health .stats{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.75rem;margin:.75rem 0 0;display:grid}.health .stat dt{color:var(--subtext0);font-size:.75rem}.health .stat dd{color:var(--rosewater);font-variant-numeric:tabular-nums;margin:0;font-size:1.15rem}.health .zone{grid-template-columns:2rem 1fr 4.5rem;align-items:center;gap:.5rem;margin:.25rem 0;font-size:.8rem;display:grid}.health .zone i{background:var(--lavender);border-radius:3px;height:.6rem;display:block}.health table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.health th,.health td{text-align:left;border-bottom:1px solid var(--surface1);padding:.35rem .6rem}@media (width<=900px){.health .layout{grid-template-columns:1fr;height:auto}.health .side-list{max-height:14rem}.health #nav{flex-flow:wrap}.health .pane{overflow:visible}}.health .intro,.health .hint{color:var(--subtext0)}.health .row{flex-wrap:wrap;align-items:end;gap:1rem;margin:1rem 0;display:flex}.health .with-info{align-items:center;display:inline-flex}.health label{color:var(--subtext1);flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}.health input,.health select,.health .card button:not(.help-btn){box-sizing:border-box;border:1px solid var(--surface1);background-color:var(--base);height:2.25rem;color:var(--text);font:inherit;border-radius:8px;padding:0 .7rem;font-size:.9rem;transition:border-color .15s,box-shadow .15s,background-color .15s}.health input:not([type=file]),.health select{width:10.5rem}.health input::placeholder{color:var(--overlay0)}.health input:hover,.health select:hover,.health .card button:not(.help-btn):hover{border-color:var(--overlay0)}.health input:focus-visible,.health select:focus-visible,.health .card button:not(.help-btn):focus-visible{border-color:var(--lavender);box-shadow:0 0 0 3px color-mix(in srgb, var(--lavender) 25%, transparent);outline:none}.health input:invalid:not(:placeholder-shown){border-color:var(--red)}.health input[type=number]{-moz-appearance:textfield;appearance:textfield}.health input[type=number]::-webkit-inner-spin-button,.health input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.health select{-webkit-appearance:none;appearance:none;cursor:pointer;background-image:linear-gradient(45deg, transparent 50%, var(--subtext0) 50%), linear-gradient(135deg, var(--subtext0) 50%, transparent 50%);background-position:calc(100% - 1.05rem),calc(100% - .75rem);background-repeat:no-repeat;background-size:.3rem .3rem;padding-right:2rem}.health input[type=file]{cursor:pointer;width:auto;color:var(--subtext1);padding:0 .35rem 0 0;line-height:2.1rem}.health input[type=file]::file-selector-button{border:0;border-right:1px solid var(--surface1);background:var(--surface0);height:100%;color:var(--text);font:inherit;cursor:pointer;border-radius:7px 0 0 7px;margin:0 .6rem 0 0;padding:0 .8rem;font-size:.9rem}.health .card button:not(.help-btn){cursor:pointer;background-color:var(--surface0)}.health .card button:not(.help-btn):hover{background-color:var(--surface1)}.health .chart{width:100%;height:auto;fill:var(--subtext0);font-size:10px}.health .chart .grid{stroke:var(--surface1);stroke-width:.5px}.health .chart .hit:hover{fill:var(--lavender);fill-opacity:.2}.health li.warn{color:var(--peach)}.health .stack{flex-direction:column;gap:1rem;display:flex}.health .help-btn{border:1px solid var(--surface1);background:var(--base);color:var(--lavender);cursor:pointer;vertical-align:middle;border-radius:6px;margin-left:.75rem;padding:.2rem .6rem;font-size:.75rem;font-weight:400}.health-help{border:1px solid var(--surface1);background:var(--mantle);width:min(860px,94vw);max-height:88vh;color:var(--text);border-radius:10px;padding:0}.health-help::backdrop{background:#0009}.health-help header{background:var(--mantle);border-bottom:1px solid var(--surface0);justify-content:space-between;align-items:center;padding:.75rem 1.25rem;display:flex;position:sticky;top:0}.health-help header h2{margin:0;font-size:1.15rem}.health-help header button{border:1px solid var(--surface1);background:var(--base);color:var(--text);cursor:pointer;border-radius:6px;padding:.25rem .75rem}.health-help .help-body{padding:.5rem 1.25rem 1.25rem;font-size:.9rem;line-height:1.5}.health-help h3{color:var(--lavender);margin:1.25rem 0 .4rem;font-size:1rem}.health-help ul{margin:0;padding-left:1.1rem}.health-help li{margin-bottom:.35rem}.health-help table{border-collapse:collapse;width:100%}.health-help th,.health-help td{text-align:left;vertical-align:top;border-bottom:1px solid var(--surface1);padding:.35rem .6rem}.health-help .hint{color:var(--subtext0);margin-top:1rem}.health .stack .row{margin:.5rem 0 0}.health-help .method{border-bottom:1px solid var(--surface0);padding-bottom:.5rem}.health-help .method .check-triggered td:nth-child(2){color:var(--peach)}.health-help .method .check-no-data td:nth-child(2){color:var(--subtext0)}.health #coach[data-mode=simple] .expert-only{display:none!important}.health .mode-switch{flex-wrap:wrap;align-items:center;gap:.5rem 0;width:100%;display:flex}.health .mode-switch button{border:1px solid var(--surface1);background:var(--base);height:2.25rem;color:var(--text);font:inherit;cursor:pointer;flex:50%;padding:0 1rem;font-size:.9rem}.health .mode-switch button:first-of-type{border-radius:8px 0 0 8px}.health .mode-switch button:nth-of-type(2){border-radius:0 8px 8px 0;margin-left:-1px}.health .mode-switch button[aria-pressed=true]{background:var(--lavender);border-color:var(--lavender);color:var(--base);font-weight:600}.health .mode-switch .hint{flex:1 0 100%;margin:0;font-size:.8rem}.health .plan-warning{border-left:3px solid var(--peach);background:var(--base);margin:0 0 .5rem;padding:.5rem .75rem;font-size:.85rem}.health .weeks{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:.75rem;margin-top:.75rem;display:grid}.health .week{background:var(--base);border:1px solid var(--surface0);border-radius:6px;padding:.6rem .75rem}.health .week.active{border-color:var(--lavender)}.health .week h4{justify-content:space-between;align-items:baseline;margin:0;display:flex}.health .week .meta{color:var(--subtext0);margin:.1rem 0 .4rem;font-size:.75rem}.health .week table{font-size:.85rem}.health .week td{vertical-align:top;padding:.3rem .4rem}.health .week td:first-child{color:var(--subtext0);width:2.5rem}.health .week td:last-child{text-align:right;white-space:nowrap}.health .week small{color:var(--subtext0);font-size:.75rem;display:block}.health details{margin:.5rem 0}.health details.howto summary{color:var(--text);cursor:pointer;font-size:1.15rem;font-weight:600}.health details.howto ol{margin:.75rem 0 .5rem;padding-left:1.3rem}.health details.howto li{margin-bottom:.4rem}.health .load-chart{border:1px solid var(--surface1);background:var(--base);border-radius:8px;margin:1rem 0;padding:.75rem}.health .load-chart[hidden]{display:none}.health .load-chart figcaption{margin-top:.4rem}.health .load-chart .seg{width:100%;margin-bottom:.75rem;display:flex}.health .seg button{border:1px solid var(--surface1);background:var(--mantle);height:2.25rem;color:var(--text);font:inherit;cursor:pointer;flex:1 1 0;margin-left:-1px;padding:0 .5rem;font-size:.9rem}.health .seg button:first-child{border-radius:8px 0 0 8px;margin-left:0}.health .seg button:last-child{border-radius:0 8px 8px 0}.health .seg button[aria-pressed=true]{background:var(--lavender);border-color:var(--lavender);color:var(--base);font-weight:600}.health h4{margin:1rem 0 .25rem}.health details.data{margin:.25rem 0 .5rem}.health details.data summary{border:1px solid var(--surface1);background:var(--base);color:var(--text);cursor:pointer;border-radius:6px;padding:.1rem .6rem;font-size:.75rem;display:inline-block}.health details.data table{margin-top:.4rem;font-size:.8rem}.health .card button.info:not(.help-btn),.health .card button.info:not(.help-btn):hover{border:1px solid var(--lavender);background-color:var(--surface1);width:1.1rem;min-width:0;height:1.1rem;color:var(--lavender);vertical-align:middle;cursor:pointer;border-radius:50%;margin-left:.4rem;padding:0;font:italic 700 .7rem/1 serif}.health .card button.info:not(.help-btn):hover{background-color:var(--surface2)}.health-help .explain-value{color:var(--rosewater);margin:.5rem 0 0;font-size:1.1rem}.health-help ol{margin:0;padding-left:1.3rem}.health-help ol li{margin-bottom:.35rem}#print-sheet{display:none}#print-sheet.health{width:auto}#print-sheet h1{font-size:1.5rem}#print-sheet .weeks{grid-template-columns:repeat(2,minmax(0,1fr))}@media print{@page{margin:12mm}body.printing>:not(#print-sheet){display:none!important}body.printing{background:var(--base);color:var(--text);margin:0}body.printing #print-sheet{padding:0;display:block}body.printing *{-webkit-print-color-adjust:exact;print-color-adjust:exact}#print-sheet .week{break-inside:avoid}}
