/* Only the redrawn character and the compact meal diary are changed in this version. */
.sim-figure>.sim-character{height:clamp(156px,20svh,174px);width:132px}.change-pair,.sim-figure{min-height:190px}.sim-figure strong{font-size:.875rem;line-height:1.5}.sim-comparison .sim-character{height:310px}.meal-diary{margin-top:1.5rem;border-top:1px solid var(--line);padding-top:.5rem}.meal-diary>header{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:48px}.meal-diary h2{font-size:1.0625rem;font-weight:550;margin:0}.meal-diary header button{font-size:.875rem;min-width:44px}.meal-row{display:grid;grid-template-columns:46px minmax(0,1fr) 44px;align-items:center;gap:.625rem;width:100%;min-height:64px;padding:.75rem 0;border-bottom:1px solid var(--line);text-align:left}.meal-row:last-child{border:0}.meal-row strong{font-size:1rem;font-weight:450}.meal-row>span{font-size:1rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.meal-row .unrecorded{color:var(--muted)}.meal-row small{font-size:.875rem;text-align:right;color:var(--accent)}.meal-status{display:flex;flex-wrap:wrap;gap:.5rem 1rem;border:0;padding:0;margin:0 0 1rem}.meal-status legend{font-size:.875rem;color:var(--muted);padding:0 0 .5rem}.meal-status label{font-size:1rem;display:flex;align-items:center;gap:.5rem;min-height:44px;padding:0 .25rem}.meal-status input{accent-color:var(--accent);width:20px;height:20px}.meal-sheet textarea{line-height:1.65;resize:vertical;min-height:130px}.meal-sheet .form-actions{justify-content:space-between}.meal-sheet .text-button{min-height:44px}.meal-sheet .field>span{font-size:.875rem}
@media(max-width:620px){dialog.meal-sheet{margin:auto 0 0;width:100%;max-width:none;max-height:calc(100dvh - 24px);border-radius:24px 24px 0 0;padding:22px 24px calc(22px + env(safe-area-inset-bottom))}.meal-sheet .form-actions.sticky{padding-bottom:calc(8px + env(safe-area-inset-bottom));bottom:calc(-22px - env(safe-area-inset-bottom))}}
@media(max-width:350px){dialog.meal-sheet{padding-left:18px;padding-right:18px}.meal-row{gap:.5rem}.sim-figure strong{font-size:.8125rem}}
.meal-diary h2 small{font-size:.875rem;font-weight:400;color:var(--muted);margin-left:.5rem}
