[hidden]{display:none!important}.calorie-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;margin-bottom:22px}.calorie-reference{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.calorie-reference>div{display:grid;gap:5px}.calorie-reference strong{font-size:32px;letter-spacing:-1px}.calorie-reference strong small{font-size:13px;letter-spacing:0;color:var(--muted);font-weight:400}.balance-item{border:1px solid #e0e5da;border-radius:14px;padding:17px;background:#f7f8f4}.balance-item .eyebrow{font-size:10px;letter-spacing:1px}.balance-item p{font-size:12px;margin-top:6px}.balance-item b{font-size:14px}.balance-value{font-size:30px;font-weight:650;letter-spacing:-1px;margin:9px 0}.balance-value small{font-size:12px;letter-spacing:0;font-weight:400}.balance-item.good{background:#edf5e6;border-color:#c9dcba;color:#355d2e}.balance-item.amber{background:#fcf4e5;border-color:#eddbb7;color:#8e611c}.balance-item.red{background:#fbefed;border-color:#ebd3ce;color:#9b4245}.calorie-panel>p{margin-top:15px}.reset-quantity{background:#eef3e7;color:#4c6944;border:1px solid #d8e1d0;border-radius:8px;width:31px;height:34px;font-size:21px;flex-shrink:0}.ingredient .amount{gap:6px}.ingredient .basis{max-width:520px}.mealtools .button{font-size:11px;padding:9px 11px}.meal summary{gap:12px}.meal summary .macro{flex-shrink:0}.meal summary h3{margin-top:6px}.football-note p{margin-top:9px}.football-note .button{margin-top:10px}input[type=search]{width:100%}.catalog .history-item>div{flex:1}.catalog .history-item b{font-size:13px}.catalog .history-item .button{flex-shrink:0}.exercise-thumb{width:76px;height:54px;flex-shrink:0}.exercise-heading .row{align-items:center}.exercise-entry{display:grid;grid-template-columns:1fr 1fr;gap:14px}.exercise-entry input{width:100%!important}.exercise-entry .label{font-size:11px}.set-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.set-chip{border:1px solid #e1e6da;border-radius:9px;background:#f9faf7;display:flex;align-items:center;gap:7px;padding:8px 10px;font-size:10px;cursor:pointer}.set-chip input{height:16px;width:16px}.set-chip.done{background:#eef5e8;border-color:#b9cca8}.exercise-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px}.exercise-choice{display:flex;gap:9px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:9px;cursor:pointer}.exercise-choice .exercise-thumb{width:58px;height:44px}.exercise-choice>span{flex:1;font-size:11px;line-height:1.5}.exercise-choice small{display:block;color:var(--muted)}.exercise-choice input{flex-shrink:0}.archive-entry{padding:14px 0;border-top:1px solid var(--line)}.archive-entry summary{cursor:pointer;font-size:13px;font-weight:600}.archive-entry p{margin-top:9px}.weight-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:19px;display:grid;gap:14px}.weight-card h3{font-size:14px}.weight-card.selected-weight{border-color:#9db58b}.pending-weights{display:grid;grid-template-columns:1fr 1fr;gap:14px}.weight-entry{display:flex;gap:10px}.weight-entry input{width:100%;flex:1;min-width:0;font-size:20px;font-weight:550}.weight-entry .button{flex-shrink:0}.weight-scale{padding:10px;border-radius:11px;background:#f5f7ef}.weight-scale input[type=range]{width:100%;accent-color:var(--green);padding:9px 0;border:0;background:none}.weight-scale .row{flex-wrap:wrap;gap:6px}.weight-card .row .button{font-size:11px;padding:9px 12px}.weight-card .row .badge{white-space:nowrap}.weight-card .row h3{line-height:1.5}.score-pending{display:grid;gap:7px;background:#f0f2eb;border-radius:13px;padding:17px;margin-top:20px}.score-pending span{font-size:12px;color:var(--muted);line-height:1.7}.review-stats{grid-template-columns:repeat(4,1fr);margin:18px 0}.review-stats>div{padding:14px}.review-stats strong{font-size:24px}.review-stats span{line-height:1.6}.grid-fields .full{grid-column:1/-1}.grid-fields .full .label{width:100%}.label input{width:100%}.dialogactions .button{white-space:normal}.table-wrap td .small{font-size:11px}#barcode-video{width:100%;max-height:260px;border-radius:12px;margin-top:15px;background:#17291f}#barcode-status{font-size:12px;margin-top:12px}.exercise .range{line-height:1.7}.hero .badge{font-size:10px;max-width:210px}.hero .badge.good{background:#d4eb91;color:#254a29}.hero .badge.red{background:#f3c6bd;color:#7f3234}.hero .badge.amber{background:#f5dfac;color:#7e591e}.hero .hero-number small{font-size:12px;font-weight:400}.hero .button{font-size:11px}.main-error{padding:30px;background:#faeeec;border-radius:15px;color:var(--red)}
@media(max-width:1050px){.topbar{height:70px;padding:0 22px}.nav{position:fixed;bottom:0;left:0;right:0;z-index:5;background:#fffefb;border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;gap:0}.nav button{flex:1;min-width:0;flex-direction:column;gap:5px;font-size:10px;padding:7px 2px;border-radius:10px}.nav button .icon{width:19px;height:19px}.layout{padding-bottom:110px}#toast{bottom:90px}.workout-layout{grid-template-columns:1fr 250px}}
@media(max-width:760px){.calorie-panel{padding:16px;border-radius:16px}.calorie-reference{align-items:start;gap:10px}.calorie-reference .button{font-size:10px;padding:8px 10px;min-height:36px;max-width:110px}.calorie-reference strong{font-size:29px}.calorie-reference .eyebrow{font-size:10px}.calorie-reference .small{font-size:10px}.balance-item{padding:14px}.balance-item .eyebrow{font-size:9px}.balance-value{font-size:29px}.balance-item b{font-size:13px}.calorie-panel .two-cols{gap:9px}.meal .mealbody{padding:14px}.mealtools .row{width:100%}.mealtools .row .button{flex:1;min-width:110px;font-size:10px}.meal summary .macro{font-size:11px}.ingredient .amount input{width:65px}.reset-quantity{width:27px;font-size:19px}.ingredient .basis{font-size:9px;max-width:190px}.ingredient .name{font-size:11px}.mealbottom .button{font-size:11px}.toolbar .button{min-width:120px}.exercise-entry{gap:10px}.exercise-entry .label{font-size:10px;line-height:1.7}.exercise-thumb{width:64px;height:48px}.exercise h3{font-size:13px}.exercise .range{font-size:10px}.exercise-picker{grid-template-columns:1fr}.exercise-choice>span{font-size:12px}.exercise-choice .exercise-thumb{width:66px;height:48px}.workout-layout{grid-template-columns:1fr}.pending-weights{grid-template-columns:1fr}.weight-card{padding:16px}.weight-entry .button{font-size:11px;padding:10px 13px}.weight-entry input{font-size:18px}.weight-card h3{font-size:13px}.weight-scale .row{font-size:10px}.review-stats{grid-template-columns:1fr 1fr}.review-stats>div{padding:12px}.review-stats>div:nth-child(2){border-right:0}.review-stats>div:nth-child(3){border-top:1px solid var(--line);border-right:1px solid var(--line)}.review-stats strong{font-size:22px}.review-stats span{font-size:10px}.score-pending{padding:14px}.nav button{font-size:9px}.table-wrap td{font-size:11px}.calorie-panel>.small{font-size:10px}.hero .badge{max-width:148px}.catalog .history-item{align-items:start;gap:10px}.catalog .history-item b{font-size:12px}}
@media(max-width:380px){.ingredient .basis{max-width:145px}.ingredient .amount input{width:55px}.ingredient .amount{gap:4px}.reset-quantity{width:25px}.hero .badge{max-width:120px}.hero-inner{gap:14px}.weight-card .row h3{font-size:12px}}

.strength-only{display:contents}

/* Registro diario y navegación semanal */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.notice-button{position:relative}.notice-count{position:absolute;top:-5px;right:-6px;display:grid;place-content:center;min-width:19px;height:19px;padding:0 4px;border-radius:99px;background:#a63336;color:#fff;font-size:10px;font-weight:700;border:1px solid white}
.reminder-list{display:grid;gap:8px}.reminder-list button{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;border-radius:9px;text-align:left;background:#eef3e7;color:var(--ink)}.reminder-list span{white-space:nowrap;font-size:12px}
.week-navigation{display:flex;align-items:center;gap:7px;margin:0 0 9px}.week-navigation span{padding:0 4px;font-size:14px;font-weight:650;white-space:nowrap}.week-navigation button{min-height:36px;padding:6px 10px;background:#fff;border:1px solid var(--line);border-radius:9px;color:var(--ink)}.week-navigation button:last-child{font-size:12px}
.food-picker{display:grid;gap:5px}.food-query{width:100%}.food-options{max-height:14rem;overflow-y:auto;padding:4px;border:1px solid var(--line);border-radius:10px;background:#fff}.food-options [role=option]{display:block;width:100%;padding:9px;text-align:left;background:#fff;border-radius:6px;color:var(--ink)}.food-options [role=option]:hover,.food-options [aria-selected=true]{background:#eaf0e2}.food-options>p{padding:8px}.saved-meal p{flex:1 1 185px}.saved-meal p,.measure-schedule p{margin:0}
.series-mode{margin-bottom:12px}.series-row{display:grid;grid-template-columns:minmax(38px,.7fr) minmax(0,1fr) minmax(0,1fr) minmax(64px,.8fr);align-items:end;gap:8px;padding:10px 0;border-top:1px solid var(--line);font-size:12px}.series-row>b,.series-row>.check{padding-bottom:8px}.series-row input[type=number]{width:100%;padding:8px}.series-row .label{font-size:12px;min-width:0}
.weight-direct,.measure-schedule{display:grid;gap:10px}.measure-schedule{border-top:1px solid var(--line);padding-top:12px;justify-items:start}.measure-schedule .button{white-space:normal;text-align:left}
.health-week table{min-width:520px}.health-week td:first-child,.health-week th:first-child{position:sticky;left:0;background:white;white-space:nowrap}.health-week tbody tr:nth-child(even){background:#f5f7f3}.health-week tbody tr:nth-child(even) td:first-child{background:#f5f7f3}
.metric-bar{display:grid;gap:4px;min-width:55px;font-variant-numeric:tabular-nums}.metric-bar-track{display:block;height:5px;border-radius:6px;background:#e4e9e4}.metric-bar-track span{display:block;height:100%;background:#46745a;border-radius:6px}.metric-bar.screen .metric-bar-track span{background:#55728d}.metric-bar.energy .metric-bar-track span{background:#6a637b}.metric-bar.hunger .metric-bar-track span{background:#9c6c3d}
.recents{margin-top:12px;font-size:13px}.recents summary{cursor:pointer;color:var(--green)}.recents .row{padding-block:6px;border-top:1px solid var(--line)}.recents .button,.habit-prompt .button{font-size:11px;min-height:32px}.habit-prompt .row{margin-top:7px}
.sport-card{display:grid;gap:14px;margin-bottom:16px}.sport-card h2 .icon{margin-right:4px}.sport-card p,.sport-entry p{margin:0}.sport-card .row:last-child>p{flex:1 1 155px}.sport-entry{margin:8px 0 12px}.sport-result{min-height:48px;margin-top:16px}.sport-result strong{font-size:17px}.activity-description{margin-top:16px}.sport-description-tools{margin-top:8px}.dictation{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.sport-description-tools [role=status]:empty,[data-description-status]:empty{display:none}
.chat-launch{background:var(--green);color:white;border-color:var(--green)}
.shared-entry{max-width:450px;margin:8dvh auto 0}
.shared-entry form{display:grid;gap:15px;margin-top:20px}
.shared-entry form .button{justify-self:start}
.shared-entry form [role=alert]:empty{display:none}
.shared-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.shared-bar .button{min-height:30px;padding:5px 9px}
.shared-status{display:block;margin-top:3px}
#dialog.chat-dialog{width:min(620px,calc(100vw - 24px));max-height:94dvh}
.chat-dialog .dialoghead{padding:12px 20px}
.chat-dialog .dialogbody{padding:12px 20px 16px}
.chat-form{display:grid;gap:10px}
.chat-context{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.chat-date{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.chat-date input{padding:6px 8px}
.chat-log{display:flex;flex-direction:column;align-items:flex-start;gap:9px;overflow:auto;overscroll-behavior:contain;min-height:min(192px,28dvh);max-height:min(350px,36dvh);border:1px solid var(--line);background:var(--paper);padding:12px;border-radius:15px}
.chat-bubble{margin:0;max-width:93%;padding:9px 12px;border-radius:4px 14px 14px;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;flex-shrink:0}
.chat-form .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.chat-guide{background:white}
.chat-user{align-self:flex-end;background:#dfebd5;border-radius:14px 4px 14px 14px}
.chat-warning{background:#f9e9e6;color:var(--red);padding:8px;border-radius:8px}
.chat-composer{display:grid;gap:7px}
.chat-text textarea{min-height:54px;max-height:120px;resize:vertical;font-size:16px}
.chat-send,.chat-commit{justify-content:space-between;gap:8px}
.chat-commit{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.chat-commit p{flex:1 1 160px;margin:0}
.chat-send .dictation{flex:1}
.dictation [role=status]:empty,[data-chat-projection]:empty{display:none}
.chat-example,.chat-review{font-size:13px}
.chat-example summary,.chat-review summary{cursor:pointer;font-weight:650}
.chat-example p,.chat-pending ul{margin:6px 0;color:var(--muted)}
.chat-review{display:grid;gap:7px}
.chat-review:empty{display:none}
.chat-proposal-list,.chat-pending ul{max-height:min(120px,17dvh);overflow:auto;overscroll-behavior:contain}
.chat-proposal-list{display:grid;gap:3px;margin-top:5px}
.chat-proposal{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#fafbf8;border:1px solid var(--line);padding:5px 8px;border-radius:8px;font-size:12px}
.chat-proposal .check{display:flex;align-items:flex-start;gap:8px;min-width:0;overflow-wrap:anywhere}
.chat-proposal .linkbtn{flex-shrink:0}
@media(max-width:500px){.chat-dialog .dialoghead,.chat-dialog .dialogbody{padding-inline:12px}#activity-form .grid-fields>[data-activity-position],#activity-form .grid-fields>[data-activity-football-weight]{grid-column:1/-1}}
@media(max-width:390px){.topbar{column-gap:8px;padding:0 12px}.top-actions{gap:5px}.series-row .check{gap:3px;font-size:10px}.week-navigation span{font-size:12px}}
@media print{.week-navigation{display:none}}
