.totalWrapper{width:100%;display:flex;justify-content:center}.hideBtn{border:none;background-color:transparent;margin:0}.ingHidden{opacity:.45}.recipeList{background:#e8e8e8;border-radius:10px;padding:8px;margin-bottom:10px}.recipeListHeader{display:flex;justify-content:space-between;align-items:center;gap:8px}.recipeDropdownCard{margin-top:8px;display:flex;flex-direction:column;gap:8px}.recipeDropdownList{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px;max-height:240px;overflow-y:auto}.recipeDropdownItem{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#fff;border:1px solid #d7d7d7;border-radius:10px;padding:8px}.recipeDropdownInfo{min-width:0;flex:1}.recipeDropdownName{font-size:12px;font-weight:700;margin-bottom:2px}.recipeDropdownMeta{font-size:10px;opacity:.75}.recipeDropdownEmpty{background:#fff;border:1px solid #d7d7d7;border-radius:10px;padding:8px;font-size:11px;opacity:.7}.recipeAddBtn{width:auto;margin-top:0;padding:6px 10px;white-space:nowrap}.TDEECalculatorWrapper{display:flex;justify-content:center}.TDEECalculator{background-color:#e8e8e8;font-size:12px;padding:10px;border-radius:6px;margin-bottom:12px}.TDEECalculator h3{margin:0 0 8px;font-size:13px}.tdeeForm{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tdeeForm>div{background-color:#fff;border-radius:4px;padding:6px}.tdeeForm input,.tdeeForm select{width:100%;font-size:12px;padding:5px;border:1px solid black;border-radius:4px;background-color:#fff;outline:none;box-sizing:border-box}.tdeeForm label{display:block;margin-top:4px;font-size:11px}.tdeeResults{margin-top:10px;background-color:#fff;border-radius:4px;padding:8px}.tdeeResults p{margin:4px 0}.main{background-color:#e8e8e8;font-size:10px;border-collapse:separate;border-spacing:2px;padding:3px;border-radius:6px}.mainTr{padding:5px}.mainTr td{border:none;background-color:#fff;border-radius:4px;margin:4px}.dropDownTr{background-color:#fff}.dropDownTr table{background-color:#e8e8e8;font-size:9px;border-collapse:separate;border-spacing:4px;padding:2px;border-radius:4px}.dropDownTr td{border:none;background-color:#fff;border-radius:2px}.total{background-color:#fff;border:none}.total td{border:none;padding:5px;border-radius:3px}.options{display:flex;justify-content:end}.options button{background-color:#e8e8e8;border:none;border-radius:10px;padding:5px;margin:5px;font-size:10px}.dateInfo{display:flex;justify-content:center;margin-bottom:12px}.dateInfo form{width:100%;max-width:420px;background-color:#e8e8e8;border-radius:6px;padding:10px;display:flex;gap:8px;align-items:center}.dateInfo input[type=date]{flex:1;font-size:12px;padding:6px 8px;border:1px solid black;border-radius:4px;background-color:#fff;outline:none;box-sizing:border-box}.dateInfo button{font-size:12px;padding:6px 12px;border:1px solid black;border-radius:4px;background-color:#fff;cursor:pointer}.overGoal{color:red}.underGoal{color:green}.atGoal{color:#000}.updateBtn{margin-top:10px;padding:6px 12px;font-size:12px;border:1px solid black;border-radius:4px;background-color:#fff;cursor:pointer}.updateBtn:disabled{opacity:.6;cursor:not-allowed}@media(min-width:600px){.updateBtn{font-size:13px;padding:7px 14px;border-radius:6px}.TDEECalculator{font-size:13px;padding:14px;border-radius:8px}.TDEECalculator h3{font-size:15px;margin-bottom:10px;width:75%}.tdeeForm{gap:10px}.tdeeForm input,.tdeeForm select{font-size:13px;padding:7px;border-radius:6px}.tdeeForm label{font-size:12px}.tdeeResults{padding:10px;border-radius:6px}.main{font-size:10px;border-spacing:7px;padding:6px;border-radius:8px}.mainTr{padding:6px}.mainTr td{border-radius:6px}.dropDownTr table{font-size:13px;border-spacing:7px;padding:6px;border-radius:6px}.total td{padding:7px;border-radius:5px}}@media(min-width:900px){.updateBtn{font-size:14px;padding:8px 16px}.TDEECalculator{font-size:14px;padding:16px;width:75%}.TDEECalculator h3{font-size:16px}.tdeeForm{gap:12px}.tdeeForm input,.tdeeForm select{font-size:14px;padding:8px}.main,.dropDownTr table{font-size:14px;border-spacing:8px;padding:8px}}@media(min-width:1200px){.TDEECalculator{max-width:900px}.main{max-width:1100px}}.addRecipe{display:flex;justify-content:center}.addRecipe button{width:100px;height:30px;margin-top:20px;margin-bottom:20px;border:none;border-radius:8px}.recipes{background-color:#f3f3f3;padding:5px}.recipe{margin:10px}.recipe h4{margin:0}.switch{display:flex;justify-content:space-between}.switchBtns{display:flex;gap:1px;align-items:center}.iconBtn{-webkit-tap-highlight-color:transparent;appearance:none;background:#fff;border:1px solid rgba(0,0,0,.45);border-radius:12px;width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center;line-height:1;padding:0;font-size:12px;cursor:pointer;-webkit-user-select:none;user-select:none}.iconBtn:active{transform:translateY(1px)}.iconBtn:hover{background:#e6e5e5}.iconBtn--chev{border-radius:999px;width:23px;height:23px;font-size:12px}.ingredientsWrap{width:100%}.ingredients{width:100%;display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}.ingredient{flex:0 0 10.5rem;max-width:8.72rem;background-color:#e6e6e6;border-radius:10px;padding:6px}.ingredientName{display:flex;align-items:center;height:2.4rem;border-bottom:black solid 1px;font-size:14px}.nutritionLabel{font-family:Helvetica}.nutritionLabel footer{border-top:black solid 1px;padding-top:5px;display:flex;justify-content:center;align-items:center}.nutritionLabel footer button{font-size:12px}.measurements{border-bottom:black solid 11px;font-size:12px}.calories{border-bottom:black solid 5px;font-size:15px}.nutrients{font-size:11px}.carbDetails,.fatDetails,.sugarDetails{padding-left:10px}.recipesToolbar{display:flex;gap:8px;align-items:center;padding:8px 10px;margin:0 10px 10px;background:#f3f3f3}.searchInput{width:100%;height:34px;border-radius:12px;border:1px solid rgba(0,0,0,.25);padding:0 12px;font-size:14px;outline:none}.searchInput:focus{border-color:#00000073}.clearBtn{height:34px;padding:0 12px;border-radius:12px;border:1px solid rgba(0,0,0,.45);background:#fff;font-size:14px}.clearBtn:hover{background:#e6e5e5}@media(min-width:600px){.recipesToolbar{margin:0 14px 14px;padding:10px 12px}.searchInput,.clearBtn{height:40px;font-size:15px}}@media(min-width:600px){.recipes{padding:12px}.recipe{margin:14px}.iconBtn{width:34px;height:34px;font-size:19px;border-radius:12px}.iconBtn--chev{width:34px;height:34px;font-size:17px;border-radius:999px}.addRecipe button{width:130px;height:36px;margin-top:24px;margin-bottom:24px;border-radius:10px}.ingredients{gap:10px}.ingredient{flex-basis:12rem;max-width:12rem;padding:8px;border-radius:12px}.ingredientName{font-size:15px;height:2.6rem}.measurements{font-size:13px}.calories{font-size:16px}.nutrients{font-size:12px}.nutritionLabel footer button{font-size:13px}}@media(min-width:900px){.recipes{padding:18px}.recipe{margin:18px}.iconBtn,.iconBtn--chev{width:42px;height:42px;font-size:20px}.addRecipe button{width:150px;height:40px;margin-top:28px;margin-bottom:28px}.ingredients{gap:12px}.ingredient{flex-basis:13.5rem;max-width:13.5rem;padding:10px}.ingredientName{font-size:16px;height:2.8rem}.measurements{font-size:14px}.calories{font-size:18px}.nutrients{font-size:13px}.carbDetails,.fatDetails,.sugarDetails{padding-left:12px}}@media(min-width:1200px){.recipes{max-width:1600px;margin:0 auto;border-radius:10px}}.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}.hidden{display:none}*{box-sizing:border-box}.goalsPage{width:100%;padding:8px;font-family:Helvetica,Arial,sans-serif}.goalsTopGrid{display:flex}.goalCard{background-color:#e8e8e8;border-radius:10px;padding:8px;width:100%}.addNewGoal{display:grid;grid-template-columns:1fr;gap:6px}.addNewGoal label{font-size:11px;font-weight:700}.addNewGoal input{width:100%;font-size:12px;padding:7px 8px;border:1px solid black;border-radius:6px;background-color:#fff;outline:none}.addNewGoal button{width:100%;font-size:12px;padding:7px 10px;border:1px solid black;border-radius:6px;background-color:#fff;cursor:pointer}.goalLibrary{margin-top:10px;background-color:#fff;border-radius:8px;padding:8px}.goalLibrary label{display:block;margin-bottom:4px;font-size:11px;font-weight:700}.goalLibrary select{width:100%;font-size:12px;padding:7px 8px;border:1px solid black;border-radius:6px;background-color:#fff;outline:none;margin-bottom:8px}.goalLibrary button{width:100%;font-size:12px;padding:7px 10px;border:none;border-radius:8px;background-color:#e8e8e8;cursor:pointer}.selectedDateText{margin:0 0 8px;font-size:13px;font-weight:700}.datePickerForm{display:flex;gap:6px;align-items:center;margin-bottom:10px}.datePickerForm input[type=date]{flex:1;font-size:12px;padding:7px 8px;border:1px solid black;border-radius:6px;background-color:#fff;outline:none}.datePickerForm button{font-size:12px;padding:7px 10px;border:1px solid black;border-radius:6px;background-color:#fff;cursor:pointer}.goalAssignRow{display:grid;grid-template-columns:1fr;gap:6px;margin-bottom:10px}.goalAssignRow select{width:100%;font-size:12px;padding:7px 8px;border:1px solid black;border-radius:6px;background-color:#fff;outline:none}.goalAssignRow button{width:100%;font-size:12px;padding:7px 10px;border:1px solid black;border-radius:6px;background-color:#fff;cursor:pointer}.dailyGoals{width:100%;background-color:#e8e8e8;font-size:10px;border-collapse:separate;border-spacing:3px;padding:3px;border-radius:8px}.dailyGoals tbody tr td{background-color:#fff;border:none;border-radius:6px;padding:7px 6px;font-size:11px}.dailyGoal .goalName{font-weight:700;width:100%}.dailyGoal .goalLabel{width:48px;text-align:center;font-weight:700}.dailyGoal button{font-size:11px;padding:5px 8px;border:none;border-radius:8px;background-color:#e8e8e8;cursor:pointer}.goalsPage h2{margin:0 0 8px;font-size:16px}.calendarNav{display:flex;gap:6px;margin-bottom:8px}.calendarNav button{font-size:12px;padding:7px 10px;border:1px solid black;border-radius:6px;background-color:#fff;cursor:pointer}.calendarWrap{width:100%;overflow-x:auto}.calendarTable{width:100%;border-collapse:separate;border-spacing:3px;table-layout:fixed;background-color:#e8e8e8;border-radius:8px;padding:3px}.calendarTable th{background-color:#fff;border:none;border-radius:6px;padding:4px 2px;font-size:7px;font-weight:700;line-height:1.1;text-align:center;word-break:break-word}.calendarTable td{border:none;border-radius:6px;vertical-align:top}.calendarCell{height:52px;padding:4px;cursor:pointer;transition:transform .12s ease,opacity .12s ease}.calendarCell:hover{opacity:.92}.calendarDayNumber{font-size:10px;font-weight:700;line-height:1;margin-bottom:4px}.calendarGoalLabels{margin-top:4px;font-size:8px;font-weight:700;line-height:1.2;word-break:break-word}.currentMonth{color:#000}.otherMonth{color:#969696}.todayCell{outline:2px solid black;outline-offset:-2px}.selectedCell{box-shadow:inset 0 0 0 2px #000}.calendarCell.goalLevel0{background-color:#e1e1e1}.calendarCell.goalLevel1{background-color:#ffc7c7}.calendarCell.goalLevel2{background-color:#ffd699}.calendarCell.goalLevel3{background-color:#ffefa3}.calendarCell.goalLevel4{background-color:#6cb56c;color:#fff}.calendarCell.goalLevel5{background-color:#d4af37;color:#000}.calendarCell.goalLevel4 .calendarGoalLabels,.calendarCell.goalLevel4 .calendarDayNumber{color:#fff}.calendarCell.goalLevel5 .calendarGoalLabels,.calendarCell.goalLevel5 .calendarDayNumber{color:#000}.notesSection{margin:10px 0 12px}.dailyNotesTable{width:100%;background-color:#e8e8e8;border-collapse:separate;border-spacing:3px;padding:3px;border-radius:8px;margin-bottom:8px}.dailyNoteRow .dailyNoteCell{background-color:#fff;border:none;border-radius:6px;padding:8px}.dailyNoteText{font-size:11px;line-height:1.35;margin-bottom:8px;white-space:pre-wrap;word-break:break-word}.dailyNoteActions{display:flex;justify-content:flex-end;gap:6px}.dailyNoteActions button{font-size:11px;padding:5px 8px;border:none;border-radius:8px;background-color:#e8e8e8;cursor:pointer}.dailyNoteEmpty{font-size:11px;opacity:.7}.noteForm{display:grid;grid-template-columns:1fr;gap:6px}.noteForm textarea{width:100%;min-height:88px;resize:vertical;font-size:12px;padding:8px;border:1px solid black;border-radius:8px;background-color:#fff;outline:none;font-family:inherit}.noteForm button{width:100%;font-size:12px;padding:7px 10px;border:1px solid black;border-radius:6px;background-color:#fff;cursor:pointer}@media(min-width:390px){.calendarGoalLabels{font-size:9px}}@media(min-width:768px){.calendarGoalLabels{font-size:10px;margin-top:6px}}@media(min-width:1100px){.calendarGoalLabels{font-size:11px}}@media(min-width:390px){.goalsPage{padding:10px}.goalCard{padding:10px;border-radius:12px}.addNewGoal label,.goalLibrary label{font-size:12px}.addNewGoal input,.goalLibrary select,.datePickerForm input[type=date],.goalAssignRow select{font-size:13px;padding:8px 9px}.addNewGoal button,.goalLibrary button,.datePickerForm button,.goalAssignRow button,.calendarNav button{font-size:12px;padding:8px 11px}.selectedDateText{font-size:14px}.dailyGoals tbody tr td{font-size:12px;padding:8px 7px}.dailyGoal button{font-size:11px}.goalsPage h2{font-size:18px}.calendarTable th{font-size:9px;padding:6px 4px}.calendarCell{height:62px;padding:5px}.calendarDayNumber{font-size:11px}.calendarGoalCount{font-size:9px;padding:3px 6px}.dailyNoteText{font-size:12px}.dailyNoteActions button{font-size:11px}.noteForm textarea{font-size:13px;padding:9px}.noteForm button{font-size:12px;padding:8px 11px}}@media(min-width:768px){.goalsPage{padding:14px}.goalsTopGrid{grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.goalCard{padding:14px;border-radius:12px}.addNewGoal{gap:8px}.addNewGoal label,.goalLibrary label{font-size:13px}.addNewGoal input,.goalLibrary select,.datePickerForm input[type=date],.goalAssignRow select{font-size:14px;padding:9px 10px;border-radius:8px}.addNewGoal button,.goalLibrary button,.datePickerForm button,.goalAssignRow button,.calendarNav button{font-size:13px;padding:8px 14px;border-radius:8px}.goalAssignRow{grid-template-columns:1fr auto;align-items:center}.selectedDateText{font-size:16px;margin-bottom:10px}.datePickerForm{gap:8px}.dailyGoals{font-size:12px;border-spacing:5px;padding:5px;border-radius:10px}.dailyGoals tbody tr td{font-size:13px;padding:10px 8px;border-radius:8px}.dailyGoal .goalLabel{width:60px}.dailyGoal button{font-size:12px;padding:6px 10px}.goalsPage h2{font-size:22px;margin-bottom:10px}.calendarNav{gap:8px;margin-bottom:10px}.calendarTable{border-spacing:5px;padding:5px;border-radius:10px}.calendarTable th{font-size:11px;padding:8px 6px;border-radius:8px}.calendarCell{height:86px;padding:6px;border-radius:8px}.calendarDayNumber{font-size:13px;margin-bottom:6px}.calendarGoalCount{font-size:10px;padding:4px 8px}.dailyNotesTable{border-spacing:5px;padding:5px;border-radius:10px}.dailyNoteRow .dailyNoteCell{border-radius:8px;padding:10px}.dailyNoteText{font-size:13px;margin-bottom:10px}.dailyNoteActions button{font-size:12px;padding:6px 10px}.noteForm textarea{font-size:14px;padding:10px;border-radius:8px;min-height:100px}.noteForm button{font-size:13px;padding:8px 14px;border-radius:8px}}@media(min-width:1100px){.goalsPage{padding:18px}.goalsTopGrid{gap:16px;margin-bottom:18px}.goalCard{padding:16px}.addNewGoal input,.goalLibrary select,.datePickerForm input[type=date],.goalAssignRow select{font-size:15px;padding:10px 12px}.addNewGoal button,.goalLibrary button,.datePickerForm button,.goalAssignRow button,.calendarNav button{font-size:14px;padding:9px 16px}.selectedDateText{font-size:17px}.dailyGoals tbody tr td{font-size:14px;padding:10px}.goalsPage h2{font-size:24px}.calendarTable th{font-size:12px;padding:10px 8px}.calendarCell{height:104px;padding:8px}.calendarDayNumber{font-size:14px}.calendarGoalCount{font-size:11px}.dailyNoteText{font-size:14px}.noteForm textarea{font-size:15px;padding:12px}.noteForm button{font-size:14px;padding:9px 16px}}.weightPageWrapper{width:100%;display:flex;flex-direction:column;align-items:center;gap:12px;box-sizing:border-box;padding:0 8px 16px}.weightCard,.weightHistoryCard{width:100%;max-width:100%;background-color:#e8e8e8;border-radius:8px;padding:10px;box-sizing:border-box;overflow:hidden}.weightCard h3,.weightHistoryCard h3{margin:0 0 8px;font-size:13px;line-height:1.2}.weightSubtext{margin:0 0 8px;font-size:11px;opacity:.8}.weightForm{display:flex;flex-direction:column;gap:10px}.weightInputCard{background-color:#fff;border-radius:6px;padding:8px}.weightInputCard input{width:100%;font-size:16px;padding:8px;border:1px solid black;border-radius:4px;background-color:#fff;outline:none;box-sizing:border-box}.weightInputCard label{display:block;margin-top:4px;font-size:11px}.weightTrendHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px;flex-wrap:wrap}.chartRangeTabs{display:flex;gap:6px;flex-wrap:wrap}.chartTab{border:1px solid black;background:#fff;border-radius:6px;padding:6px 10px;font-size:11px;cursor:pointer}.activeChartTab{background:#d7d7d7;font-weight:700}.chartCard{background-color:#fff;border-radius:6px;padding:8px;overflow:hidden}.chartScrollArea{width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-bottom:4px}.weightChart{display:block;width:100%;min-width:560px;height:260px}.chartAxis{stroke:#000;stroke-width:1}.chartGridLine{stroke:#cfcfcf;stroke-width:1}.chartLine{stroke:#000;stroke-width:3;fill:none}.chartPoint{fill:#000;cursor:pointer}.chartLabel{font-size:10px;fill:#000}.chartTooltipBox{fill:#fff;stroke:#000;stroke-width:1}.chartTooltipText{font-size:10px;fill:#000;pointer-events:none}.chartLabels{margin-top:8px;display:flex;justify-content:space-between;gap:8px;font-size:11px;flex-wrap:wrap}.weightStatsGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.weightStatBox{background-color:#fff;border-radius:6px;padding:8px;display:flex;flex-direction:column;gap:4px;font-size:11px;min-width:0}.weightStatBox strong,.weightStatBox span{overflow-wrap:anywhere}.weightStatBox span{font-size:13px}.weightEmpty{background-color:#fff;border-radius:6px;padding:10px;font-size:11px;opacity:.8}.weightTable{width:100%;table-layout:fixed}.weightTable th,.weightTable td{word-wrap:break-word}.weightTable .mainTr td{padding:8px}.weightHistoryCard{overflow-x:auto}.chartLineMovingAvg{stroke:#666;stroke-width:2;stroke-dasharray:6 4;fill:none}.chartTrendLine{stroke:#999;stroke-width:2;stroke-dasharray:2 4}.weightStatsGridExpanded{grid-template-columns:1fr 1fr}.insightGrid{display:grid;grid-template-columns:1fr;gap:8px}.insightCard{background:#fff;border-radius:6px;padding:10px}.insightCard h4{margin:0 0 6px;font-size:12px}.insightCard p{margin:4px 0;font-size:11px;line-height:1.35}.scoreGrid{display:grid;grid-template-columns:1fr;gap:8px}.scoreCard{background:#fff;border-radius:6px;padding:10px}.scoreHeader{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:8px;font-size:11px}.scoreBarTrack{width:100%;height:10px;background:#dcdcdc;border-radius:999px;overflow:hidden;margin-bottom:8px}.scoreBarFill{height:100%;background:#000;border-radius:999px}.scoreCard p{margin:4px 0;font-size:11px}.changeHighlights{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:10px}.changeHighlightCard{background:#fff;border-radius:6px;padding:10px;display:flex;flex-direction:column;gap:4px}.changeHighlightCard span{font-size:18px;font-weight:700}.changeHighlightCard small{font-size:11px;opacity:.8}.deltaList{display:flex;flex-direction:column;gap:8px}.deltaRow{display:grid;grid-template-columns:1.2fr 1fr auto;gap:8px;align-items:center;background:#fff;border-radius:6px;padding:8px}.deltaDate{font-size:11px}.deltaTrack{width:100%;height:10px;background:#e5e5e5;border-radius:999px;overflow:hidden}.deltaBar{height:100%;border-radius:999px}.deltaUp{background:#666}.deltaDown{background:#000}.deltaValue{font-size:11px;font-weight:700;white-space:nowrap}.projectionTableWrapper{overflow-x:auto}.projectionTable{width:100%;border-collapse:separate;border-spacing:6px;font-size:11px}.projectionTable th,.projectionTable td{background:#fff;border-radius:6px;padding:8px;text-align:left}@media(min-width:600px){.weightStatsGridExpanded{grid-template-columns:repeat(3,1fr)}.insightGrid{grid-template-columns:1fr 1fr}.scoreGrid{grid-template-columns:1fr 1fr 1fr}.changeHighlights{grid-template-columns:1fr 1fr}.insightCard h4{font-size:13px}.insightCard p,.scoreCard p,.deltaDate,.deltaValue,.projectionTable{font-size:12px}}@media(min-width:900px){.weightStatsGridExpanded{grid-template-columns:repeat(4,1fr)}.insightGrid{grid-template-columns:repeat(3,1fr)}}@media(min-width:600px){.weightPageWrapper{padding:0 12px 20px;gap:14px}.weightCard,.weightHistoryCard{padding:14px;border-radius:10px;max-width:900px}.weightCard h3,.weightHistoryCard h3{font-size:15px}.weightSubtext{font-size:12px}.weightInputCard{padding:10px;border-radius:8px}.weightInputCard input{font-size:15px;padding:9px;border-radius:6px}.weightInputCard label{font-size:12px}.chartTab{font-size:12px;padding:6px 12px}.weightChart{min-width:700px;height:290px}.chartLabel,.chartTooltipText{font-size:11px}.chartLabels{font-size:12px}.weightStatsGrid{grid-template-columns:repeat(3,1fr)}.weightStatBox{font-size:12px;padding:10px}.weightStatBox span{font-size:14px}}@media(min-width:900px){.weightPageWrapper{padding:0 16px 24px;gap:16px}.weightCard,.weightHistoryCard{width:75%;max-width:1000px;padding:16px}.weightTrendHeader{align-items:center}.weightChart{min-width:820px;height:320px}.chartLabel,.chartTooltipText{font-size:12px}.weightStatsGrid{grid-template-columns:repeat(5,1fr)}}@media(min-width:1200px){.weightCard,.weightHistoryCard{max-width:1100px}.weightChart{min-width:900px;height:340px}}.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}.meters{display:grid;grid-template-columns:1fr;gap:10px;width:100%;margin:14px 0 20px}.meter{min-width:0;min-height:118px;padding:14px 12px;border:1px solid transparent;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.meterLabel{margin-bottom:6px;font-size:.76rem;font-weight:700;line-height:1.3;opacity:.88}.meterValue{font-size:clamp(1.55rem,4vw,2rem);font-weight:800;line-height:1;letter-spacing:-.035em}.meterSub{margin-top:6px;font-size:.72rem;line-height:1.35;opacity:.83}.safe{border-color:#bbdfc5;background:#edf8f0;color:#166534}.caution{border-color:#f1da97;background:#fff8df;color:#854d0e}.danger{border-color:#efb5b5;background:#fff0f0;color:#991b1b}.black{border-color:#2d3748;background:#1f2937;color:#fff}.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}.meters{grid-template-columns:repeat(2,minmax(0,1fr))}.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){.meters{grid-template-columns:repeat(3,minmax(0,1fr))}.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}.meters{grid-template-columns:repeat(5,minmax(0,1fr))}.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%}.meters{grid-template-columns:1fr}}nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;background-color:#ddd;padding:8px;margin:0 auto 12px;border-radius:8px;width:calc(100% - 16px);max-width:420px;box-sizing:border-box}.NavLink{text-decoration:none;color:#000;background-color:#fff;border:1px solid black;border-radius:6px;padding:7px 10px;font-size:11px;line-height:1.1;display:flex;align-items:center;justify-content:center;min-height:34px;flex:1 1 calc(50% - 8px);min-width:0;text-align:center;white-space:nowrap}.NavLink:hover{background-color:#ececec}.NavLink.active{color:#000;background-color:#c5c5c5;font-weight:700}@media(max-width:360px){nav{gap:6px;padding:6px;width:calc(100% - 12px)}.NavLink{font-size:10px;padding:6px 8px;min-height:32px;flex:1 1 calc(50% - 6px)}}@media(min-width:480px){nav{gap:10px;padding:10px;max-width:520px}.NavLink{font-size:12px;padding:8px 12px;min-height:36px;flex:1 1 calc(33.333% - 10px)}}@media(min-width:768px){nav{flex-wrap:nowrap;max-width:760px;gap:10px;padding:10px 12px;border-radius:10px}.NavLink{flex:1 1 0;font-size:13px;padding:8px 14px;min-height:38px;border-radius:8px}}@media(min-width:1100px){nav{max-width:900px;gap:12px;padding:12px 14px}.NavLink{font-size:14px;padding:9px 16px;min-height:40px}}
