.companion-content{display:block}.m-room{max-width:780px;margin:20px auto}.m-start{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--panel);border:1px solid var(--line);padding:26px;border-radius:18px}.m-start h2{font-size:25px;margin:10px 0}.m-start p{font-size:13px;color:var(--muted);line-height:1.65;max-width:320px}.m-start button{margin-top:20px;min-height:48px}.m-kicker{font-size:10px;letter-spacing:.12em;color:var(--muted)}.m-figure{width:90px;height:135px;flex:none;color:var(--muted);opacity:.8}.m-highlight{stroke:var(--w-protein);stroke-width:4;fill:var(--panel);opacity:1}.m-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:28px 0 12px}.m-heading h2{font-size:17px}.m-heading button{font-size:13px;min-height:44px}.m-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.m-measure{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:14px;padding:18px;min-width:0;min-height:124px}.m-measure:hover{background:var(--raised)}.m-measure[aria-pressed=true]{border-color:var(--w-protein);background:var(--raised)}.m-measure>span{font-size:12px;color:var(--muted);line-height:1.5}.m-measure strong{font-size:25px;line-height:1.2;font-weight:600}.m-measure small{font-size:11px;color:var(--muted);font-weight:400}.m-history{margin-top:20px}.m-history header{margin-bottom:12px}.m-trend{height:210px;min-width:0}.m-empty{font-size:13px;color:var(--muted);padding:24px 0;line-height:1.6}.m-manage{font-size:13px;color:var(--muted);margin-top:22px}.m-manage summary{padding:12px 0;cursor:pointer}.m-manage label,.m-check{display:flex;align-items:center;gap:12px;min-height:46px}.m-manage input,.m-check input{width:20px;height:20px;flex:none}.m-status{color:var(--muted);font-size:12px;line-height:1.6;margin:12px 0}.m-food-settings{font-size:13px}.m-wizard,.m-add{width:min(100% - 24px,440px);max-height:calc(100dvh - 32px);padding:24px;border-radius:20px}.m-wizard>header,.m-add>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0}.m-wizard>header>span{color:var(--muted);font-size:12px}.m-close{display:grid;place-items:center;width:42px;height:42px;padding:0;background:var(--raised);color:var(--text);border:1px solid var(--line);font-size:24px;font-weight:400}.m-progress{height:3px;background:var(--line);margin:16px 0 22px;border-radius:3px}.m-progress i{display:block;height:100%;background:var(--w-protein);transition:width .25s}.m-wizard form{display:block;text-align:center}.m-wizard form>.m-figure{height:145px;width:100px;margin:0 auto 12px;display:block}.m-wizard h2{font-size:25px;line-height:1.3}.m-instruction{color:var(--muted);font-size:13px;line-height:1.7;min-height:44px;margin:12px auto 18px;max-width:330px}.m-input-label{display:flex;flex-direction:row;align-items:baseline;justify-content:center;gap:12px;margin:16px 0 6px}.m-input-label input{width:175px;text-align:center;font-size:42px;line-height:1.2;padding:8px 0;background:transparent;border:0;border-bottom:2px solid var(--line);border-radius:0;appearance:textfield;font-variant-numeric:tabular-nums}.m-input-label input::-webkit-inner-spin-button{appearance:none}.m-input-label>span:last-child{font-size:17px;color:var(--muted)}.m-last{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0 26px}.m-wizard-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.m-wizard-actions button,.m-review>button,.m-add form>button{min-height:48px}.m-review>button{width:100%;margin-top:12px}.m-review>p{font-size:13px;color:var(--muted);margin:12px 0}.m-review ul{padding:0;list-style:none;margin:20px 0}.m-review li{display:flex;justify-content:space-between;gap:16px;padding:15px 0;border-top:1px solid var(--line);font-size:14px}.m-add form{display:flex;flex-direction:column;gap:18px;margin-top:20px}.m-add h2{font-size:21px}.m-add form label{font-size:13px;line-height:1.7}.m-add input,.m-add select{margin-top:6px}.m-add .m-check input{margin:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body[data-view=measurements] .date-picker,body[data-view=measurements] #add-entry,body[data-view=today] #add-entry{display:none}
@media(max-width:600px){.m-room{margin-top:12px}.m-start{padding:20px;gap:10px}.m-start h2{font-size:21px}.m-start .m-figure{width:68px;height:110px}.m-start button{font-size:13px}.m-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.m-measure{padding:16px;min-height:120px}.m-wizard{padding:20px}.m-wizard form>.m-figure{height:120px}.m-heading{margin-top:24px}.m-trend{height:180px}}
@media(prefers-reduced-motion:reduce){.m-progress i{transition:none}}
