.nutritionPage{--nutrition-ink: #172033;--nutrition-muted: #687386;--nutrition-border: #e2e7ef;--nutrition-blue: #4169e1;--nutrition-green: #15805f;--nutrition-red: #c34444;max-width:1220px;margin:0 auto;padding:28px 22px 70px;color:var(--nutrition-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;text-align:left;font-size:15px;line-height:1.5}.nutritionPage *,.nutritionPage *:before,.nutritionPage *:after{box-sizing:border-box}.nutritionPage h1,.nutritionPage h2,.nutritionPage h3,.nutritionPage p{margin:0}.nutritionPage h1{font-size:clamp(1.7rem,3vw,2.25rem);line-height:1.2;margin:3px 0 8px}.nutritionPage h2{font-size:1.35rem}.nutritionPage h3{font-size:1rem}.nutritionPage button{width:auto;margin:0;padding:10px 14px;border:1px solid var(--nutrition-border);border-radius:10px;background:#fff;color:var(--nutrition-ink);font:inherit;font-size:.85rem;font-weight:650;cursor:pointer;line-height:1.4}.nutritionPage button:hover:not(:disabled){background:#f1f4f9;border-color:#bcc9df}.nutritionPage button:disabled{opacity:.5;cursor:not-allowed}.nutritionPage button.nutritionPrimary{background:var(--nutrition-blue);border-color:var(--nutrition-blue);color:#fff}.nutritionPage button.nutritionPrimary:hover:not(:disabled){background:#3155c3}.nutritionPage button.nutritionDanger{color:var(--nutrition-red)}.nutritionPage input:not([type=checkbox]){display:block;min-width:0;width:100%;margin:0;padding:11px 12px;border:1px solid #d7dfeb;border-radius:10px;background:#fff;color:var(--nutrition-ink);font:inherit;line-height:1.4}.nutritionPage input:disabled{background:#f5f7fb;color:var(--nutrition-muted)}.nutritionPage input[type=checkbox]{width:18px;height:18px;accent-color:var(--nutrition-blue);cursor:pointer}.nutritionPage button:focus-visible,.nutritionPage input:focus-visible{outline:3px solid #b4c4ff;outline-offset:3px}.nutritionPage label{display:flex;flex-direction:column;gap:7px;font-size:.85rem;font-weight:650}.nutritionEyebrow{font-size:.73rem;font-weight:800;text-transform:uppercase;letter-spacing:.13em;color:var(--nutrition-blue)}.nutritionHeader,.nutritionSection{border:1px solid var(--nutrition-border);border-radius:18px;background:#fff;box-shadow:0 10px 26px #202d470d;margin-bottom:20px}.nutritionHeader{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 28px;background:linear-gradient(125deg,#fff 55%,#edf4ff)}.nutritionHeader p{color:var(--nutrition-muted)}.nutritionDateControls{min-width:240px}.nutritionDateControls>div{display:flex;gap:8px;margin-top:6px}.nutritionSection{padding:26px}.nutritionSectionHeading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.nutritionActions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.nutritionBadge{border-radius:999px;background:#edf1ff;color:#3853a1;padding:7px 12px;font-size:.8rem;font-weight:650;white-space:nowrap}.nutritionEnergyGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.nutritionEnergyCard{--accent: var(--nutrition-blue);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:24px;min-height:166px;border:1px solid var(--nutrition-border);border-radius:18px;background:#fff;box-shadow:0 10px 26px #202d470f}.nutritionEnergyCard:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--accent)}.nutritionEnergyCard>span{color:var(--nutrition-muted);font-size:.88rem;font-weight:750}.nutritionEnergyCard>strong{color:var(--accent);font-size:clamp(1.9rem,3.5vw,2.65rem);font-variant-numeric:tabular-nums;line-height:1.1}.nutritionEnergyCard strong small{font-size:.95rem;font-weight:550}.nutritionEnergyCard p{color:var(--nutrition-muted);font-size:.8rem}.nutritionEnergyCard.intake{--accent: #172033}.nutritionEnergyCard.deficit{--accent: var(--nutrition-green);background:#f5fcf8}.nutritionEnergyCard.surplus{--accent: var(--nutrition-red);background:#fff8f8}.nutritionEnergyCard.pending{--accent: #8792a4}.nutritionBurnGrid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.nutritionBmr{display:flex;flex-direction:column;gap:4px}.nutritionBmr>span{color:var(--nutrition-muted);font-size:.88rem}.nutritionBmr>strong{font-size:1.8rem;font-variant-numeric:tabular-nums}.nutritionBmr small{font-size:.85rem;font-weight:500;color:var(--nutrition-muted)}.nutritionProfile{margin:14px 0}.nutritionProfile>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid #eef1f6;padding:8px 0;font-size:.85rem}.nutritionProfile dt{color:var(--nutrition-muted)}.nutritionProfile dd{margin:0;text-align:right;font-weight:650}.nutritionPage .nutritionHelper{color:var(--nutrition-muted);font-size:.8rem;line-height:1.6;margin:10px 0}.nutritionActivityForm{padding:22px;border:1px solid var(--nutrition-border);border-radius:14px;background:#f8faff;align-self:start}.nutritionInputUnit{display:flex;align-items:center;position:relative;margin-top:9px}.nutritionInputUnit input{padding-right:60px!important;font-size:1.3rem!important;font-weight:650!important}.nutritionInputUnit>span{position:absolute;right:16px;color:var(--nutrition-muted);font-size:.85rem;pointer-events:none}.nutritionActivityFooter{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px}.nutritionActivityFooter>span{color:var(--nutrition-muted);font-size:.77rem}.nutritionFormula{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;border-top:1px solid var(--nutrition-border);margin-top:24px;padding-top:18px;font-size:.9rem}.nutritionFormula strong{font-variant-numeric:tabular-nums;color:var(--nutrition-blue)}.nutritionFormula small{color:var(--nutrition-muted);font-size:.8rem;font-weight:500}.nutritionAlert,.nutritionNotice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;margin-bottom:18px;border:1px solid #f0cece;border-radius:12px;background:#fff0f0;color:#9e3333;font-size:.9rem}.nutritionNotice{border-color:#bde5d6;background:#e9f7f1;color:#15805f}.nutritionInlineError{color:var(--nutrition-red);font-size:.85rem}.nutritionAddPanel{padding:20px;margin-bottom:22px;background:#f5f7fb;border:1px solid var(--nutrition-border);border-radius:14px}.nutritionPanelHeading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.nutritionLibraryList{list-style:none;padding:0;margin:12px 0 0;max-height:310px;overflow-y:auto}.nutritionLibraryList li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--nutrition-border)}.nutritionLibraryList li>div{min-width:0}.nutritionLibraryList strong{display:block;font-size:.9rem;overflow-wrap:anywhere}.nutritionLibraryList small{display:block;color:var(--nutrition-muted);font-size:.77rem;margin-top:3px}.nutritionIngredientForm{margin-top:16px;max-width:420px}.nutritionFoodFormGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}.nutritionFoodFormGrid .nutritionWide{grid-column:1 / -1}.nutritionMacroGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}.nutritionMacroGrid>div{display:flex;flex-direction:column;gap:4px;padding:15px 18px;border:1px solid var(--nutrition-border);border-radius:12px;background:#f8faff}.nutritionMacroGrid span{color:var(--nutrition-muted);font-size:.78rem;font-weight:650}.nutritionMacroGrid strong{font-size:1.35rem;font-variant-numeric:tabular-nums}.nutritionMacroGrid small{color:var(--nutrition-muted);font-size:.8rem;font-weight:500}.nutritionDiary{display:flex;flex-direction:column;gap:10px}.nutritionFoodCard{border:1px solid var(--nutrition-border);border-radius:13px;overflow:hidden}.nutritionFoodRow{display:flex;align-items:center;gap:20px;padding:16px 18px}.nutritionPage button.nutritionFoodToggle{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left;background:transparent;border:0;padding:0}.nutritionFoodToggle strong{display:block;font-size:.95rem;overflow-wrap:anywhere}.nutritionFoodToggle small{display:block;font-size:.75rem;color:var(--nutrition-muted);font-weight:500;margin-top:3px}.nutritionChevron{font-size:1.5rem;color:var(--nutrition-muted)}.nutritionFoodMacros{display:flex;gap:18px;color:var(--nutrition-muted);font-size:.7rem}.nutritionFoodMacros b{display:block;color:var(--nutrition-ink);font-weight:650;font-size:.85rem}.nutritionFoodCalories{min-width:90px;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.nutritionFoodCalories small{font-size:.75rem;font-weight:500;color:var(--nutrition-muted)}.nutritionFoodDetails{border-top:1px solid var(--nutrition-border);background:#f8faff;padding:16px 18px}.nutritionTableScroll{width:100%;overflow-x:auto}.nutritionPage table{border-collapse:collapse;width:100%;min-width:640px;font-size:.8rem;background:transparent}.nutritionPage th,.nutritionPage td{padding:10px 12px;border:0;border-bottom:1px solid #e7ecf4;text-align:right;white-space:nowrap}.nutritionPage th{color:var(--nutrition-muted);font-size:.72rem;font-weight:650;background:transparent}.nutritionPage th:first-child,.nutritionPage td:first-child{text-align:left;white-space:normal;min-width:150px}.nutritionExcluded td{opacity:.5}.nutritionFoodDetailsFooter{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}.nutritionEmpty{text-align:center;padding:32px 16px;color:var(--nutrition-muted)}.nutritionEmpty h3{color:var(--nutrition-ink);margin-bottom:6px}@media(max-width:900px){.nutritionSectionHeading{align-items:flex-start;flex-direction:column}.nutritionHeader{align-items:flex-start}.nutritionFoodFormGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.nutritionFoodMacros{gap:10px}}@media(max-width:650px){.nutritionPage{padding:18px 12px 50px}.nutritionHeader{flex-direction:column;padding:20px}.nutritionDateControls{width:100%;min-width:0}.nutritionSection{padding:18px}.nutritionEnergyGrid{grid-template-columns:1fr;gap:10px}.nutritionEnergyCard{min-height:130px;padding:20px}.nutritionEnergyCard>strong{font-size:2rem}.nutritionBurnGrid{grid-template-columns:1fr;gap:20px}.nutritionActivityForm{padding:18px}.nutritionMacroGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.nutritionMacroGrid>div{padding:12px}.nutritionFoodRow{gap:12px;flex-wrap:wrap;padding:14px}.nutritionPage button.nutritionFoodToggle{flex-basis:calc(100% - 110px)}.nutritionFoodCalories{order:1}.nutritionFoodMacros{order:2;flex-basis:100%;padding-left:23px;gap:24px}.nutritionFoodMacros b{display:inline}.nutritionFoodDetails{padding:12px}.nutritionFormula{align-items:flex-start;flex-direction:column}.nutritionAddPanel{padding:14px}.nutritionActions{gap:7px}.nutritionAlert{flex-wrap:wrap}.nutritionPage input:not([type=checkbox]){font-size:16px}}.recipesPage{--recipes-ink: #172033;--recipes-muted: #687386;--recipes-border: #e2e7ef;--recipes-blue: #4169e1;--recipes-blue-soft: #edf1ff;--recipes-red: #c34444;max-width:1220px;margin:0 auto;padding:28px 22px 70px;color:var(--recipes-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}.recipesPage,.recipesPage *,.recipesPage *:before,.recipesPage *:after{box-sizing:border-box}.recipesPage h1,.recipesPage h2,.recipesPage h3,.recipesPage h4{margin:0;color:var(--recipes-ink);line-height:1.3}.recipesPage button,.recipesPage input{font:inherit}.recipesPage button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.recipesPage button:focus-visible{outline:3px solid var(--recipes-blue);outline-offset:3px}.recipesPage svg{display:block;width:18px;height:18px;flex:0 0 auto;pointer-events:none}.recipesPage .recipesHeader{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;padding:24px 28px;border:1px solid var(--recipes-border);border-radius:18px;background:linear-gradient(125deg,#fff 55%,#edf4ff);box-shadow:0 10px 26px #202d470d}.recipesPage .recipesEyebrow{color:var(--recipes-blue);font-size:.73rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.recipesPage .recipesHeader h1{margin-top:3px;font-size:clamp(1.7rem,3vw,2.25rem)}.recipesPage .recipesHeader p{margin:6px 0 0;color:var(--recipes-muted);font-size:.9rem}.recipesPage .addRecipe{flex:0 0 auto}.recipesPage .recipesPrimaryButton,.recipesPage .recipesTodayButton,.recipesPage .recipeNutritionButton,.recipesPage .recipeEditButton,.recipesPage .iconBtn,.recipesPage .clearBtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;padding:10px 14px;border:1px solid #d8dfeb;border-radius:10px;background:#fff;color:#4d586b;font-size:.8125rem;font-weight:750;line-height:1.25;white-space:nowrap;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.recipesPage .recipesPrimaryButton{padding:11px 17px;border-color:var(--recipes-blue);background:var(--recipes-blue);color:#fff;font-size:.86rem}.recipesPage .recipesToolbar{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding:14px 16px;border:1px solid var(--recipes-border);border-radius:14px;background:#fff}.recipesPage .recipesSearch{position:relative;flex:1;min-width:0}.recipesPage .recipesSearch>svg{position:absolute;top:50%;left:13px;transform:translateY(-50%);color:#8a94a5}.recipesPage .searchInput{display:block;width:100%;min-width:0;min-height:44px;margin:0;padding:10px 12px 10px 40px;border:1px solid #cfd6e2;border-radius:10px;background:#fafbfe;color:var(--recipes-ink);font-size:.875rem;line-height:1.4;outline:none;-webkit-appearance:none;appearance:none}.recipesPage .searchInput::placeholder{color:#7a8597}.recipesPage .searchInput:focus-visible{border-color:var(--recipes-blue);box-shadow:0 0 0 3px #4169e121;background:#fff}.recipesPage .clearBtn{flex:0 0 auto;padding-right:12px;padding-left:12px}.recipesPage .recipesCount{flex:0 0 auto;color:var(--recipes-muted);font-size:.78rem;font-weight:650;font-variant-numeric:tabular-nums}.recipesPage .recipes{display:grid;gap:12px;min-width:0;margin:0;padding:0;background:transparent}.recipesPage .recipe{min-width:0;margin:0;border:1px solid var(--recipes-border);border-radius:16px;background:#fff;box-shadow:0 6px 18px #202d4709}.recipesPage .recipe.isExpanded{border-color:#cdd8f1}.recipesPage .switch{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 20px}.recipesPage .recipeHeading{flex:1;min-width:0}.recipesPage .recipeHeading h2{overflow-wrap:anywhere;font-size:1rem;font-weight:750}.recipesPage .recipeMeta{display:block;margin-top:4px;color:var(--recipes-muted);font-size:.76rem}.recipesPage .switchBtns,.recipesPage .recipeTodayActions,.recipesPage .recipeManageActions{display:flex;align-items:center;gap:8px}.recipesPage .switchBtns{flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:12px}.recipesPage .recipesTodayButton{border-color:#d5defb;background:var(--recipes-blue-soft);color:var(--recipes-blue)}.recipesPage .iconBtn{flex:0 0 44px;width:44px;height:44px;padding:0}.recipesPage .recipeRemoveButton{color:var(--recipes-muted)}.recipesPage .recipeDeleteButton{border-color:transparent;background:transparent;color:#a95a5a}.recipesPage .recipeNutritionButton{border-color:transparent;background:#f5f7fb}.recipesPage .recipeNutritionButton svg{width:16px;height:16px;transition:transform .15s ease}.recipesPage .recipeNutritionButton[aria-expanded=true]{background:#edf1ff;color:var(--recipes-blue)}.recipesPage .recipeNutritionButton[aria-expanded=true] svg{transform:rotate(180deg)}.recipesPage .ingredientsWrap{min-width:0;padding:18px 20px 20px;border-top:1px solid var(--recipes-border);border-radius:0 0 15px 15px;background:#f8faff}.recipesPage .recipeNutritionHeading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.recipesPage .recipeNutritionHeading h3{font-size:.83rem;font-weight:750}.recipesPage .recipeNutritionHeading>span{color:var(--recipes-muted);font-size:.73rem}.recipesPage .ingredients{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));align-items:start;gap:12px;min-width:0;width:100%}.recipesPage .ingredient{min-width:0;margin:0;padding:0;border:1px solid #dce3ee;border-radius:12px;background:#fff}.recipesPage .nutritionLabel{min-width:0;padding:16px;color:var(--recipes-ink);font-family:inherit;font-variant-numeric:tabular-nums}.recipesPage .ingredientName{display:flex;align-items:center;min-height:44px;margin-bottom:12px;padding:0 0 12px;border-bottom:1px solid var(--recipes-border)}.recipesPage .ingredientName h4{overflow-wrap:anywhere;font-size:.9rem;font-weight:750}.recipesPage .measurements{padding-bottom:10px;border-bottom:1px solid var(--recipes-border)}.recipesPage .amountUsed,.recipesPage .servingSize{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:3px 0;font-size:.78rem}.recipesPage .measurements span{color:var(--recipes-muted)}.recipesPage .measurements strong{overflow-wrap:anywhere;font-weight:700;text-align:right}.recipesPage .calories{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:2px solid #172033}.recipesPage .calories strong:first-child{font-size:.88rem}.recipesPage .calories strong:last-child{font-size:1.55rem;font-weight:800;line-height:1.2;text-align:right;overflow-wrap:anywhere}.recipesPage .nutrients{font-size:.8125rem}.recipesPage .nutrientRow{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #edf0f5}.recipesPage .nutrientRow strong{font-weight:750}.recipesPage .nutrientRow>:first-child{min-width:0;overflow-wrap:anywhere}.recipesPage .nutrientRow>:last-child{flex:0 1 auto;min-width:0;overflow-wrap:anywhere;text-align:right}.recipesPage .nutrientRow--indent{padding-left:10px;color:#5f6a7b}.recipesPage .nutrientRow--subIndent{padding-left:20px;color:#5f6a7b;font-size:.75rem}.recipesPage .nutrientRow--protein{padding-bottom:0;border-bottom:0}.recipesPage .recipesEmpty{padding:28px 20px;border:1px dashed #d3dce9;border-radius:14px;background:#fafbfe;text-align:center}.recipesPage .recipesEmpty strong{font-size:.95rem}.recipesPage .recipesEmpty p{margin:6px 0 0;color:var(--recipes-muted);font-size:.83rem}@media(hover:hover){.recipesPage .recipesPrimaryButton:hover{border-color:#3156c6;background:#3156c6}.recipesPage .recipesTodayButton:hover{border-color:#becdf8;background:#e2e9ff;color:#3156c6}.recipesPage .iconBtn:hover,.recipesPage .recipeEditButton:hover,.recipesPage .clearBtn:hover{border-color:#bdc8d8;background:#f3f6fb;color:var(--recipes-ink)}.recipesPage .recipeNutritionButton:hover{background:#e9eef9;color:var(--recipes-blue)}.recipesPage .recipeDeleteButton:hover{border-color:#efcece;background:#fff0f0;color:var(--recipes-red)}}@media(max-width:950px){.recipesPage .switch{align-items:flex-start;flex-direction:column;gap:14px}.recipesPage .switchBtns{width:100%;justify-content:space-between}}@media(max-width:600px){.recipesPage{padding:16px 12px 50px}.recipesPage .recipesHeader{align-items:flex-start;flex-direction:column;gap:16px;padding:19px 16px;border-radius:14px}.recipesPage .recipesHeader p{font-size:.84rem}.recipesPage .recipesToolbar{flex-wrap:wrap;gap:10px;padding:12px}.recipesPage .recipesCount{flex-basis:100%;font-size:.74rem}.recipesPage .searchInput{font-size:1rem}.recipesPage .recipe{border-radius:14px}.recipesPage .switch{padding:16px}.recipesPage .switchBtns{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}.recipesPage .recipesTodayButton,.recipesPage .recipeNutritionButton{flex:1}.recipesPage .recipeNutritionButton{justify-content:space-between}.recipesPage .ingredientsWrap{padding:16px 12px 12px;border-radius:0 0 13px 13px}.recipesPage .ingredients{gap:10px}.recipesPage .nutritionLabel{padding:15px}}@media(prefers-reduced-motion:reduce){.recipesPage *,.recipesPage *:before,.recipesPage *:after{transition:none!important}}*{box-sizing:border-box}.addRecipePage{width:100%;max-width:520px;margin:0 auto;padding:8px;font-family:Helvetica,Arial,sans-serif}.pageTitle{margin:0 0 8px;font-size:16px}.formCard{width:100%;background:#f5f5f5;border-radius:10px;padding:8px;margin-bottom:8px}.formHeader{margin-bottom:6px;font-size:12px}.sectionTitle{margin:8px 0 6px;font-size:12px;font-weight:700}.emptyHint{font-size:11px;opacity:.75;margin-bottom:8px}.formRow{display:flex;flex-direction:column;gap:3px;width:100%;margin-bottom:6px}.formRow.full{grid-column:1 / -1;margin-bottom:0}.label{font-size:10px;font-weight:600}.input{width:100%;max-width:100%;border:1px solid #bbb;outline:none;border-radius:8px;padding:7px 8px;font-size:12px;background:#fff}.select{appearance:auto}.formGrid{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%}.primaryBtn{width:100%;margin-top:4px;padding:8px 10px;border:1px solid black;border-radius:10px;background:#fff;font-size:12px}.dangerBtn{padding:5px 8px;border-radius:8px;border:1px solid black;background:#fff;font-size:11px}.smallBtn{width:30px;height:28px;border-radius:8px;border:1px solid black;background:#fff;font-size:12px;line-height:1;display:grid;place-items:center}.formHeaderRow{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}.headerBtns{display:flex;align-items:center;gap:6px}.mealGoals{width:100%;margin:8px 0 10px;border-collapse:separate;border-spacing:0;background:#f5f5f5;border-radius:10px;overflow:hidden}.mealGoals thead th{background:#f5f5f5;border-bottom:1px solid #ddd;padding:7px 6px;text-align:left;font-size:10px;font-weight:700}.mealGoals tbody td{padding:7px 6px;border-bottom:1px solid #e1e1e1;font-size:11px}.mealGoals tbody tr:last-child td{border-bottom:none}.mealGoals tbody td:first-child{width:38%;font-weight:700}.mealGoals tbody td:not(:first-child){text-align:left}.mealGoals tbody td:not(:first-child) span{display:inline-block;background:#fff;border:1px solid #bbb;border-radius:999px;padding:4px 7px;font-size:10px;line-height:1}.mealGoals tbody tr:nth-child(2n){background:#ffffff80}.stickyNutritionBar{position:sticky;top:0;z-index:999;background:#fff;padding:2px 0 6px;margin-bottom:8px}.stickyNutritionTable{width:100%;margin:0;border-collapse:separate;border-spacing:0;background:#f5f5f5;border-radius:10px;overflow:hidden;table-layout:fixed}.stickyNutritionTable thead th{background:#f5f5f5;border-bottom:1px solid #ddd;text-align:center;font-size:8px;font-weight:700;padding:4px 2px;line-height:1;white-space:nowrap}.stickyNutritionTable thead th:first-child{text-align:left;width:24%}.stickyNutritionTable tbody td{text-align:center;border-bottom:1px solid #e1e1e1;font-size:8px;padding:3px 2px;line-height:1;white-space:nowrap}.stickyNutritionTable tbody tr:last-child td{border-bottom:none}.stickyNutritionTable tbody td:first-child{text-align:left;font-weight:700;width:24%}.stickyNutritionTable tbody td span{display:inline-block;background:#fff;border:1px solid #bbb;border-radius:999px;padding:2px 4px;font-size:8px;line-height:1}.stickyNutritionTable tbody tr:nth-child(2n){background:#ffffff80}.ingredientList{background:#f5f5f5;border-radius:10px;padding:8px;margin-bottom:10px}.ingredientListHeader{display:flex;justify-content:space-between;align-items:center;gap:8px}.ingredientDropdownCard{margin-top:8px;display:flex;flex-direction:column;gap:8px}.ingredientDropdownList{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px;max-height:240px;overflow-y:auto}.ingredientDropdownItem{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#fff;border:1px solid #d7d7d7;border-radius:10px;padding:8px}.ingredientDropdownInfo{min-width:0;flex:1}.ingredientDropdownName{font-size:12px;font-weight:700;margin-bottom:2px}.ingredientDropdownMeta{font-size:10px;opacity:.75}.ingredientDropdownEmpty{background:#fff;border:1px solid #d7d7d7;border-radius:10px;padding:8px;font-size:11px;opacity:.7}.ingredientAddBtn{width:auto;margin-top:0;padding:6px 10px;white-space:nowrap}@media(max-width:360px){.addRecipePage{padding:6px}.formCard{padding:7px;border-radius:9px}.label{font-size:9px}.input{font-size:11px;padding:6px 7px}.primaryBtn{font-size:11px;padding:7px 8px}.dangerBtn{font-size:10px;padding:4px 7px}.smallBtn{width:28px;height:26px;font-size:11px}.mealGoals thead th{font-size:9px;padding:6px 4px}.mealGoals tbody td{font-size:10px;padding:6px 4px}.mealGoals tbody td:not(:first-child) span{font-size:9px;padding:3px 6px}.stickyNutritionTable thead th{font-size:7px;padding:3px 1px}.stickyNutritionTable tbody td{font-size:7px;padding:2px 1px}.stickyNutritionTable tbody td span{font-size:7px;padding:2px 3px}.ingredientDropdownName{font-size:11px}.ingredientDropdownMeta{font-size:9px}}@media(min-width:390px){.addRecipePage,.formCard{padding:10px}.label{font-size:11px}.input{font-size:13px;padding:8px 9px}.primaryBtn{font-size:12px;padding:9px 10px}.dangerBtn{font-size:11px}.smallBtn{width:32px;height:30px;font-size:12px}.mealGoals thead th{font-size:11px;padding:8px 7px}.mealGoals tbody td{font-size:12px;padding:8px 7px}.mealGoals tbody td:not(:first-child) span{font-size:11px;padding:4px 8px}.stickyNutritionTable thead th{font-size:9px;padding:5px 3px}.stickyNutritionTable tbody td{font-size:9px;padding:4px 3px}.stickyNutritionTable tbody td span{font-size:9px;padding:3px 5px}.ingredientDropdownName{font-size:13px}.ingredientDropdownMeta{font-size:11px}}@media(min-width:600px){.addRecipePage{max-width:720px;padding:16px}.pageTitle{font-size:20px;margin-bottom:12px}.formCard{padding:14px;border-radius:14px;margin-bottom:12px}.formHeader{font-size:15px}.sectionTitle{font-size:14px;margin-top:12px}.emptyHint{font-size:13px}.formGrid{gap:10px}.label{font-size:13px}.input{font-size:15px;padding:10px 12px;border-radius:12px}.primaryBtn{font-size:15px;padding:12px;border-radius:12px}.dangerBtn{font-size:13px;padding:8px 12px;border-radius:10px}.smallBtn{width:36px;height:32px;font-size:14px;border-radius:10px}.mealGoals{border-radius:12px;margin:10px 0 12px}.mealGoals thead th{font-size:12px;padding:10px}.mealGoals tbody td{font-size:13px;padding:10px}.mealGoals tbody td:not(:first-child) span{font-size:12px;padding:6px 10px}.stickyNutritionBar{padding:4px 0 8px;margin-bottom:10px}.stickyNutritionTable{border-radius:12px}.stickyNutritionTable thead th{font-size:11px;padding:7px 5px}.stickyNutritionTable tbody td{font-size:11px;padding:6px 5px}.stickyNutritionTable tbody td span{font-size:11px;padding:4px 8px}.ingredientList{border-radius:12px;padding:10px;margin-bottom:12px}.ingredientDropdownItem{border-radius:12px;padding:10px}.ingredientDropdownName{font-size:14px}.ingredientDropdownMeta{font-size:12px}.ingredientDropdownEmpty{font-size:13px;padding:10px;border-radius:12px}.ingredientAddBtn{padding:8px 12px}}@media(min-width:900px){.addRecipePage{max-width:980px;padding:20px}.formCard{padding:16px}.input,.primaryBtn{font-size:16px}.stickyNutritionTable thead th,.stickyNutritionTable tbody td,.stickyNutritionTable tbody td span{font-size:12px}}@media(min-width:1200px){.addRecipePage{max-width:1100px}}.gateWrapper{height:100vh;display:flex;align-items:center;justify-content:center;background:#f5f5f5;font-family:Helvetica}.gateCard{background:#fff;padding:30px;border-radius:16px;width:280px;display:flex;flex-direction:column;gap:12px;box-shadow:0 10px 25px #00000014}.gateCard input{height:42px;border-radius:12px;border:1px solid rgba(0,0,0,.3);text-align:center;font-size:18px;letter-spacing:4px}.gateCard button{height:42px;border-radius:12px;border:1px solid rgba(0,0,0,.5);background:#fff;font-size:15px}.gateCard button:hover{background:#e6e6e6}.gateError{color:#dc143c;font-size:13px;text-align:center}.goalsPage{--goals-ink: #172033;--goals-muted: #687386;--goals-border: #e2e7ef;--goals-blue: #4169e1;--goals-green: #15805f;max-width:1220px;margin:0 auto;padding:28px 22px 70px;color:var(--goals-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}.goalsPage *,.goalsPage *:before,.goalsPage *:after{box-sizing:border-box}.goalsPage [hidden]{display:none!important}.goalsPage button,.goalsPage input,.goalsPage textarea,.goalsPage select{font:inherit}.goalsPage button{cursor:pointer}.goalsPage button:disabled{opacity:.55;cursor:not-allowed}.goalsPage button:focus-visible{outline:3px solid #4169e1;outline-offset:3px}.goalsPage h1,.goalsPage h2,.goalsPage h3{color:var(--goals-ink);margin:0;line-height:1.25}.goalsPage h2{font-size:1.4rem}.goalsPage h3{font-size:1rem}.goalsHeader,.goalsSection{border:1px solid var(--goals-border);border-radius:18px;background:#fff;box-shadow:0 10px 26px #202d470d}.goalsCalendarDay.isFuture{background:#f1f3f5;color:#6b7280}.goalsHeader{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;margin-bottom:20px;background:linear-gradient(125deg,#fff 55%,#edf4ff)}.goalsHeader h1{margin-top:3px;font-size:clamp(1.7rem,3vw,2.25rem)}.goalsHeader p,.goalsSectionHeading p,.goalsCalendarHeading p{margin:6px 0 0;color:var(--goals-muted);font-size:.9rem}.goalsEyebrow{color:var(--goals-blue);font-size:.73rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.goalsSectionHeading{margin-bottom:20px}.goalsSectionHeading h2,.goalsCalendarHeading h2{margin-top:4px}.goalsSummaryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.goalsSummaryCard{min-height:145px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:23px;border:1px solid var(--goals-border);border-radius:18px;background:#fff;box-shadow:0 10px 26px #202d470f}.goalsSummaryCard:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--accent)}.goalsSummaryCard.remaining{--accent: #c34444}.goalsSummaryCard.finished{--accent: var(--goals-green)}.goalsSummaryCard.scheduled{--accent: var(--goals-blue)}.goalsSummaryCard>span{font-size:.85rem;font-weight:750;color:var(--goals-muted)}.goalsSummaryCard strong{font-size:clamp(1.85rem,4vw,2.65rem);line-height:1;color:var(--accent)}.goalsSummaryCard small{color:var(--goals-muted);font-size:.78rem}.goalsTopGrid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:20px;align-items:start;margin-bottom:20px}.goalsSection{min-width:0;padding:26px}.goalsModeNotice{padding:11px 16px;margin:0 0 20px;border:1px solid #e9dcae;border-radius:12px;background:#fff9e8;color:#78601d;font-size:.84rem}.goalsNotice,.goalsError{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 16px;margin:0 0 20px;border:1px solid #cdd8fb;border-radius:12px;background:#edf1ff;color:#29448f;font-size:.9rem}.goalsNotice button{border:0;background:transparent;color:inherit;font-size:1.4rem}.goalsError{border-color:#f1caca;background:#fff0f0;color:#a73535}.goalsForm{display:flex;flex-direction:column;gap:16px}.goalsForm label:not(.goalsCheckbox),.goalsNoteForm label,.goalsBrowseDate{display:flex;flex-direction:column;gap:7px;min-width:0}.goalsForm label>span,.goalsFieldLabel,.goalsNoteForm label>span,.goalsBrowseDate>span{color:#4d586b;font-size:.78rem;font-weight:800}.goalsForm label>span{display:flex;justify-content:space-between;gap:10px}.goalsForm label>span>small{color:var(--goals-muted);font-weight:500;font-size:.73rem}.goalsPage input:not([type=checkbox]),.goalsPage select,.goalsPage textarea{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #cfd6e2;border-radius:10px;background:#fff;color:var(--goals-ink);outline:none}.goalsPage textarea{resize:vertical;line-height:1.5}.goalsPage input:focus-visible,.goalsPage select:focus-visible,.goalsPage textarea:focus-visible{border-color:var(--goals-blue);box-shadow:0 0 0 3px #4169e121}.goalsPage input::placeholder,.goalsPage textarea::placeholder{color:#8a94a5}.goalsFormGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.goalsPrimaryButton,.goalsSecondaryButton,.goalsCompleteButton{min-height:44px;padding:10px 16px;border-radius:10px;font-weight:800!important;font-size:.86rem!important;line-height:1.25}.goalsPrimaryButton{border:1px solid var(--goals-blue);background:var(--goals-blue);color:#fff}.goalsPrimaryButton:hover:not(:disabled){background:#3156c6}.goalsSecondaryButton{border:1px solid #cfd6e2;background:#fff;color:#4d586b}.goalsSecondaryButton:hover:not(:disabled){background:#f3f6fb}.goalsCompleteButton{border:1px solid #b9ddcf;background:#e9f7f1;color:#116b4f}.goalsCompleteButton:hover:not(:disabled){background:#d5eee3}.goalsRepeatSettings{display:flex;flex-direction:column;gap:16px;padding:17px;border:1px solid var(--goals-border);border-radius:13px;background:#fafbfe}.goalsCheckbox{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:9px;cursor:pointer;color:#4d586b;font-size:.84rem;font-weight:650}.goalsCheckbox input{width:17px;height:17px;margin:3px 0 0;flex:0 0 auto;accent-color:var(--goals-blue)}.goalsForm .goalsCheckbox>span{display:block;font-size:.83rem}.goalsForm .goalsCheckbox>span>small{display:block;margin-top:3px;font-size:.76rem;line-height:1.5}.goalsDayPicker{position:relative;display:flex;flex-direction:column;gap:7px;min-width:0}.goalsDayTrigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #cfd6e2;border-radius:10px;background:#fff;color:var(--goals-ink);text-align:left}.goalsDayTrigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goalsDayOptions{position:absolute;top:calc(100% + 6px);left:0;width:max(100%,190px);z-index:5;margin:0;padding:10px;border:1px solid var(--goals-border);border-radius:12px;background:#fff;box-shadow:0 12px 28px #202d4724}.goalsDayOptions legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.goalsDayOptions .goalsCheckbox{padding:7px 6px;border-radius:6px}.goalsDayOptions .goalsCheckbox:hover{background:#edf1ff}.goalsScheduleHelp{margin:0;color:var(--goals-muted);font-size:.76rem;line-height:1.65}.goalsBrowseDate{margin-bottom:22px}.goalsBrowseDate input{max-width:230px}.goalsListSection+.goalsListSection{margin-top:24px}.goalsListHeading{display:flex;align-items:center;gap:9px;margin-bottom:11px}.goalsListHeading>span{padding:3px 9px;border-radius:99px;background:#edf1ff;color:#4169e1;font-size:.74rem;font-weight:800}.isCompleted .goalsListHeading>span{background:#e9f7f1;color:var(--goals-green)}.goalsEmpty{margin:0;padding:17px;border:1px dashed #dce2ed;border-radius:11px;background:#fafbfe;color:var(--goals-muted);font-size:.84rem}.goalsList{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}.goalsItem{border:1px solid var(--goals-border);border-radius:12px;background:#fff;overflow:hidden}.goalsItemRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px}.goalsItemTitle{flex:1;min-width:0}.goalsItemTitle strong{display:block;overflow-wrap:anywhere;font-size:.93rem;line-height:1.4}.goalsItemTitle small{display:block;margin-top:3px;color:var(--goals-muted);font-size:.71rem}.isCompleted .goalsItemTitle strong{color:#41836d}.goalsItemActions{display:flex;gap:7px;align-items:center;flex-shrink:0}.goalsItemActions .goalsSecondaryButton,.goalsItemActions .goalsCompleteButton{min-height:38px;padding:8px 11px;font-size:.75rem!important}.goalsExpandButton{width:38px;height:38px;border:1px solid #d7deea;border-radius:9px;background:#fff;color:#687386}.goalsExpandButton span{display:inline-block;font-size:1.2rem;line-height:1;transition:transform .15s ease}.goalsExpandButton .isOpen{transform:rotate(180deg)}.goalsDetails{padding:13px 15px 15px;border-top:1px solid var(--goals-border);background:#f8faff}.goalsDetails p,.goalsNote p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.85rem}.goalsDetails small{display:block;margin-top:10px;color:var(--goals-muted);font-size:.75rem}.goalsNotesSection{margin-top:26px;padding-top:22px;border-top:1px solid var(--goals-border)}.goalsNotesSection h3{margin-bottom:12px}.goalsNoteForm{margin-bottom:14px}.goalsNoteActions{display:flex;align-items:center;gap:10px;margin-top:9px}.goalsNote{padding:13px 15px;border-radius:10px;background:#f7f9fc;margin-top:9px}.goalsTextButton{padding:4px 0;min-height:32px;border:0;background:transparent;color:var(--goals-blue);font-weight:700!important;font-size:.76rem!important}.goalsTextButton.danger{color:#b04141}.goalsNotesError{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px;color:#a73535;font-size:.82rem}.goalsCalendarHeading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:17px}.goalsCalendarNav{display:flex;gap:8px}.goalsCalendarNav button:first-child,.goalsCalendarNav button:last-child{min-width:44px;font-size:1.3rem!important;padding:6px 12px}.goalsCalendarLegend{display:flex;flex-wrap:wrap;gap:10px 18px;margin-bottom:20px;color:var(--goals-muted);font-size:.75rem}.goalsCalendarLegend>span{display:inline-flex;align-items:center;gap:6px}.goalsCalendarLegend i{display:block;width:11px;height:11px;border-radius:50%;background:var(--day-bg)}.goalsPage .goalLevel0{--day-bg: #def3e7;--day-ink: #146345;--day-border: #bfe3ce}.goalsPage .goalLevel1{--day-bg: #fff2a8;--day-ink: #695300;--day-border: #e9d77b}.goalsPage .goalLevel2{--day-bg: #ffd3a1;--day-ink: #7a3a08;--day-border: #efb87c}.goalsPage .goalLevel3{--day-bg: #f6b9b9;--day-ink: #842c2c;--day-border: #e99898}.goalsPage .goalLevel4{--day-bg: #151515;--day-ink: #fff;--day-border: #151515}.goalsCalendarUnknown{--day-bg: #f3f5f9;--day-ink: #687386;--day-border: #e2e7ef}.goalsCalendarGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.goalsWeekday{padding:4px 0 8px;text-align:center;color:var(--goals-muted);font-size:.75rem;font-weight:750}.goalsWeekday abbr{text-decoration:none}.goalsCalendarDay{position:relative;min-width:0;min-height:94px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:12px;border:1px solid var(--day-border);border-radius:11px;color:var(--day-ink);background:var(--day-bg);text-align:left;transition:box-shadow .15s ease}.goalsCalendarDay:hover{box-shadow:inset 0 0 0 2px var(--day-ink)}.goalsCalendarDay.otherMonth{border-style:dashed}.goalsCalendarDay.otherMonth .goalsCalendarNumber{opacity:.65}.goalsCalendarDay.isSelected{outline:3px solid var(--goals-blue);outline-offset:1px;z-index:1}.goalsCalendarDay.isSelected:focus-visible{outline-width:4px}.goalsCalendarNumber{font-size:.94rem;font-weight:800}.goalsCalendarCount{font-size:.74rem}.goalsCalendarCount b{font-weight:850}.goalsTodayMark{position:absolute;top:14px;right:12px;width:6px;height:6px;border-radius:50%;background:currentColor}@media(max-width:950px){.goalsTopGrid{grid-template-columns:1fr}.goalsFormGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.goalsPage{padding:16px 12px 50px}.goalsHeader,.goalsSection{padding:19px 16px;border-radius:14px}.goalsHeader{align-items:flex-start;flex-direction:column;gap:14px}.goalsSummaryGrid{gap:8px}.goalsSummaryCard{min-height:120px;padding:14px 12px;border-radius:12px}.goalsSummaryCard>span{font-size:.7rem}.goalsSummaryCard small{font-size:.66rem}.goalsSummaryCard strong{font-size:1.8rem}.goalsCalendarHeading{align-items:flex-start;flex-direction:column}.goalsCalendarGrid{gap:5px}.goalsCalendarDay{min-height:64px;padding:7px 5px;border-radius:7px}.goalsCalendarNumber{font-size:.8rem}.goalsCalendarCount{font-size:.68rem}.goalsCalendarCount>span{display:none}.goalsTodayMark{top:8px;right:4px;width:4px;height:4px}.goalsCalendarLegend{font-size:.7rem;gap:8px 12px}.goalsItemRow{padding:11px;flex-wrap:wrap}.goalsItemTitle{flex-basis:100%}.goalsItemActions{width:100%;justify-content:flex-end}}@media(max-width:400px){.goalsFormGrid,.goalsSummaryGrid{grid-template-columns:1fr}.goalsSummaryCard{min-height:100px}.goalsSummaryCard>span{font-size:.85rem}.goalsSummaryCard small{font-size:.76rem}}@media(prefers-reduced-motion:reduce){.goalsPage *,.goalsPage *:before,.goalsPage *:after{transition:none!important}}.goalsUfcSection{margin-top:22px}.goalsUfcStats{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0 22px}.goalsUfcStats>div{display:flex;flex-direction:column;min-width:128px;padding:14px 18px;border:1px solid #e5e9f0;border-radius:12px;background:#f8fafc}.goalsUfcStats strong{font-size:1.7rem;line-height:1.25;color:#172033}.goalsUfcStats span{margin-top:2px;color:#687386;font-size:.85rem}.goalsUfcFormGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:520px}.goalsUfcFormGrid label{display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:600;font-size:.9rem}.goalsUfcFormGrid label small{color:#687386;font-weight:400}.goalsUfcFormGrid input{width:100%;min-width:0;box-sizing:border-box;padding:11px 12px;border:1px solid #d7deea;border-radius:9px;color:inherit;background:#fff;font:inherit}.goalsUfcFormGrid input:focus-visible{outline:2px solid #5277c8;outline-offset:1px}.goalsUfcFormActions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.goalsUfcFeedback{margin:14px 0 0;font-size:.9rem;color:#465f85}.goalsUfcHistoryHeading{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:28px 0 10px}.goalsUfcHistoryHeading h3{margin:0;font-size:1.04rem}.goalsUfcHistoryHeading span{color:#687386;font-size:.86rem}.goalsUfcList{padding:0;margin:0;list-style:none;border-top:1px solid #e5e9f0}.goalsUfcItem{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:13px 0;border-bottom:1px solid #e5e9f0}.goalsUfcVisitDetails{display:flex;flex-direction:column;gap:3px}.goalsUfcVisitDetails strong{font-size:.94rem}.goalsUfcVisitDetails span{font-size:.87rem;color:#687386}.goalsUfcDeleteButton{color:#b04141!important;border-color:#efcaca!important}@media(max-width:520px){.goalsUfcFormGrid{grid-template-columns:1fr}.goalsUfcStats>div{flex:1 1 110px}}.goalsPage .goalsCalendarUfcMark{display:inline-flex;align-items:center;justify-content:center;align-self:center;font-size:16px;line-height:1;min-height:17px;margin:0}.goalsPage .goalsCalendarUfcLegendIcon{display:inline-block;font-size:13px;line-height:1}@media(max-width:600px){.goalsPage .goalsCalendarUfcMark{font-size:13px;min-height:13px}}.weightPage{--weight-ink: #172033;--weight-muted: #687386;--weight-border: #e2e7ef;--weight-blue: #4169e1;--weight-green: #15805f;--weight-red: #c34444;width:100%;max-width:1220px;margin:0 auto;padding:28px 22px 70px;color:var(--weight-ink);font-size:15px;line-height:1.5;text-align:left;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.weightPage *,.weightPage *:before,.weightPage *:after{box-sizing:border-box}.weightPage h1,.weightPage h2,.weightPage h3,.weightPage h4{margin:0;color:var(--weight-ink)}.weightPage .weightPageHeader{padding:24px 28px;border:1px solid var(--weight-border);border-radius:18px;background:linear-gradient(125deg,#fff 55%,#edf4ff);box-shadow:0 10px 26px #202d470d;margin-bottom:18px}.weightPage .weightEyebrow{color:var(--weight-blue);font-size:.73rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.weightPage .weightPageHeader h1{font-size:clamp(1.7rem,3vw,2.25rem);line-height:1.2;margin:3px 0 8px;letter-spacing:-.02em}.weightPage .weightPageHeader p{margin:0;color:var(--weight-muted);font-size:.92rem}.weightPage button{width:auto;margin:0;min-height:44px;padding:10px 16px;border:1px solid #cfd6e2;border-radius:10px;background:#fff;color:#4d586b;font:inherit;font-size:.85rem;line-height:1.35;font-weight:700;cursor:pointer}.weightPage button:hover:not(:disabled){background:#f1f4f9;border-color:#bcc9df}.weightPage button:disabled{opacity:.5;cursor:not-allowed}.weightPage button:focus-visible{outline:3px solid #b4c4ff;outline-offset:3px}.weightPage input{width:100%;min-width:0;min-height:44px;margin:0;padding:11px 12px;border:1px solid #cfd6e2;border-radius:10px;background:#fff;color:var(--weight-ink);font:inherit;font-size:16px;line-height:1.4;outline:none}.weightPage input:focus{border-color:var(--weight-blue);box-shadow:0 0 0 3px #4169e121}.weightPage input::placeholder{color:#909aaa}.weightPage .dateInfo{display:flex;justify-content:flex-end;margin:0 0 18px}.weightPage .dateInfo form{display:flex;align-items:center;gap:8px;padding:0;width:auto;max-width:100%;background:transparent}.weightPage .dateInfo input{width:auto;min-width:160px;flex:1}.weightPage .dateInfo button{background:var(--weight-blue);border-color:var(--weight-blue);color:#fff}.weightPage .dateInfo button:hover{background:#3156c6}.weightPage .weightPageWrapper{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;width:100%;margin:0;padding:0;align-items:start}.weightPage .weightCard,.weightPage .weightHistoryCard{width:100%;max-width:100%;min-width:0;padding:26px;border:1px solid var(--weight-border);border-radius:18px;background:#fff;box-shadow:0 10px 26px #202d470d;overflow:hidden}.weightPage .weightCard h3,.weightPage .weightHistoryCard h3{font-size:1.25rem;line-height:1.3;margin-bottom:16px;letter-spacing:-.01em}.weightPage .weightSubtext{margin:-6px 0 18px;color:var(--weight-muted);font-size:.84rem;line-height:1.5}.weightPage .weightForm{display:flex;align-items:center;gap:12px}.weightPage .weightInputCard{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0;padding:0;background:transparent}.weightPage .weightInputCard input{font-size:1.2rem;font-weight:650;font-variant-numeric:tabular-nums}.weightPage .weightInputCard label{color:var(--weight-muted);font-size:.8rem;margin:0}.weightPage .updateBtn{align-self:flex-start;margin-top:0;min-height:49px;background:var(--weight-blue);border-color:var(--weight-blue);color:#fff}.weightPage .updateBtn:hover:not(:disabled){background:#3156c6;border-color:#3156c6}.weightPage .calorieSummaryTitle{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.weightPage .calorieSummaryTitle h3{margin-bottom:8px}.weightPage .calorieSummaryTitle .weightSubtext{margin:0}.weightPage .calorieBalanceSummary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.weightPage .calorieBalanceCard{min-width:0;padding:22px;border:1px solid var(--weight-border);border-radius:14px;background:#fafbfe}.weightPage .calorieBalanceHeader{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:20px}.weightPage .calorieBalanceHeader strong{font-size:.88rem}.weightPage .validDaysBadge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#edf1ff;color:#3853a1;font-size:.72rem;font-weight:650;white-space:nowrap}.weightPage .calorieBalanceMain{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;padding-bottom:18px;border-bottom:1px solid var(--weight-border)}.weightPage .calorieBalanceMain small{color:var(--weight-muted);font-size:.78rem}.weightPage .calorieBalanceMain span{font-size:clamp(1.8rem,3vw,2.3rem);font-weight:750;line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.weightPage .calorieBalanceDetails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.weightPage .calorieMetric{display:flex;flex-direction:column;gap:5px;min-width:0;padding:12px;border:1px solid #edf0f5;border-radius:10px;background:#fff}.weightPage .calorieMetric small{color:var(--weight-muted);font-size:.74rem}.weightPage .calorieMetric strong{font-size:.95rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.weightPage .calorieDeficitText{color:var(--weight-green)}.weightPage .calorieSurplusText{color:var(--weight-red)}.weightPage .weightTrendHeader{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:20px}.weightPage .weightTrendHeader h3{margin:0}.weightPage .chartRangeTabs{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid var(--weight-border);border-radius:11px;background:#f5f7fb}.weightPage .chartTab{min-height:34px;padding:7px 14px;border:1px solid transparent;border-radius:7px;font-size:.78rem;color:var(--weight-muted);background:transparent}.weightPage .activeChartTab{background:#fff;border-color:#dbe3f0;color:var(--weight-blue);box-shadow:0 2px 6px #202d4712}.weightPage .chartCard{padding:14px 8px 4px;border:1px solid #edf0f5;border-radius:12px;background:#fff;overflow:hidden}.weightPage .chartScrollArea{width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-bottom:8px}.weightPage .weightChart{display:block;width:100%;min-width:640px;height:320px}.weightPage .chartAxis{stroke:#b8c2d3;stroke-width:1}.weightPage .chartGridLine{stroke:#e7ecf4;stroke-width:1}.weightPage .chartLine{stroke:var(--weight-blue);stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}.weightPage .chartPoint{fill:var(--weight-blue);cursor:pointer}.weightPage .chartPoint:hover{fill:#294ebf}.weightPage .chartPoint:focus-visible,.weightPage .calorieDiffPoint:focus-visible{outline:2px solid var(--weight-blue);outline-offset:4px}.weightPage .chartLabel{fill:var(--weight-muted);font-size:11px;font-family:inherit}.weightPage .chartTooltipBox{fill:#fff;stroke:#cbd5e5;stroke-width:1}.weightPage .chartTooltipText{fill:var(--weight-ink);font-size:11px;pointer-events:none;font-family:inherit}.weightPage .chartLineMovingAvg{stroke:var(--weight-green);stroke-width:2;stroke-dasharray:6 4;fill:none}.weightPage .chartTrendLine{stroke:#94a3b8;stroke-width:2;stroke-dasharray:2 4}.weightPage .chartLabels{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 18px;margin-top:12px;padding:10px 6px;color:var(--weight-muted);font-size:.78rem}.weightPage .calorieDiffLine{stroke:var(--weight-blue);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;fill:none}.weightPage .calorieDiffPoint{stroke:#fff;stroke-width:2;cursor:pointer}.weightPage .deficitPoint{fill:var(--weight-green)}.weightPage .surplusPoint{fill:var(--weight-red)}.weightPage .calorieZeroLine{stroke:#a2adbf;stroke-width:1.5;stroke-dasharray:6 5}.weightPage .weightStatsGrid,.weightPage .weightStatsGridExpanded{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.weightPage .weightStatBox{display:flex;flex-direction:column;gap:9px;min-width:0;padding:17px;border:1px solid var(--weight-border);border-radius:12px;background:#f8faff}.weightPage .weightStatBox strong{color:var(--weight-muted);font-size:.75rem;font-weight:650}.weightPage .weightStatBox span{color:var(--weight-ink);font-size:1.15rem;font-weight:700;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.weightPage .insightGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.weightPage .insightCard{padding:18px;border:1px solid var(--weight-border);border-radius:12px;background:#fafbfe}.weightPage .insightCard h4{margin:0 0 10px;font-size:.92rem}.weightPage .insightCard p{margin:6px 0;color:var(--weight-muted);font-size:.83rem;line-height:1.65}.weightPage .insightCard p strong{color:var(--weight-ink)}.weightPage .scoreGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.weightPage .scoreCard{min-width:0;padding:18px;border:1px solid var(--weight-border);border-radius:12px;background:#fafbfe}.weightPage .scoreHeader{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.83rem;margin-bottom:14px}.weightPage .scoreHeader span{color:var(--weight-blue);font-weight:750}.weightPage .scoreBarTrack,.weightPage .deltaTrack{width:100%;height:8px;background:#e9eef7;border-radius:999px;overflow:hidden;margin-bottom:12px}.weightPage .scoreBarFill{height:100%;background:var(--weight-blue);border-radius:999px}.weightPage .scoreCard p{margin:5px 0;color:var(--weight-muted);font-size:.82rem;line-height:1.6}.weightPage .changeHighlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}.weightPage .changeHighlightCard{display:flex;flex-direction:column;gap:6px;min-width:0;padding:18px;border:1px solid var(--weight-border);border-radius:12px;background:#f8faff}.weightPage .changeHighlightCard strong{color:var(--weight-muted);font-size:.78rem}.weightPage .changeHighlightCard span{font-size:1.75rem;line-height:1.2;font-weight:750;color:var(--weight-blue);font-variant-numeric:tabular-nums}.weightPage .changeHighlightCard small{color:var(--weight-muted);font-size:.75rem}.weightPage .deltaList{display:flex;flex-direction:column;gap:8px}.weightPage .deltaRow{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px 14px;border:1px solid #edf0f5;border-radius:10px;background:#fff}.weightPage .deltaDate{color:var(--weight-muted);font-size:.8rem}.weightPage .deltaTrack{margin:0}.weightPage .deltaBar{height:100%;border-radius:999px}.weightPage .deltaUp{background:var(--weight-red)}.weightPage .deltaDown{background:var(--weight-green)}.weightPage .deltaValue{font-size:.82rem;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}.weightPage .weightEmpty{padding:26px 18px;border:1px dashed #cfd6e2;border-radius:12px;color:var(--weight-muted);background:#fafbfe;font-size:.88rem;text-align:center}.weightPage .projectionTableWrapper{width:100%;overflow-x:auto;border:1px solid var(--weight-border);border-radius:12px}.weightPage .projectionTable,.weightPage .weightTable{width:100%;border-collapse:collapse;border-spacing:0;background:transparent;font-size:.84rem}.weightPage .projectionTable{min-width:390px}.weightPage .weightTable{table-layout:fixed}.weightPage .projectionTable th,.weightPage .projectionTable td,.weightPage .weightTable th,.weightPage .weightTable td{padding:13px 16px;border:0;border-bottom:1px solid #edf0f5;border-radius:0;background:transparent;text-align:left;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.weightPage .projectionTable th,.weightPage .weightTable th{background:#f7f9fc;color:var(--weight-muted);font-size:.72rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.weightPage .projectionTable tr:last-child td,.weightPage .weightTable tr:last-child td{border-bottom:0}.weightPage .weightTable td:last-child{color:var(--weight-blue);font-weight:650}.weightPage .weightTable tbody tr:hover{background:#fafbfe}@media(min-width:1000px){.weightPage .weightPageWrapper{grid-template-columns:minmax(0,.75fr) minmax(0,1.4fr)}.weightPage .weightPageWrapper>.weightCard,.weightPage .weightPageWrapper>.weightHistoryCard{grid-column:1 / -1}.weightPage .weightPageWrapper>.weightCard:first-child{grid-column:1}.weightPage .weightPageWrapper>.calorieSummarySection{grid-column:2}}@media(max-width:850px){.weightPage .weightStatsGrid,.weightPage .weightStatsGridExpanded{grid-template-columns:repeat(3,minmax(0,1fr))}.weightPage .insightGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.weightPage .scoreGrid{grid-template-columns:1fr}.weightPage .weightChart{min-width:600px;height:290px}}@media(max-width:560px){.weightPage{padding:16px 12px 50px}.weightPage .weightPageHeader,.weightPage .weightCard,.weightPage .weightHistoryCard{padding:19px 16px;border-radius:14px}.weightPage .weightPageWrapper{gap:16px}.weightPage .dateInfo{justify-content:flex-start}.weightPage .dateInfo form,.weightPage .dateInfo input{width:100%}.weightPage .weightForm{flex-direction:column;align-items:stretch}.weightPage .updateBtn{align-self:stretch;min-height:44px}.weightPage .calorieBalanceSummary{grid-template-columns:1fr;gap:12px}.weightPage .calorieBalanceCard{padding:18px}.weightPage .weightStatsGrid,.weightPage .weightStatsGridExpanded{grid-template-columns:repeat(2,minmax(0,1fr))}.weightPage .weightStatBox{padding:13px}.weightPage .insightGrid{grid-template-columns:1fr}.weightPage .chartTab{padding:7px 12px}.weightPage .chartCard{padding:10px 0 0}.weightPage .weightChart{min-width:560px;height:260px}.weightPage .chartLabel,.weightPage .chartTooltipText{font-size:10px}.weightPage .changeHighlights{gap:10px}.weightPage .changeHighlightCard{padding:14px}.weightPage .deltaRow{gap:10px;padding:11px}.weightPage .deltaDate,.weightPage .deltaValue{font-size:.72rem}.weightPage .projectionTable th,.weightPage .projectionTable td,.weightPage .weightTable th,.weightPage .weightTable td{padding:12px}}@media(prefers-reduced-motion:no-preference){.weightPage button{transition:background-color .15s,border-color .15s}}.intoxPage{--intox-bg: #f4f6f8;--intox-surface: #ffffff;--intox-surface-soft: #f8fafc;--intox-surface-muted: #eef2f6;--intox-border: #d8dee7;--intox-border-soft: #e8edf3;--intox-text: #18212f;--intox-muted: #64748b;--intox-heading: #111827;--intox-primary: #111827;--intox-primary-hover: #253044;--intox-danger: #b42318;--intox-danger-hover: #8f1c13;--intox-radius: 14px;--intox-radius-sm: 9px;--intox-shadow: 0 8px 24px rgba(15, 23, 42, .055);width:100%;max-width:1240px;margin:0 auto;padding:18px;box-sizing:border-box;color:var(--intox-text)}.intoxPage *,.intoxPage *:before,.intoxPage *:after{box-sizing:border-box}.intoxDateInfo{display:flex;justify-content:center;margin:0 0 14px}.intoxDateInfo form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;max-width:390px;padding:7px;border:1px solid var(--intox-border);border-radius:12px;background:var(--intox-surface);box-shadow:0 2px 8px #0f172a0a}.intoxDateInfo input,.intoxDateInfo button{min-height:40px;border-radius:8px;font:inherit}.intoxDateInfo input{width:100%;min-width:0;border:1px solid var(--intox-border);padding:8px 10px;background:#fff;color:var(--intox-text)}.intoxDateInfo button{border:0;padding:8px 16px;background:var(--intox-primary);color:#fff;font-weight:700;cursor:pointer}.intoxDateInfo button:hover{background:var(--intox-primary-hover)}.intoxHeaderCard{padding:18px 20px;margin:0 0 16px;border:1px solid var(--intox-border);border-radius:var(--intox-radius);background:linear-gradient(135deg,#fff,#f6f8fb);box-shadow:var(--intox-shadow)}.intoxHeaderCard h2{margin:0;color:var(--intox-heading);font-size:clamp(1.25rem,2.2vw,1.75rem);line-height:1.2;letter-spacing:-.02em}.intoxHeaderCard p{margin:6px 0 0;color:var(--intox-muted);font-size:.9rem}.intoxCard{width:100%;margin:0 0 18px;padding:18px;border:1px solid var(--intox-border);border-radius:var(--intox-radius);background:var(--intox-surface);box-shadow:var(--intox-shadow)}.intoxCard h3,.intoxCard h4{color:var(--intox-heading)}.intoxCard h3{margin:0;font-size:1.05rem;line-height:1.3}.logHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 14px;padding-bottom:11px;border-bottom:1px solid var(--intox-border-soft)}.logHeader h3{margin:0}.logHeader span{display:block;margin-top:3px;color:var(--intox-muted);font-size:.78rem;line-height:1.4}.intoxPage .meterSection{margin-top:20px}.intoxPage .meterSection+.meterSection{margin-top:28px}.intoxPage .meterSectionTitle{margin:0 0 12px;color:var(--intox-heading);font-size:.95rem;font-weight:700}.intoxPage .meters{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;width:100%;margin:0;align-items:stretch}.intoxPage .meter{min-width:0;padding:22px 16px;border:1px solid var(--intox-border);border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--intox-text);background:var(--intox-surface-soft)}.intoxPage .meterLabel{margin-bottom:12px;font-size:.88rem;font-weight:700;line-height:1.4}.intoxPage .meterValue{max-width:100%;font-size:clamp(1.7rem,3vw,2.55rem);font-weight:800;line-height:1.15;letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.intoxPage .meterSub{max-width:100%;margin-top:9px;font-size:.82rem;line-height:1.5;overflow-wrap:anywhere}.intoxPage .meterSub strong{font-weight:700}.intoxPage .alcoholMeter.safe{border-color:#bbdfc5;background:#edf8f0;color:#166534}.intoxPage .alcoholMeter.caution{border-color:#f1da97;background:#fff8df;color:#854d0e}.intoxPage .alcoholMeter.danger{border-color:#efb5b5;background:#fff0f0;color:#991b1b}.intoxPage .alcoholMeter.black{border-color:#111;background:#111;color:#fff}.intoxPage .nicotineMeter{border-color:var(--intox-border);background:var(--intox-surface-soft);color:var(--intox-text)}.intoxPage .nicotineMeter .meterSub{color:var(--intox-muted)}.intoxCard>.meters+div:empty{display:none!important;margin:0!important}.intoxForm{display:grid;grid-template-columns:1fr;align-items:end;gap:12px 14px;width:100%;margin:16px auto 0;padding:16px;border:1px solid var(--intox-border-soft);border-radius:12px;background:var(--intox-surface-soft)}.substanceEntryForm{max-width:860px}.alcoholEntryForm{max-width:980px}.substanceEntryForm+.substanceEntryForm{max-width:980px}.intoxField{display:flex;flex-direction:column;gap:5px;min-width:0}.intoxField label{color:#334155;font-size:.76rem;font-weight:700;line-height:1.25}.intoxField input,.intoxField select{width:100%;min-width:0;height:42px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;outline:none;background:#fff;color:var(--intox-text);font:inherit;font-size:.88rem;transition:border-color .15s ease,box-shadow .15s ease}.intoxField input::placeholder{color:#94a3b8}.intoxField input:focus,.intoxField select:focus,.intoxDateInfo input:focus{border-color:#64748b;box-shadow:0 0 0 3px #64748b24}.intoxField>div{min-width:0}.intoxField>div>input{min-width:0}.intoxPreview{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px 20px;width:100%;padding:11px 13px;border:1px solid #dce3eb;border-radius:10px;background:#f8fafc;color:#334155}.intoxForm .intoxPreview{grid-column:1 / -1}.intoxPreview span,.intoxPreview div{font-size:.78rem;line-height:1.35}.intoxPreview strong{color:#111827;font-size:.9rem}.intoxPage>.intoxPreview{max-width:980px;margin:0 auto 12px;padding:14px 16px;justify-content:space-between;background:#fff;box-shadow:0 3px 12px #0f172a09}.intoxSubmitBtn{grid-column:1 / -1;justify-self:start;width:auto;min-width:112px;min-height:40px;padding:9px 17px;border:0;border-radius:8px;background:var(--intox-primary);color:#fff;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer;transition:background .15s ease,transform .15s ease}.intoxSubmitBtn:hover:not(:disabled){background:var(--intox-primary-hover)}.intoxSubmitBtn:active:not(:disabled){transform:translateY(1px)}.intoxSubmitBtn:disabled{opacity:.55;cursor:not-allowed}.intoxForm button[type=button]:not(.deleteBtn),.intoxCard button[type=button]:not(.deleteBtn){min-height:38px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font:inherit;font-size:.8rem;font-weight:600}.intoxForm button[type=button]:hover:not(.deleteBtn),.intoxCard button[type=button]:hover:not(.deleteBtn){background:#f1f5f9}.deleteBtn{min-height:34px;padding:7px 10px;border:0;border-radius:7px;background:var(--intox-danger);color:#fff;font:inherit;font-size:.74rem;font-weight:700;cursor:pointer;white-space:nowrap}.deleteBtn:hover{background:var(--intox-danger-hover)}.miniStat{margin:0;color:var(--intox-muted);font-size:.72rem;line-height:1.45}.intoxForm>.miniStat{grid-column:1 / -1}.logTableWrap{width:100%;overflow-x:auto;border:1px solid var(--intox-border-soft);border-radius:10px;background:#fff;scrollbar-width:thin}.intoxTable{width:100%;min-width:720px;border-collapse:separate;border-spacing:0;background:#fff}.intoxTable th,.intoxTable td{padding:10px 11px;border-bottom:1px solid #edf1f5;text-align:left;vertical-align:middle;font-size:.77rem;line-height:1.35;white-space:nowrap}.intoxTable th{background:#f6f8fb;color:#475569;font-size:.7rem;font-weight:800;letter-spacing:.025em;text-transform:uppercase}.intoxTable tbody tr:last-child td{border-bottom:0}.intoxTable tbody tr:hover td{background:#fbfcfe}.intoxTable th[style*=cursor]:hover{background:#edf2f7}.intoxStatsTable td{vertical-align:top;white-space:normal;min-width:135px}.emptyRow{padding:24px 14px!important;text-align:center!important;color:var(--intox-muted);white-space:normal!important}.intoxCard svg{border-radius:8px}.intoxCard details>summary{list-style:none}.intoxCard details>summary::-webkit-details-marker{display:none}.intoxCard details>summary:after{content:" ▾";color:#64748b}.intoxCard details[open]>summary:after{content:" ▴"}.intoxCard input[type=checkbox]{accent-color:#334155}@media(min-width:640px){.intoxPage{padding:22px}.intoxCard{padding:20px}.intoxForm{grid-template-columns:repeat(2,minmax(0,1fr));padding:17px}.intoxPage>.intoxPreview{display:grid;grid-template-columns:minmax(170px,1.2fr) repeat(3,minmax(120px,1fr));align-items:center}}@media(min-width:820px){.substanceEntryForm{grid-template-columns:minmax(160px,1.2fr) minmax(150px,1fr) minmax(130px,.85fr) minmax(220px,1.7fr)}.alcoholEntryForm,.substanceEntryForm+.substanceEntryForm{grid-template-columns:repeat(3,minmax(0,1fr))}.intoxTable th,.intoxTable td{padding:11px 12px;font-size:.8rem}}@media(min-width:1050px){.intoxPage{padding:26px 28px 40px}.intoxHeaderCard{padding:20px 22px}.intoxCard{padding:22px}.meter{min-height:126px}.alcoholEntryForm,.substanceEntryForm+.substanceEntryForm{grid-template-columns:repeat(4,minmax(0,1fr))}.intoxTable th,.intoxTable td{font-size:.82rem}}@media(min-width:1320px){.intoxPage{max-width:1280px}}@media(max-width:639px){.intoxPage{padding:12px}.intoxHeaderCard,.intoxCard{border-radius:11px}.intoxCard{padding:14px}.logHeader{flex-direction:column;align-items:stretch;gap:4px}.intoxForm{margin-top:12px;padding:12px}.intoxSubmitBtn{width:100%;justify-self:stretch}.intoxPage>.intoxPreview{align-items:flex-start;flex-direction:column;gap:5px}.intoxTable{min-width:650px}}@media(max-width:390px){.intoxDateInfo form{grid-template-columns:1fr}.intoxDateInfo button{width:100%}}@media(min-width:640px){.intoxPage .meters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:639px){.intoxPage .meter{padding:22px 18px}.intoxPage .meterValue{font-size:clamp(2rem,8vw,2.55rem)}}.appNavbar{--nav-ink: #172033;--nav-muted: #687386;--nav-border: #e2e7ef;--nav-blue: #4169e1;--nav-blue-soft: #edf1ff;position:relative;z-index:20;display:block;width:calc(100% - 44px);max-width:1176px;margin:22px auto 0;padding:8px;border:1px solid var(--nav-border);border-radius:18px;background:#fff;box-shadow:0 10px 26px #202d470d;color:var(--nav-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.4}.appNavbar,.appNavbar *,.appNavbar *:before,.appNavbar *:after{box-sizing:border-box}.appNavbar svg{display:block;width:18px;height:18px;flex:0 0 auto;pointer-events:none}.appNavbar .appNavbarLinks{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;gap:6px;margin:0;padding:0}.appNavbar .appNavbarLink{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:46px;margin:0;padding:11px 12px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--nav-muted);font-size:.875rem;font-weight:650;line-height:1.3;text-align:center;text-decoration:none;white-space:nowrap;transition:color .15s ease,background-color .15s ease,border-color .15s ease;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.appNavbar .appNavbarLink.isActive{border-color:#dbe3fc;background:var(--nav-blue-soft);color:var(--nav-blue);font-weight:750}.appNavbar .appNavbarLink:focus-visible,.appNavbar .appNavbarToggle:focus-visible{outline:3px solid var(--nav-blue);outline-offset:2px}.appNavbar .appNavbarToggle{display:none}@media(hover:hover){.appNavbar .appNavbarLink:hover{background:#f5f7fb;color:var(--nav-ink)}.appNavbar .appNavbarLink.isActive:hover{border-color:#cbd7fb;background:#e4ebff;color:#3156c6}}@media(min-width:768px)and (max-width:1023px){.appNavbar{padding:7px;border-radius:16px}.appNavbar .appNavbarLinks{gap:4px}.appNavbar .appNavbarLink{gap:6px;padding:11px 5px;font-size:.8125rem}.appNavbar .appNavbarLink svg{width:16px;height:16px}}@media(max-width:767px){.appNavbar{width:calc(100% - 24px);margin:14px auto 0;padding:0;border-radius:14px}.appNavbar .appNavbarToggle{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;margin:0;padding:12px 14px;border:0;border-radius:inherit;background:transparent;color:var(--nav-ink);font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.appNavbar .appNavbarCurrentIcon{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #dbe3fc;border-radius:11px;background:var(--nav-blue-soft);color:var(--nav-blue)}.appNavbar .appNavbarCurrentIcon svg{width:20px;height:20px}.appNavbar .appNavbarCurrentText{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}.appNavbar .appNavbarCaption{color:var(--nav-muted);font-size:.65rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.appNavbar .appNavbarCurrentLabel{overflow:hidden;color:var(--nav-ink);font-size:.9375rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.appNavbar .appNavbarChevron{width:20px;height:20px;color:var(--nav-muted);transition:transform .15s ease}.appNavbar[data-open=true] .appNavbarChevron{transform:rotate(180deg)}.appNavbar .appNavbarLinks{position:absolute;top:calc(100% + 8px);right:0;left:0;display:none;grid-template-columns:1fr;gap:4px;max-height:min(460px,70vh);max-height:min(460px,70dvh);overflow-y:auto;overscroll-behavior:contain;padding:8px;border:1px solid var(--nav-border);border-radius:14px;background:#fff;box-shadow:0 16px 36px #202d4724}.appNavbar[data-open=true] .appNavbarLinks{display:grid}.appNavbar .appNavbarLink{justify-content:flex-start;gap:12px;min-height:46px;padding:11px 13px;font-size:.875rem;text-align:left}.appNavbar .appNavbarLink.isActive:after{content:"";width:6px;height:6px;flex:0 0 auto;margin-left:auto;border-radius:50%;background:var(--nav-blue)}}@media(prefers-reduced-motion:reduce){.appNavbar .appNavbarLink,.appNavbar .appNavbarChevron{transition:none}}
