/* Larger native typography; no global page scaling and no new dashboard cards. */
html{font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}.app-header h1{font-size:1.8125rem}.nav-link{font-size:.8125rem}.tab-bar{gap:.5rem}.primary,.secondary{font-size:1rem;min-height:44px;white-space:normal}.text-button{font-size:.9375rem}.field{font-size:1rem}.field input,.field textarea,.field select{font-size:1rem}.field>span,.info-note,.help-box{font-size:.9375rem}.settings-row{font-size:1rem}.settings-row small,.settings-menu h3{font-size:.875rem}.modal-top h2{font-size:1.5rem}.modal-top .icon-button,.icon-button{width:44px;height:44px;min-width:44px}.form-actions button{max-width:100%;text-align:center;line-height:1.5;padding:.625rem 1rem}.manager-toolbar{flex-wrap:wrap}.settings-footnote{font-size:.875rem}.form-section{font-size:1rem}.toggle-row{font-size:1rem;line-height:1.6}.toggle-row input{min-width:43px}.row-actions button{width:44px;height:44px}.row-actions{flex-wrap:wrap;gap:0}.stat-note,.pill{font-size:.8125rem}.history-row{gap:.5rem}.history-row span{font-size:.875rem}.history-row strong{font-size:1.375rem}.history-row .row-actions{max-width:88px}.ledger-row{font-size:1rem}.ledger-row small{font-size:.8125rem}.ledger-delta{font-size:1.75rem}.axis-label{font-size:.8125rem}.segment{font-size:1rem;min-height:44px;padding:.3rem}.date-range{font-size:.8125rem;gap:.5rem;margin:6px 0}.date-range button{width:44px;height:44px}.chart-wrap{height:clamp(240px,31svh,300px)}.chart-legend{font-size:.8125rem;margin-top:0;min-height:32px}.legend-toggle{min-height:44px}.weight-context{padding:.5rem 0 1rem;gap:.5rem}.weight-context span{font-size:.8125rem}.weight-context strong{font-size:1.875rem}.weight-context .weight-change{font-size:1.625rem}.weight-context small{font-size:.8125rem}.weight-context>div{display:block}.weight-context>div:last-child{text-align:right}.target-row{font-size:1rem;min-height:54px}.target-row strong{font-size:1.125rem}.target-row small{font-size:.875rem}.my-change{padding:0 0 .5rem}.my-change>header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin:.3rem 0 .25rem}.my-change h2{font-size:1.0625rem;font-weight:550;margin:0}.my-change>header>span{font-size:.875rem;color:var(--muted);text-align:right}.change-pair{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:.75rem;min-height:195px}.change-pair .record-control{padding:.75rem 0}.record-button{width:clamp(116px,7.5rem,124px);height:clamp(116px,7.5rem,124px);min-height:116px}.record-label{font-size:1rem;max-width:94%;white-space:normal}.record-subtitle{font-size:.75rem;max-width:94%;white-space:normal;line-height:1.3}.sim-figure{padding:0;display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0;color:var(--text)}.sim-character{height:156px;width:130px;max-width:100%;display:block}.sim-figure strong{font-size:.875rem;font-weight:450;line-height:1.4}.sim-figure small{font-size:.8125rem;color:var(--muted);line-height:1.5}.sim-comparison{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.sim-comparison figure{margin:0;text-align:center;min-width:0}.sim-comparison .sim-character{height:230px;width:100%}.sim-comparison figcaption{font-size:1rem}.body-measurement-list>div{display:flex;justify-content:space-between;align-items:center;gap:.5rem;border-bottom:1px solid var(--line);font-size:.9375rem}.sim-compare .avatar-editor-tabs button,.avatar-editor-tabs button,.avatar-view-switch button{min-height:44px;font-size:.9375rem}.avatar-view-switch button{min-width:44px}.comparison-selects{gap:.5rem}.avatar-records strong{font-size:1rem}.avatar-records small,.avatar-editor-note{font-size:.875rem}.comparison-figures figcaption{font-size:1rem}.comparison-figures small,.comparison-figures p{font-size:.875rem}.trace-controls button{min-height:44px;font-size:.875rem}.trace-count{font-size:.875rem}
.day-tile{min-height:82px;gap:7px}.day-tile>span{font-size:.75rem}.day-tile>strong{font-size:1.25rem}.week-strip{gap:5px}.habit-overview{font-size:.9375rem;gap:.5rem;margin:.5rem 0}.habit-overview button,.habit-overview a{flex-wrap:wrap;line-height:1.5}.habit-overview strong{font-size:1rem}.task-heading{min-height:48px;margin:0}.task-heading>button{font-size:1.0625rem;min-height:44px}.task-heading .task-edit{font-size:1rem;font-weight:450;color:var(--accent)}#main .habit-row{min-height:76px;padding:.75rem 0;gap:.625rem}#main .habit-detail{display:flex;flex-wrap:wrap;gap:.25rem .5rem;align-items:center}#main .habit-detail h2{font-size:1.0625rem;font-weight:450;line-height:1.45;overflow-wrap:anywhere}#main .habit-status{font-size:.875rem;white-space:normal;line-height:1.45;margin-left:auto}#main .habit-reward{font-size:.875rem;width:auto;min-width:24px}#main .habit-check{width:44px;height:44px;min-width:44px}#main .habit-symbol{width:24px;min-width:24px}.task-manager-list{padding:0;list-style:none;margin:0}.task-manager-list li{display:flex;align-items:center;gap:.25rem;border-bottom:1px solid var(--line);padding:.5rem 0}.task-manager-name{flex:1;text-align:left;padding:.5rem .25rem;min-width:0;min-height:52px;overflow-wrap:anywhere}.task-manager-name strong{font-size:1rem;font-weight:500;line-height:1.5}.task-manager-name small{display:block;color:var(--muted);font-size:.8125rem;margin-top:.25rem}.drag-handle,.task-move{width:44px;height:44px;flex-shrink:0;touch-action:none;color:var(--muted);font-size:1.25rem;border-radius:8px}.task-manager-list .text-button{font-size:.875rem;min-width:44px}.dragging{color:var(--accent);background:var(--tint)}.drop-target{box-shadow:inset 0 -3px var(--accent)}.weekday-options{border:1px solid var(--line);border-radius:10px;display:flex;flex-wrap:wrap;gap:.25rem;margin:0 0 1rem;padding:.5rem}.weekday-options legend{font-size:.8125rem;color:var(--muted)}.weekday-options label{display:flex;align-items:center;gap:.25rem;min-height:44px;font-size:.9375rem}.weekday-options input{accent-color:var(--accent)}.inline-buttons button{min-height:44px;font-size:.9375rem}.achievement-headline{font-size:clamp(1.75rem,7.8vw,2.125rem);font-weight:550;line-height:1.5;letter-spacing:-.5px}.health-card{padding:28px 22px 22px;max-height:calc(100dvh - 48px);overflow:auto}.health-card h2{font-size:.9375rem;margin:12px 0 12px}.health-close{width:44px;height:44px;right:5px;top:4px}.health-card #health-message{font-size:1rem;line-height:1.65;margin:10px 0 8px}.mass-visual{display:flex;justify-content:center;gap:8px;margin:10px 0}.mass-item{height:112px;width:112px;max-width:44%;fill:var(--tint);stroke:var(--accent);stroke-width:2.7;stroke-linejoin:round;stroke-linecap:round}.mass-item .item-detail{fill:none;stroke:var(--accent);stroke-width:2}.achievement-previous{display:block;font-size:.8125rem;color:var(--muted);margin:8px 0}.health-card p.achievement-milestone{font-size:.875rem!important;line-height:1.7;margin:12px 0;color:var(--muted)}.health-tap-hint{display:block;font-size:.8125rem;margin-top:14px}.health-fragment>.health-card{max-height:none;overflow:hidden}.sim-compare .primary{width:100%}.poster-controls .primary{font-size:1rem;white-space:normal;line-height:1.5}.motivation-actions button{font-size:.9375rem;min-width:68px;min-height:56px}.poster-empty-caption{font-size:1.0625rem}.poster-empty-caption span,.poster-placeholder{font-size:.9375rem}.reward-card h2{font-size:1.0625rem}.reward-card>p{font-size:.875rem}.reward-card>.primary{font-size:.9375rem}.reward-price{font-size:1.75rem}.reward-price small{font-size:.8125rem}.voucher-counts{font-size:.8125rem;flex-wrap:wrap}.voucher-counts strong{font-size:.9375rem}.voucher-item p{font-size:.8125rem}.voucher-item h3{font-size:1rem}.voucher-item .text-button,.voucher-item .secondary{font-size:.875rem}.voucher-item{flex-wrap:wrap}.quote-library-item{font-size:1rem}.quote-library-item small{font-size:.875rem}.manager-toolbar>span{font-size:.9375rem}
@media(max-width:350px){main{padding-left:16px;padding-right:16px}.habit-overview{font-size:.875rem;gap:.375rem}.change-pair{gap:.25rem}.sim-character{width:124px}.sim-figure strong{font-size:.8125rem}#main .habit-row{gap:.5rem}#main .habit-status{margin-left:0}.date-range{font-size:.75rem;gap:0}.health-card{padding:25px 18px 20px}.mass-item{height:96px;width:96px}.manager-toolbar .text-button{font-size:.875rem}.reward-card{grid-template-columns:30px minmax(0,1fr) 90px}.page-heading{flex-wrap:wrap}.settings-grid{column-gap:.5rem}.my-change>header>span{font-size:.8125rem}}
.week-strip{display:flex;overflow-x:auto;gap:4px;padding:4px 2px;scrollbar-width:none}.week-strip::-webkit-scrollbar{display:none}.day-tile{flex:1 0 44px;min-width:44px}.task-edit{min-width:44px}.weekday-options label{min-width:44px}.sim-figure{min-height:190px}.task-manager-name strong{word-break:break-word}.health-card .mass-visual:empty{display:none}
/* Keep the merged record/figure module visible above the phone tab bar. */
.chart-wrap{height:clamp(240px,28svh,300px)}.weight-context{padding:.25rem 0 .5rem}.weight-context span{margin-bottom:3px}.change-pair{min-height:180px}.sim-figure{min-height:180px}.sim-figure>.sim-character{height:140px}.weight-page .trend-focus{padding-top:0}.weight-context{padding:0 0 .375rem}.weight-context span{margin-bottom:2px}.my-change>header{margin-top:0}
