/* Ритм 2 · Manrope, evergreen, warm white. Shared with the MagicPath prototype. */
@font-face{font-family:Manrope;src:url('./fonts/manrope-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('./fonts/manrope-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Manrope;src:url('./fonts/manrope-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Manrope;src:url('./fonts/manrope-700.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Manrope;src:url('./fonts/manrope-800.ttf') format('truetype');font-weight:800;font-display:swap}
:root{color-scheme:light;--bg:#f5f5ef;--white:#fff;--ink:#1d302b;--muted:#6e7b73;--green:#214d3b;--mint:#d8edb6;--line:#e6e9df;--soft:#edf1e7;--orange:#df9567;--lavender:#edebf5;--radius:24px;--safe:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}body{margin:0}.rhythm{margin:0;min-height:100vh;width:100%;background:var(--bg);color:var(--ink);font:400 15px/1.55 Manrope,Arial,sans-serif;-webkit-font-smoothing:antialiased}.rhythm *{box-sizing:border-box}.rhythm [hidden]{display:none!important}.rhythm a{color:var(--green);text-decoration:none}.rhythm a:hover{text-decoration:underline}.rhythm button,.rhythm input,.rhythm select,.rhythm textarea{font:inherit}.rhythm button,.rhythm .button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:13px 20px;border-radius:15px;background:var(--green);color:white;font-size:14px;font-weight:700;cursor:pointer;text-decoration:none;transition:transform .16s,background .16s}.rhythm button:active,.rhythm .button:active{transform:scale(.98)}.rhythm button:hover,.rhythm .button:hover{background:#163b2c;text-decoration:none}.rhythm button:disabled{background:#e5e8df;color:#657063;cursor:not-allowed;transform:none}.rhythm button.quiet,.rhythm .button.quiet{background:var(--soft);color:var(--green)}.rhythm button.quiet:hover{background:#e1e8d8}.rhythm .danger{color:#a34a36!important}.rhythm :focus-visible{outline:3px solid #81a765;outline-offset:3px}.rhythm h1,.rhythm h2,.rhythm h3,.rhythm p{margin:0}.rhythm h1{font-size:30px;line-height:1.2;letter-spacing:-1.2px;font-weight:800;margin-bottom:10px}.rhythm h2{font-size:20px;line-height:1.3;letter-spacing:-.65px;font-weight:800}.rhythm h3{font-size:16px;font-weight:700;letter-spacing:-.3px}.rhythm p{margin-bottom:14px}.rhythm .muted,.rhythm small,.rhythm .meta{color:var(--muted)}.rhythm small{display:block;font-size:12px;line-height:1.65}.rhythm .meta{font-size:12px}.rhythm .icon{width:22px;height:22px;display:inline-block;flex:none;vertical-align:middle}.rhythm .app-header{max-width:520px;margin:auto;height:88px;padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:14px}.rhythm .brand{display:flex;align-items:center;gap:9px;color:var(--ink);text-decoration:none;font-weight:800;font-size:28px;letter-spacing:-1.6px}.rhythm .brand-mark{width:31px;height:31px;display:block}.rhythm .header-right{display:flex;gap:9px;align-items:center}.rhythm #connection{font-size:11px;font-weight:600;max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}.rhythm .avatar{width:38px;height:38px;border-radius:50%;background:#e4e9da;display:flex;align-items:center;justify-content:center;color:var(--green);font-size:13px;font-weight:800}.rhythm #install{min-height:36px;padding:8px 10px;font-size:11px}.rhythm .app-main{max-width:520px;padding:10px 24px calc(120px + var(--safe));margin:auto;animation:arrive .3s ease-out}.rhythm .eyebrow,.rhythm .step{font-size:11px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin-bottom:9px}.rhythm .page-intro{margin:0 0 25px}.rhythm .page-intro p:last-child{margin-bottom:0}.rhythm .page-intro .muted{font-size:13px}.rhythm .section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:26px 0 14px}.rhythm .section-head a{font-size:12px;font-weight:700;white-space:nowrap}.rhythm .card,.rhythm .panel{border-radius:var(--radius);background:var(--white);padding:22px;margin-bottom:16px;border:1px solid rgba(29,48,43,.035)}.rhythm .card>h2,.rhythm .panel>h2{margin-bottom:16px}.rhythm .calorie-card{background:var(--green);color:white;border-radius:28px;padding:22px 23px;margin-bottom:13px;position:relative;overflow:hidden}.rhythm .card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:600}.rhythm .card-top>span{display:flex;align-items:center;gap:8px}.rhythm .pill{display:inline-flex;align-items:center;gap:5px;background:#edf1e7;color:var(--green);border-radius:999px;padding:5px 10px;font-size:10px;font-weight:700;letter-spacing:.1px;white-space:nowrap}.rhythm .calorie-card .pill{background:#ffffff17;color:#d9edcd}.rhythm .calorie-body{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:23px 0 20px}.rhythm .calories{font-size:51px;font-weight:700;letter-spacing:-2.8px;line-height:1.15;font-variant-numeric:tabular-nums}.rhythm .calories small{color:#c2d2c6;font-size:12px;font-weight:500;letter-spacing:0;margin-top:7px}.rhythm .ring{position:relative;width:126px;height:126px;flex:none}.rhythm .ring svg{height:100%;width:100%;transform:rotate(-90deg)}.rhythm .ring circle{fill:none;stroke-width:8}.rhythm .ring .track{stroke:#ffffff20}.rhythm .ring .fill{stroke:var(--mint);stroke-linecap:round;transition:stroke-dashoffset .7s ease-out}.rhythm .ring-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.rhythm .ring-label strong{font-size:25px;line-height:1.1;letter-spacing:-1px}.rhythm .ring-label span{font-size:10px;color:#c2d2c6}.rhythm .calorie-foot{border-top:1px solid #ffffff20;padding-top:14px;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#dae8dc}.rhythm .calorie-foot strong{color:var(--mint);font-weight:700}.rhythm .macro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.rhythm .macro{background:white;border-radius:18px;padding:13px 12px}.rhythm .macro-label{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);margin-bottom:5px}.rhythm .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8aab70;flex:none}.rhythm .macro:nth-child(2) .dot{background:#dfa67c}.rhythm .macro:nth-child(3) .dot{background:#b5a0cc}.rhythm .macro strong{font-size:20px;font-weight:800;letter-spacing:-.7px}.rhythm .macro strong span{font-size:11px;font-weight:500;color:var(--muted);margin-left:3px}.rhythm .primary-action{width:100%;justify-content:space-between!important;padding:15px 20px!important}.rhythm .primary-action>span{display:flex;align-items:center;gap:9px}.rhythm .vitals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rhythm .vital{border-radius:22px;background:#e8eddc;padding:18px;overflow:hidden}.rhythm .vital.sleep{background:var(--lavender)}.rhythm .vital-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;margin-bottom:18px}.rhythm .vital-value{font-size:27px;line-height:1.2;font-weight:800;letter-spacing:-1px;margin-bottom:5px;font-variant-numeric:tabular-nums}.rhythm .vital-value span{font-size:13px;font-weight:500;letter-spacing:0}.rhythm .vital small{font-size:10px}.rhythm progress{height:5px;width:100%;border:0;border-radius:10px;overflow:hidden;display:block;margin:12px 0 8px;background:#d4dec6;accent-color:#63804a}.rhythm progress::-webkit-progress-bar{background:#d4dec6;border-radius:10px}.rhythm progress::-webkit-progress-value{background:#63804a;border-radius:10px}.rhythm .source-note{margin-top:12px;font-size:10px;color:var(--muted);line-height:1.7}.rhythm .meal-list{background:white;border-radius:22px;padding:0 17px}.rhythm .row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.rhythm .row:last-child{border-bottom:0}.rhythm .row>div{min-width:0}.rhythm .row strong{display:block;font-size:13px;font-weight:700;overflow-wrap:anywhere}.rhythm .row small{font-size:10px;margin-top:3px}.rhythm .meal-tile{height:42px;width:42px;display:flex;align-items:center;justify-content:center;background:#f1f3e9;color:#6e865c;border-radius:13px;flex:none}.rhythm .meal-info{flex:1}.rhythm .meal-energy{font-size:15px;font-weight:800;white-space:nowrap}.rhythm .meal-energy small{font-size:9px;font-weight:500;margin:0;text-align:right}.rhythm .icon-button{height:40px!important;width:40px;min-height:40px!important;padding:8px!important;background:transparent!important;color:#839080!important;border-radius:12px!important}.rhythm .icon-button .icon{width:17px;height:17px}.rhythm .day-end{margin:19px 0;text-align:center}.rhythm .day-end button{min-height:40px;font-size:11px;padding:9px 14px}.rhythm .day-end small{font-size:10px;margin-top:8px}.rhythm .empty{text-align:center;padding:28px 18px;color:var(--muted);font-size:13px;line-height:1.7}.rhythm .empty .icon{display:block;margin:0 auto 10px;width:28px;height:28px;color:#8ea37e}.rhythm .bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:520px;z-index:20;display:flex;align-items:center;background:#fffffff5;backdrop-filter:blur(18px);border-top:1px solid var(--line);padding:11px 12px calc(12px + var(--safe));gap:4px}.rhythm .bottom-nav a{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px;align-items:center;justify-content:center;color:#859084;font-size:9px;font-weight:600;min-height:49px;text-decoration:none;border-radius:14px;transition:background .15s}.rhythm .bottom-nav .icon{width:21px;height:21px}.rhythm .bottom-nav a[aria-current=page]{color:var(--green);background:#edf2e6;font-weight:800}.rhythm #notice{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(91px + var(--safe));width:calc(100% - 32px);max-width:460px;padding:14px 18px;z-index:50;background:#193629;color:white;border-radius:17px;box-shadow:0 8px 24px #19362924;font-size:12px}.rhythm label{display:block;font-size:12px;font-weight:600;margin-bottom:17px}.rhythm label input,.rhythm label select,.rhythm label textarea{margin-top:7px}.rhythm input,.rhythm select,.rhythm textarea{width:100%;min-height:49px;border:1px solid var(--line);border-radius:13px;background:#fafbf7;color:var(--ink);padding:13px 14px;font-weight:500;font-size:14px;outline-offset:3px}.rhythm textarea{resize:vertical;line-height:1.75}.rhythm textarea::placeholder,.rhythm input::placeholder{color:#99a093;font-weight:400}.rhythm .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.rhythm .actions{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}.rhythm .actions button{font-size:12px;min-height:44px;padding:10px 14px}.rhythm label.check{display:flex;align-items:flex-start;gap:11px;font-weight:500;font-size:12px;line-height:1.7;margin:16px 0}.rhythm label.check input{width:19px;min-height:19px;height:19px;flex:none;margin:1px 0 0;accent-color:var(--green);padding:0}.rhythm details{background:white;border-radius:20px;padding:19px 20px;margin:15px 0}.rhythm summary{cursor:pointer;font-size:13px;font-weight:700;min-height:24px;color:var(--green)}.rhythm details[open]>summary{margin-bottom:20px}.rhythm .composer-card{padding:0;overflow:hidden}.rhythm .composer-inner{padding:21px}.rhythm .segmented{display:flex;gap:4px;background:#eef0e8;border-radius:14px;padding:4px;margin:0 0 20px}.rhythm .segmented button{flex:1;min-height:40px;font-size:11px;padding:8px 6px;border-radius:11px;background:transparent;color:var(--muted);gap:5px;white-space:nowrap}.rhythm .segmented .icon{width:16px;height:16px}.rhythm .segmented button[aria-selected=true]{background:white;color:var(--green);box-shadow:0 2px 7px #253b2810}.rhythm .form-footer{font-size:10px;line-height:1.7;color:var(--muted);margin-top:13px}.rhythm .full{width:100%}.rhythm .photo-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:30px 12px;background:#f5f7ef;border:1.5px dashed #cbd5bf;border-radius:17px;cursor:pointer;position:relative;text-align:center;font-size:13px}.rhythm .photo-drop .icon{width:29px;height:29px;color:#708c5a}.rhythm .photo-drop small{font-size:10px;font-weight:400}.rhythm .visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);border:0;white-space:nowrap}.rhythm .photo{display:block;width:100%;max-height:280px;object-fit:contain;border-radius:16px;margin:15px 0}.rhythm .plan-status{font-size:10px!important;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px!important;color:var(--muted)}.rhythm .plan-status span{display:flex;align-items:center;gap:5px}.rhythm .plan-status a{white-space:nowrap;text-decoration:underline;text-underline-offset:3px}.rhythm .estimate-heading{display:flex;align-items:center;gap:9px;margin-bottom:14px;color:var(--green)}.rhythm #estimate:not(:empty){background:#f0f4e7;border-radius:22px;padding:22px;margin:20px 0}.rhythm #estimate h2{margin-bottom:16px}.rhythm #estimate h3{font-size:23px;letter-spacing:-.7px;margin:18px 0 8px}.rhythm #estimate p{font-size:12px}.rhythm .weight-hero{background:white;border-radius:24px;padding:24px}.rhythm .weight-number{font-size:62px;line-height:1.1;letter-spacing:-3px;font-weight:700;margin:16px 0 9px;font-variant-numeric:tabular-nums}.rhythm .weight-number span{font-size:19px;letter-spacing:-.4px;font-weight:500;color:var(--muted)}.rhythm .weight-chart{width:100%;height:170px;display:block;margin:22px 0 5px;overflow:visible}.rhythm .chart-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.rhythm .goal-grid{display:grid;grid-template-columns:1fr 1fr 1fr;padding-top:18px;margin-top:20px;border-top:1px solid var(--line)}.rhythm .goal-grid>div{padding-left:15px;border-left:1px solid var(--line)}.rhythm .goal-grid>div:first-child{padding-left:0;border-left:0}.rhythm .goal-grid small{font-size:10px;margin-bottom:5px}.rhythm .goal-grid strong{font-size:17px;letter-spacing:-.5px}.rhythm table{width:100%;border-collapse:collapse;font-size:12px}.rhythm td,.rhythm th{padding:13px 0;border-bottom:1px solid var(--line);text-align:left;font-variant-numeric:tabular-nums}.rhythm th{font-weight:500;color:var(--muted)}.rhythm td:last-child,.rhythm th:last-child{text-align:right}.rhythm .coach-hero{background:#e8eddc;border-radius:24px;padding:24px;margin-bottom:20px}.rhythm .coach-mark{width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#d2dfbb;border-radius:14px;color:var(--green);margin-bottom:18px}.rhythm .coach-hero h2{font-size:24px;letter-spacing:-1px;max-width:240px;margin-bottom:10px}.rhythm .coach-hero p{font-size:12px;max-width:290px;color:#6c7b61}.rhythm .prose{white-space:pre-wrap;font-size:13px;line-height:1.85;overflow-wrap:anywhere}.rhythm #answer:not(:empty){background:white;padding:23px;border-radius:23px;margin:18px 0}.rhythm .chart-bars{display:flex;align-items:flex-end;gap:11px;height:132px;margin:20px 0 5px}.rhythm .bar-col{flex:1;min-width:0;height:100%;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:7px}.rhythm .bar{width:100%;max-width:33px;min-height:4px;border-radius:8px;background:#c9d9b5}.rhythm .bar-col:last-child .bar{background:var(--green)}.rhythm .bar-col span{font-size:9px;color:var(--muted)}.rhythm .account-card{display:flex;align-items:center;gap:14px;padding:20px;background:#e9eedf;border-radius:23px;margin:22px 0}.rhythm .account-card .avatar{width:49px;height:49px;background:#d7e3c5;font-size:18px}.rhythm .account-card h2{font-size:19px;margin-bottom:3px}.rhythm .account-card p{margin:0;font-size:11px;color:var(--muted)}.rhythm .connection-heading{display:flex;align-items:center;gap:12px;margin-bottom:17px}.rhythm .connection-heading h2{font-size:17px;margin:0}.rhythm .connection-heading .icon-box{width:40px;height:40px;border-radius:13px;background:#edf1e7;display:flex;align-items:center;justify-content:center}.rhythm .card p{font-size:12px}.rhythm .card h2+small{margin:-5px 0 15px}.rhythm #chatgpt-signin{background:#171c18;color:white}.rhythm #user-list .row{flex-wrap:wrap}.rhythm #user-list .row>div{max-width:100%;overflow-wrap:anywhere}.rhythm #user-list .actions{margin:0}.rhythm #user-list button{min-height:38px;padding:8px 11px;font-size:10px}.rhythm #user-invite{margin:20px 0;overflow-wrap:anywhere;padding:16px;background:#eef3e6;border-radius:16px}.rhythm #user-invite:empty{display:none}.rhythm #user-invite p{font-size:11px}.rhythm #user-invite textarea{font-size:11px}.rhythm .login-art{height:210px;display:flex;align-items:center;justify-content:center;border-radius:30px;background:var(--green);color:var(--mint);margin:18px 0 28px;overflow:hidden;position:relative}.rhythm .login-art svg{width:140px;height:140px;z-index:1}.rhythm .login-art:before,.rhythm .login-art:after{content:'';position:absolute;width:250px;height:250px;border-radius:50%;border:1px solid #d8edb620;transform:translate(90px,-40px)}.rhythm .login-art:after{width:350px;height:350px}.rhythm .login-sub{font-size:14px;line-height:1.75;max-width:300px}.rhythm .wizard-progress{display:flex;gap:5px;margin:0 0 24px}.rhythm .wizard-progress span{height:4px;flex:1;background:#e0e6d5;border-radius:5px}.rhythm .wizard-progress .done{background:#456c3c}.rhythm .app-main:has(#profile)>form,.rhythm .app-main:has(#goal)>form,.rhythm .app-main:has(#finish)>form{background:white;padding:22px;border-radius:23px;margin:23px 0}.rhythm .step+ h1{font-size:29px}.rhythm .error{background:#f9eae4;color:#a24a35;padding:16px;border-radius:15px;font-size:13px}.rhythm .loading{padding:28px 0;color:var(--muted);font-size:13px}.rhythm .status-led{width:5px;height:5px;border-radius:50%;background:#719355;display:inline-block}.rhythm .tag{font-size:10px;padding:5px 9px;border-radius:9px;background:#edf2e4;color:var(--green)}
@keyframes arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:780px){.rhythm .app-header{padding-top:30px;height:110px}.rhythm .app-main{padding-top:12px}.rhythm .bottom-nav{border:1px solid var(--line);border-bottom:0;border-radius:23px 23px 0 0;box-shadow:0 -4px 30px #223a2910}.rhythm .app-main{min-height:calc(100vh - 110px)}}
@media(max-width:360px){.rhythm .app-header,.rhythm .app-main{padding-left:17px;padding-right:17px}.rhythm h1{font-size:27px}.rhythm .calorie-card{padding:19px}.rhythm .ring{width:111px;height:111px}.rhythm .calories{font-size:45px}.rhythm .card{padding:18px}.rhythm .vital{padding:15px}.rhythm .vital-value{font-size:24px}}
@media(prefers-reduced-motion:reduce){.rhythm *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.rhythm .app-header{height:76px}.rhythm .page-intro h1:last-child{margin-bottom:0}.rhythm [data-page=today] .page-intro h1{font-size:28px;line-height:1.16}.rhythm [data-page=today] .page-intro{margin-bottom:21px}.rhythm .calorie-card{padding:20px 22px}.rhythm .calorie-body{padding:17px 0}.rhythm .ring{width:110px;height:110px}.rhythm .macro strong{display:block;line-height:1.2}.rhythm .macro-grid{margin-bottom:13px}.rhythm .section-head{margin-top:23px;margin-bottom:12px}

.rhythm #photo-remove{margin:0 0 17px;min-height:42px;font-size:12px}.rhythm .garmin-refresh{margin:15px 0 18px}.rhythm .garmin-refresh button{width:100%;min-height:43px;font-size:12px}.rhythm .garmin-refresh small{font-size:10px;margin-top:9px}
.rhythm .nutrition-estimate{background:#f0f3e9;border-radius:16px;padding:16px;margin:0 0 22px}.rhythm .nutrition-estimate strong{font-size:13px}.rhythm .nutrition-estimate small{margin:8px 0 0;font-size:11px}.rhythm input[readonly]{background:#edf1e7;color:#214d3b;font-weight:700}
.rhythm #watch-card details{margin:18px 0;padding:14px 0;border-top:1px solid #e7eadf}.rhythm #watch-card details p{margin:12px 0}.rhythm #watch-card details button{margin:8px 8px 8px 0}.rhythm #watch-card details form{margin-top:16px}.rhythm #watch-card .error{font-size:12px;margin:12px 0}
.rhythm .metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 20px}.rhythm .metric-tile{background:white;border-radius:20px;padding:17px;min-width:0}.rhythm .metric-tile strong{display:block;font-size:24px;letter-spacing:-.7px;margin:6px 0}.rhythm .metric-tile strong span{font-size:11px;font-weight:500;letter-spacing:0}.rhythm .metric-tile small{font-size:10px;overflow-wrap:anywhere}.rhythm #scales-card details{padding:13px 0;border-top:1px solid #e7eadf;margin:13px 0}.rhythm #scales-card button{margin:8px 6px 8px 0}.rhythm #scales-card form{margin-top:16px}.rhythm .scale-preview-list{max-height:350px;overflow:auto;padding:6px}.rhythm .scale-preview-list .check{align-items:start;font-size:11px;padding:10px 0;border-bottom:1px solid #eef0e7}.rhythm #scales-card h3{margin-top:20px}.rhythm #scales-card select{max-width:100%}
.rhythm .weight-sync-card h2{font-size:18px;margin-bottom:16px}.rhythm .weight-sync-card #weight-sync-settings{margin-top:12px}.rhythm #weight-sync-status{margin-top:12px}.rhythm #weight-sync-preview h3{font-size:18px;margin-bottom:12px}

.rhythm .composition-explanation{margin:0 0 12px;color:#526848;line-height:1.5}

/* Daily macronutrient targets, shared by Today and Food. */
.rhythm .macro-section{margin:20px 0 18px}.rhythm .macro-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}.rhythm .macro-heading h2{font-size:18px}.rhythm .macro-heading>span{font-size:10px;color:var(--muted);text-align:right}
.rhythm .macro-goals{gap:9px;margin-bottom:10px}.rhythm .macro-goals .macro{padding:14px 10px 13px;min-width:0;text-align:center;border:1px solid #e9eddf}.rhythm .macro-goals .macro-label{justify-content:center;margin-bottom:8px;font-size:11px;font-weight:600}.rhythm .macro-goals .macro strong{font-size:24px;margin-top:6px;line-height:1.2}.rhythm .macro-goals .macro strong span{font-size:11px}.rhythm .macro-goals .macro-target{font-size:10px;margin-top:3px}.rhythm .macro-goals .macro-remaining{font-size:10px;line-height:1.5;margin-top:9px;color:#4d6941}.rhythm .macro-goals .macro-over .macro-remaining{color:#9b593e}
.rhythm .macro-donut{position:relative;width:76px;height:76px;max-width:100%;margin:0 auto}.rhythm .macro-donut svg{width:100%;height:100%;transform:rotate(-90deg);fill:none}.rhythm .macro-donut circle{stroke-width:6}.rhythm .macro-track{stroke:#edf1e8}.rhythm .macro-fill{stroke:#83a16b;stroke-linecap:round;transition:stroke-dashoffset .6s ease-out}.rhythm .macro:nth-child(2) .macro-fill{stroke:#d8a078}.rhythm .macro:nth-child(3) .macro-fill{stroke:#aa95c5}.rhythm .macro-donut>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;color:#3c5545;letter-spacing:-.5px}.rhythm .macro-help{color:var(--muted);font-size:10px;line-height:1.7}.rhythm .macro-help summary{cursor:pointer;padding:4px 0}.rhythm .macro-help p{margin:9px 0}.rhythm .macro-help a{font-size:10px}
@media(max-width:370px){.rhythm .macro-goals{gap:6px}.rhythm .macro-goals .macro{padding-left:7px;padding-right:7px}.rhythm .macro-goals .macro-target,.rhythm .macro-goals .macro-remaining{font-size:9px}.rhythm .macro-donut{width:68px;height:68px}}

/* Confirmed Enduro-day assessment and temporary calorie/carbohydrate proposal. */
.rhythm .training-card{margin-top:16px;padding:20px}.rhythm .training-card .card-top{font-size:15px;font-weight:800}.rhythm .training-intro{font-size:12px;color:var(--muted);margin:13px 0}.rhythm .training-assessment{margin:8px 0;padding:0;background:none;border:0}.rhythm .training-assessment summary{font-size:12px;font-weight:700;padding:9px 0;cursor:pointer}.rhythm .training-assessment fieldset{border:0;margin:10px 0 14px;padding:0;min-width:0}.rhythm .training-assessment legend{font-size:12px;font-weight:600;margin-bottom:8px}.rhythm .training-efforts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.rhythm .training-efforts label{margin:0;position:relative}.rhythm .training-efforts span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #dfe5d7;border-radius:13px;font-size:12px;background:#f6f7f0;cursor:pointer}.rhythm .training-efforts input:checked+span{background:#214d3b;color:white;border-color:#214d3b}.rhythm .training-efforts input:focus-visible+span{outline:3px solid #81a765;outline-offset:2px}.rhythm .training-assessment small{font-size:10px;margin:7px 0 12px}.rhythm .training-assessment button{margin-top:5px}
.rhythm .training-suggestion{background:#f0f4e9;padding:15px;border-radius:16px;margin-top:12px}.rhythm .training-suggestion h3{font-size:14px;margin-bottom:8px}.rhythm .training-suggestion p{font-size:11px;line-height:1.6;color:#61715b}.rhythm .training-suggestion small{font-size:11px;line-height:1.6}.rhythm .training-suggestion button{margin-top:14px;width:100%;font-size:12px}.rhythm .training-calories{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.rhythm .training-calories>span{font-size:12px;color:#78866e}.rhythm .training-calories>strong{font-size:23px;font-weight:800;letter-spacing:-.6px}.rhythm .training-calories>b{font-weight:400;color:#91a181}.rhythm .training-applied{border:1px solid #cbdabb}.rhythm .training-food-note{font-size:10px;margin:12px 0}.rhythm .training-help{background:none;padding:0;margin:12px 0 0;border:0;font-size:10px;color:var(--muted)}.rhythm .training-help summary{cursor:pointer;font-weight:600}.rhythm .training-help p{font-size:10px;line-height:1.7;margin:10px 0}.rhythm .training-help a{font-size:10px}

/* Safe, limited Markdown in the AI interpretation; other prose stays plain text. */
.rhythm #answer{white-space:normal}
.rhythm #answer p{margin:0 0 16px}
.rhythm #answer h3{font-size:17px;line-height:1.45;margin:20px 0 10px}
.rhythm #answer ul,.rhythm #answer ol{margin:0 0 16px;padding-left:22px}
.rhythm #answer li{margin:5px 0}
.rhythm #answer strong{font-weight:800}
.rhythm #answer>:first-child{margin-top:0}
.rhythm #answer>:last-child{margin-bottom:0}

/* Explainable personal assistant, shared theme tokens. */
.rhythm .assistant-card{padding:22px;margin-bottom:24px;border:1px solid var(--line)}
.rhythm .assistant-heading{display:flex;align-items:center;gap:12px}.rhythm .assistant-heading .eyebrow{margin:0 0 5px;font-size:9px}.rhythm .assistant-heading h2{margin:0;font-size:22px}
.rhythm .assistant-actions{list-style:none;padding:0;counter-reset:steps;margin:18px 0}.rhythm .assistant-actions>li{counter-increment:steps;padding:16px 0 16px 36px;position:relative;border-top:1px solid var(--line)}.rhythm .assistant-actions>li:before{content:counter(steps);position:absolute;left:0;top:16px;font-weight:800;color:var(--muted)}.rhythm .assistant-actions h3{font-size:15px;margin:0 0 8px}.rhythm .assistant-actions p{font-size:13px;line-height:1.65;margin:6px 0}.rhythm .assistant-actions details{padding:0;background:none;border:0;margin:10px 0 0}.rhythm .assistant-actions summary{font-size:11px;cursor:pointer}.rhythm .assistant-actions .assistant-caution:before{color:#bc8a57}
.rhythm .assistant-ai{border-top:1px solid var(--line);padding-top:18px}.rhythm .assistant-ai p,.rhythm .assistant-prose{font-size:13px;line-height:1.7}.rhythm .assistant-prose p{margin:0 0 12px}.rhythm .assistant-prose ul,.rhythm .assistant-prose ol{padding-left:20px}.rhythm .assistant-prose h3{font-size:15px}.rhythm .assistant-ai>small{font-size:10px;margin-top:10px;display:block}
.rhythm .assistant-data{padding:16px 0 0;margin-top:18px;background:none;border:0;border-top:1px solid var(--line)}.rhythm .assistant-data summary{font-size:12px;font-weight:700;cursor:pointer}.rhythm .assistant-data>p{font-size:11px;line-height:1.7}.rhythm .assistant-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.rhythm .assistant-metrics>div{border:1px solid var(--line);border-radius:14px;padding:12px;min-width:0}.rhythm .assistant-metrics small{display:block;font-size:10px;color:var(--muted)}.rhythm .assistant-metrics strong{display:block;font-size:21px;margin:7px 0}.rhythm .assistant-metrics strong span{font-size:10px;font-weight:400}

/* Workout history and detail share the application's light/dark tokens. */
.rhythm .bottom-nav{padding-left:5px;padding-right:5px;gap:1px}.rhythm .bottom-nav a{font-size:8px;min-height:49px;letter-spacing:-.15px}.rhythm .bottom-nav .icon{width:20px;height:20px}
.rhythm .workout-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 12px;margin:18px 0}.rhythm .workout-stat{min-width:0}.rhythm .workout-stat small{font-size:10px}.rhythm .workout-stat strong{display:block;font-size:23px;letter-spacing:-.6px;margin-top:5px}.rhythm .workout-stat strong span{font-size:10px;font-weight:500;letter-spacing:0}.rhythm .workout-overview{border-top:3px solid var(--green)}
.rhythm .workout-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rhythm .workout-filters label{min-width:0;font-size:11px}.rhythm .workout-filters input,.rhythm .workout-filters select{font-size:12px;width:100%;min-width:0;padding:10px}
.rhythm .workout-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:16px -8px}.rhythm .workout-calendar-grid>small{text-align:center;font-size:10px;margin-bottom:8px}.rhythm .workout-calendar-grid .calendar-day{display:flex;flex-direction:column;gap:0;justify-content:center;padding:3px 0;min-height:44px;border-radius:12px;font-size:12px;background:transparent;color:var(--ink);font-weight:500}.rhythm .calendar-day>span{height:8px;line-height:8px;color:var(--green)}.rhythm .workout-calendar-grid .has-workout{background:var(--soft)}.rhythm .workout-calendar-grid .calendar-day[aria-pressed=true]{background:var(--green);color:white}.rhythm .calendar-day[aria-pressed=true]>span{color:white}.rhythm .workout-calendar-grid .calendar-day:disabled{opacity:.35;background:transparent;color:var(--muted)}
.rhythm .workout-list{display:grid;gap:10px;margin:16px 0 22px}.rhythm .workout-row{display:flex;align-items:center;gap:12px;background:var(--white);padding:18px;border-radius:20px;color:var(--ink);text-decoration:none;border:1px solid var(--line)}.rhythm .workout-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.rhythm .workout-row h3{font-size:15px;margin:5px 0}.rhythm .workout-row small{font-size:10px}.rhythm .workout-row p{font-size:11px;color:var(--muted);margin:5px 0 0}.rhythm .workout-symbol{background:var(--soft);border-radius:12px;display:flex;padding:10px;color:var(--green)}.rhythm .workout-back{display:inline-block;margin:8px 0 20px;font-size:12px}
.rhythm .workout-zone{display:grid;grid-template-columns:45px 1fr 72px;gap:10px;align-items:center;margin:17px 0;font-size:11px}.rhythm .workout-zone progress{width:100%;height:8px}.rhythm .workout-zone strong{text-align:right;font-size:10px}.rhythm .workout-review{font-size:13px;line-height:1.8;margin:20px 0}.rhythm .workout-review p{margin:0 0 12px}.rhythm .workout-review ul,.rhythm .workout-review ol{padding-left:20px}.rhythm .workout-review h3{font-size:15px;margin:15px 0 10px}.rhythm .workout-ai>small{font-size:10px;margin:12px 0}.rhythm .workout-next{background:var(--soft);border-radius:16px;padding:16px;margin:18px 0}.rhythm .workout-status{display:flex;gap:5px;flex-wrap:wrap}.rhythm .workout-status button{min-height:44px;padding:9px 10px;font-size:10px;border:1px solid var(--line)}.rhythm .workout-status button[aria-pressed=true]{background:var(--green);color:white}

/* Tap-to-explain metric cards and accessible modal bottom sheet. */
.rhythm [data-metric-help][role=button]{position:relative;cursor:pointer;outline-offset:3px}.rhythm [data-metric-help][role=button]:after{content:'ⓘ';position:absolute;right:10px;top:8px;font-size:12px;font-weight:500;line-height:1;color:var(--muted);pointer-events:none}.rhythm .calorie-card[data-metric-help]:after{color:#d8edb6;top:auto;bottom:10px}.rhythm .macro[data-metric-help]:after{right:5px;top:5px;font-size:10px}.rhythm .workout-stat[data-metric-help]{padding-right:13px}.rhythm .workout-stat[data-metric-help]:after{right:0;top:2px;font-size:10px}.rhythm .workout-zone[data-metric-help]:after{right:-12px;top:2px;font-size:9px}.rhythm .weight-number[data-metric-help]:after{right:0;top:10px}
.rhythm button.metric-help-label{display:inline;padding:2px 0;min-height:0;border-radius:3px;background:none;color:inherit;font:inherit;font-weight:inherit;text-align:left;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px}.rhythm button.metric-help-label:hover{background:none;color:var(--ink)}.rhythm .metric-help-label>span{font-size:11px;color:var(--muted)}
body.metric-help-open{overflow:hidden}.rhythm .metric-help-dialog{box-sizing:border-box;border:1px solid var(--line);border-bottom:0;border-radius:28px 28px 0 0;padding:20px 24px calc(24px + env(safe-area-inset-bottom,0px));width:min(100%,520px);max-width:100%;max-height:88vh;max-height:88dvh;margin:auto auto 0;background:var(--white);color:var(--ink);box-shadow:0 -12px 60px #0003;overflow-y:auto;overscroll-behavior:contain;animation:metric-help-enter .18s ease-out}.rhythm .metric-help-dialog::backdrop{background:#06100bc0}.rhythm .metric-help-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.rhythm .metric-help-top>span{font-size:9px;letter-spacing:1.1px;color:var(--muted);font-weight:700}.rhythm .metric-help-top button{background:var(--soft);color:var(--ink);font-size:24px;line-height:1;padding:0;min-height:44px;width:44px;flex-shrink:0;border-radius:50%}.rhythm .metric-help-dialog h2{font-size:26px;line-height:1.25;letter-spacing:-.8px;margin:0 0 12px;padding-right:10px}.rhythm .metric-help-unit{display:inline-block;font-size:11px;padding:5px 10px;background:var(--soft);border-radius:8px;margin-bottom:12px;color:var(--muted)}.rhythm .metric-help-dialog section{margin-top:18px}.rhythm .metric-help-dialog h3{font-size:12px;margin:0 0 7px;color:var(--muted)}.rhythm .metric-help-dialog p{font-size:14px;line-height:1.75;margin:0}.rhythm .metric-help-limit{background:var(--soft);border-radius:16px;padding:15px}.rhythm .metric-help-sources{display:grid;gap:8px;margin-top:22px}.rhythm .metric-help-sources small{font-size:10px}.rhythm .metric-help-sources a{font-size:12px;overflow-wrap:anywhere}.rhythm .metric-help-done{margin-top:22px;width:100%}
@keyframes metric-help-enter{from{transform:translateY(20px);opacity:.7}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.rhythm .metric-help-dialog{animation:none}}@media(min-width:780px){.rhythm .metric-help-dialog{margin:auto;border:1px solid var(--line);border-radius:26px;max-height:85vh}}

.rhythm .metric-tile[data-metric-help]>small:first-child,.rhythm .assistant-metrics>[data-metric-help]>small:first-child{padding-right:10px}:root[data-theme=dark] .rhythm button.metric-help-label:hover{background:transparent;color:var(--ink)}

.rhythm .watch-analysis>small{font-size:10px;margin:12px 0}.rhythm .watch-analysis details{padding:14px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:none;margin:12px 0}.rhythm .watch-analysis summary{font-size:12px;font-weight:700;cursor:pointer}.rhythm .watch-trend{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.rhythm .watch-trend small{font-size:9px;margin-top:5px}.rhythm .watch-trend strong{font-size:18px}.rhythm .watch-trend strong span{font-size:9px;font-weight:400}.rhythm .watch-trend p{grid-column:1/-1;font-size:10px;color:var(--muted);margin:0}.rhythm .watch-after{padding:13px 0}.rhythm .watch-after h3{font-size:14px}.rhythm .watch-after small{font-size:10px}.rhythm .watch-after p{font-size:11px;margin:8px 0}.rhythm .battery-series{width:100%;height:auto;color:var(--green);display:block;margin:15px 0}:root[data-theme=dark] .rhythm .battery-series{color:var(--accent-text)}

/* Today: a short daily picture, with detail kept within reach. */
.rhythm .home-heading{margin:8px 0 22px}.rhythm .home-heading h1{font-size:28px;max-width:310px}.rhythm .home-heading .eyebrow{font-size:10px;margin-bottom:10px}.rhythm .home-food{padding:22px;border-top:3px solid var(--green)}.rhythm .home-food-number{display:flex;align-items:baseline;gap:10px;position:relative;margin:18px 0 12px;padding-right:18px;flex-wrap:wrap}.rhythm .home-food-number>strong{font-size:43px;letter-spacing:-2px;line-height:1.1}.rhythm .home-food-number>span{font-size:12px;color:var(--muted)}.rhythm .home-food-progress{display:block;width:100%;height:8px}.rhythm .home-budget{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin:12px 0 20px}.rhythm .home-budget strong{color:var(--ink);white-space:nowrap}.rhythm .home-macros{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px}.rhythm .home-macros>div{padding-top:7px;min-width:0}.rhythm .home-macros small{font-size:10px}.rhythm .home-macros strong{display:block;font-size:17px;margin:4px 0 8px;white-space:nowrap;letter-spacing:-.5px}.rhythm .home-macros strong span{font-size:10px;font-weight:400;letter-spacing:0;color:var(--muted)}.rhythm .home-macros progress{width:100%;height:5px;display:block}.rhythm .home-macros [data-metric-help]:after{top:0;right:0;font-size:9px}.rhythm .home-vitals{margin:16px 0}.rhythm .home-vitals .vital{padding:18px;min-height:151px}.rhythm .home-vitals .vital-value{font-size:30px;margin:8px 0}.rhythm .home-vitals small{font-size:10px}.rhythm .home-vitals .vital-top{font-size:12px}
.rhythm .home-next{padding:22px;margin:18px 0}.rhythm .home-section-label{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:.8px;color:var(--muted);margin-bottom:12px;font-weight:700}.rhythm .home-section-label svg{width:19px;height:19px}.rhythm .home-next h2{font-size:19px;margin-bottom:10px}.rhythm .home-next>p{font-size:13px;line-height:1.7}.rhythm .home-next details{margin:12px 0;padding:0;background:none;border:0}.rhythm .home-next summary{font-size:11px}.rhythm .home-next details p{font-size:11px;line-height:1.7;margin-top:10px;color:var(--muted)}.rhythm .home-next>a{font-size:12px;font-weight:700}.rhythm .home-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.rhythm .home-shortcuts a{display:flex;gap:8px;align-items:center;min-height:52px;background:var(--soft);border-radius:14px;padding:12px;font-size:11px;font-weight:600}.rhythm .home-shortcuts svg{width:18px;height:18px;flex-shrink:0}
.rhythm .home-freshness{padding:12px 0;margin:10px 0;color:var(--muted)}.rhythm .home-freshness>div{display:flex;justify-content:space-between;gap:12px;font-size:10px;margin:5px 0}.rhythm .home-freshness strong{font-weight:500;text-align:right}.rhythm .home-details{border:0;border-top:1px solid var(--line);border-radius:0;padding:17px 0;background:none;margin:0}.rhythm .home-details>summary{font-size:12px;font-weight:700;cursor:pointer}.rhythm .home-details>.assistant-card{margin-top:16px}.rhythm .home-details>small{font-size:10px;margin-top:12px}.rhythm .home-details .section-head{margin-top:18px}
/* Private dialogue: compact bubbles and a bounded, scrollable conversation. */
.rhythm .coach-thread-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 10px;font-size:12px;color:var(--muted)}.rhythm .coach-thread-heading button{min-height:40px;padding:8px 12px;font-size:10px}.rhythm .coach-thread{max-height:55vh;max-height:55dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:3px 3px 12px;margin-bottom:14px;overflow-wrap:anywhere}.rhythm .coach-welcome{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:24px}.rhythm .coach-welcome h2{font-size:20px;margin-bottom:12px}.rhythm .coach-welcome p{font-size:13px;color:var(--muted);margin:0}.rhythm .coach-turn{display:grid;gap:10px;margin:0 0 20px}.rhythm .coach-user{justify-self:end;background:var(--soft);border-radius:19px 19px 5px 19px;padding:14px 16px;max-width:92%}.rhythm .coach-user p{font-size:13px;line-height:1.7;white-space:pre-wrap;margin:5px 0 0}.rhythm .coach-user small,.rhythm .coach-assistant>small{font-size:9px;display:block;color:var(--muted);margin-bottom:8px}.rhythm .coach-assistant{background:var(--white);border:1px solid var(--line);border-radius:5px 19px 19px;padding:17px 18px}.rhythm .coach-assistant .assistant-prose{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.rhythm .coach-assistant .assistant-prose p{margin:0 0 12px}.rhythm .coach-assistant .assistant-prose p:last-child{margin-bottom:0}.rhythm .coach-assistant .assistant-prose ul,.rhythm .coach-assistant .assistant-prose ol{padding-left:20px}.rhythm .coach-assistant #answer:not(:empty){background:none;padding:0;margin:0;border:0}.rhythm .coach-assistant .coach-facts{background:none;padding:10px 0 0;margin:12px 0 0;border:0;border-top:1px solid var(--line);border-radius:0}.rhythm .coach-assistant .coach-facts summary{font-size:10px}.rhythm .coach-assistant .coach-facts .card{margin:12px 0 0;padding:12px;background:var(--soft)}.rhythm .coach-assistant .coach-facts h3{font-size:12px}.rhythm .coach-assistant .coach-facts p,.rhythm .coach-assistant .coach-facts small{font-size:10px}
.rhythm .coach-composer textarea{font-size:14px;line-height:1.6;margin-bottom:10px;border-radius:17px;resize:vertical}.rhythm .coach-composer button{min-height:49px}.rhythm .coach-prompts{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}.rhythm .coach-prompts button{min-height:42px;font-size:11px;padding:10px 13px}.rhythm .coach-privacy{font-size:10px;line-height:1.65;margin:12px 0 24px}.rhythm .coach-tools{border:0;border-top:1px solid var(--line);border-radius:0;background:none;padding:17px 0;margin:0}.rhythm .coach-tools>summary{font-size:12px;font-weight:700;cursor:pointer}.rhythm .coach-tools .watch-analysis{margin-top:16px}.rhythm .coach-pending{font-size:12px;color:var(--muted);padding:10px 0}.rhythm .coach-assistant details:not([open])>section{display:none}

.rhythm .coach-composer{position:static;background:var(--bg);padding:10px 0}.rhythm .coach-assistant{scroll-margin-top:16px}
:root[data-theme=dark] .rhythm .coach-assistant #answer:not(:empty){background:none;padding:0;margin:0}

/* Sync stays beside the day title, within reach on the first screen. */
.rhythm .home-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.rhythm .home-heading>div:first-child{min-width:0}.rhythm .home-heading h1{margin-bottom:0}.rhythm .home-heading .home-sync{margin:0;flex-shrink:0}.rhythm .home-sync button{width:auto;min-height:44px;padding:11px 13px;font-size:11px;white-space:nowrap}.rhythm .home-sync .icon{width:18px;height:18px}

.rhythm .weight-insight{padding:20px;margin:16px 0;border:1px solid var(--line)}.rhythm .weight-insight p{font-size:13px;line-height:1.75;white-space:pre-line}.rhythm .weight-insight small{font-size:10px;margin-bottom:10px}.rhythm .weight-insight>a{font-size:12px;font-weight:700}

/* Keep mobile layout in the viewport, including enlarged Android text. */
html:has(body.rhythm){overflow-x:clip}
.rhythm .app-main,.rhythm .app-header{width:100%;min-width:0}
.rhythm .app-main{overflow-wrap:anywhere}
.rhythm .app-main img,.rhythm .app-main video,.rhythm .app-main svg{max-width:100%}
@media(max-width:1023px){
 :root .rhythm .bottom-nav{left:0;right:0;margin-inline:auto;transform:none;width:100%;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
 :root .rhythm .bottom-nav a{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center;padding-left:1px;padding-right:1px}
}
