.app:has(.profile-screen){min-height:0}
.profile-screen{height:100vh;height:100svh;height:100dvh;min-height:0;max-height:880px;padding:max(10px,env(safe-area-inset-top)) 20px max(9px,env(safe-area-inset-bottom));display:flex;flex-direction:column;overflow:hidden;animation:none}
.profile-screen .screen-head{flex:none;height:41px;margin:0 -3px 14px}.profile-screen .screen-head .brand{width:117px;height:39px}.profile-screen .icon-button{width:34px;height:34px}.profile-screen .head-spacer{width:34px}
.profile-progress{flex:none}.profile-progress .progress-meta{font-size:10px;margin-bottom:7px;gap:12px}.profile-progress .progress-meta>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-progress .progress-meta>strong{white-space:nowrap}.profile-progress .progress-track{height:4px;margin-bottom:18px}
.profile-intro{flex:none}.profile-screen h1{font-size:26px;letter-spacing:-.8px;line-height:1.1;margin:0 0 9px;text-wrap:balance}.profile-screen .subtitle{font-size:12px;line-height:1.4;margin:0 0 16px}
.profile-form{display:flex;flex-direction:column;flex:1;min-height:0}.profile-body{display:flex;flex:1;min-height:0;flex-direction:column;justify-content:center;gap:16px}
.identity-fields{background:white;padding:18px 16px;border:1px solid #e3e2d7;border-radius:18px;display:flex;flex-direction:column;gap:16px}
.profile-screen .field-label,.profile-screen legend{font-size:11px;line-height:1.35;margin:0 0 6px}.profile-screen .input,.profile-screen select,.profile-screen textarea{min-height:44px;padding:11px;font-size:16px;border-radius:11px;border-color:#ddded5}.profile-screen input:disabled{background:#f3f3ee;color:#8c9186}.profile-screen .input[aria-invalid],.profile-screen select[aria-invalid]{border-color:#c10d24;box-shadow:0 0 0 1px #c10d24}.profile-screen .field-hint{font-size:10px;line-height:1.45;margin-top:7px}
.profile-measurements{display:grid;grid-template-columns:1.2fr 1fr;gap:10px}.age-inputs{display:flex;border:1px solid #ddded5;border-radius:11px;overflow:hidden;background:white}.profile-screen .age-inputs input{border:0;width:calc(100% - 61px);min-width:0;padding-inline:10px}.profile-screen .age-inputs select{border:0;width:61px;border-radius:0;border-left:1px solid #e8e8df;font-size:12px;padding:7px 0 7px 5px;min-width:0}.profile-screen .field-unit>span{top:14px;right:10px;font-size:12px}.profile-screen .field-unit input{padding-right:31px}
.compact-check{display:flex;align-items:center;gap:5px;font-size:10px;color:#70776a;min-height:23px;margin-top:4px;cursor:pointer}.compact-check input{accent-color:var(--red);width:14px;height:14px;margin:0;flex:none}
.profile-love{display:flex;align-items:center;justify-content:center;gap:9px;font-size:11px;color:#6f795e;padding:9px 0}.profile-love .icon{width:17px;height:17px}
.profile-body h2{display:flex;align-items:center;gap:8px;font-size:14px;letter-spacing:-.2px;margin:0 0 13px}.profile-body h2 .icon{width:19px;height:19px;color:#677e57}
.routine-section{padding:15px 13px 5px;border:1px solid #e2e2d6;border-radius:17px;background:white}.routine-selects{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:15px}.routine-selects>div{min-width:0}.profile-screen .routine-selects select{font-size:12px;min-width:0;width:100%;padding-inline:8px;min-height:40px}
.health-choices{display:grid;grid-template-columns:1fr 1fr;gap:6px}.profile-screen .health-choices .choice{padding:8px 9px;min-height:35px;border-radius:9px;gap:5px}.profile-screen .health-choices .choice-text strong{font-size:10px;font-weight:600;line-height:1.2}.profile-screen .choice-indicator{width:14px;height:14px}.health-choices .choice:last-child{grid-column:1/-1;justify-content:center;gap:9px}.health-choices .choice:last-child .choice-text{flex:none}
.care-details{height:30px;width:100%;font-size:10px;display:flex;align-items:center;justify-content:center;gap:5px;background:none;border:0;color:#6b705e;padding:4px 0}.care-details .icon{width:13px;height:13px}
.recipes-section{padding:0 2px}.recipes-section h2{margin-bottom:4px}.section-hint{font-size:10px;color:#6c7462;margin:0 0 11px}.recipe-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.profile-screen .recipe-choices .choice{min-height:87px;padding:11px 4px 9px;border-radius:12px;gap:7px;flex-direction:column;justify-content:flex-start;align-items:center;text-align:center}.profile-screen .recipe-choices .choice-symbol{height:27px;width:30px;background:none;border-radius:0;color:#778763}.profile-screen .recipe-choices .choice-symbol .icon{width:24px;height:24px}.profile-screen .recipe-choices .choice-text{flex:0}.profile-screen .recipe-choices .choice-text strong{font-size:11px;font-weight:700;line-height:1.2}.profile-screen .recipe-choices .choice-indicator{position:absolute;top:5px;right:5px;width:11px;height:11px}.profile-screen .recipe-choices .choice.multi:has(input:checked) .choice-indicator:after{font-size:9px}.profile-screen .recipe-choices .choice:has(input:checked) .choice-symbol{color:var(--red)}
.profile-footer{flex:none;padding-top:6px;background:var(--cream);position:relative;z-index:2}.profile-feedback{height:34px;display:flex;align-items:center;justify-content:center;text-align:center;padding:2px 3px}.profile-feedback p{font-size:11px;line-height:1.35;color:#6c735f;margin:0}.profile-feedback #form-error{color:#b20c21;font-size:11px}.profile-feedback #form-error:empty{display:none}.profile-screen .primary{min-height:49px;padding:14px 9px;font-size:12px}.profile-screen .micro{font-size:9px;line-height:1.35;margin:6px 0 0}.profile-screen [hidden]{display:none!important}
.health-dialog{width:calc(100% - 36px);max-width:370px;max-height:calc(100dvh - 32px);border:1px solid #e6dfd2;border-radius:22px;background:var(--cream);color:var(--ink);padding:24px;overflow-y:auto}.health-dialog::backdrop{background:#17332570;backdrop-filter:blur(3px)}.health-dialog h2{font-size:23px;line-height:1.2;letter-spacing:-.6px;margin:0 0 11px;overflow-wrap:anywhere}.health-dialog p{font-size:12px;line-height:1.5;color:#6a7363;margin:0 0 17px}.health-dialog textarea{font-size:16px;resize:none;padding:12px}.health-dialog .health-guidance{font-size:11px;margin:12px 0 18px}.health-dialog .primary{font-size:12px;min-height:46px;padding:13px}.health-dialog .optional{font-weight:400}
@media(max-height:700px){.profile-screen{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom))}.profile-screen .screen-head{height:36px;margin-bottom:11px}.profile-screen .screen-head .brand{height:34px;width:108px}.profile-progress .progress-track{margin-bottom:13px}.profile-screen h1{font-size:25px;margin-bottom:7px}.profile-screen .subtitle{font-size:11px;margin-bottom:12px}.profile-body{gap:12px}.identity-fields{padding:14px;gap:13px}.profile-love{padding:4px 0;font-size:10px}.routine-section{padding-top:12px}.profile-body h2{font-size:13px;margin-bottom:10px}.routine-selects{margin-bottom:11px}.recipes-section h2{margin-bottom:4px}.profile-footer{padding-top:2px}.profile-feedback{height:31px}}
@media(max-height:610px){.profile-screen{padding-inline:16px}.profile-screen .screen-head{height:32px;margin-bottom:8px}.profile-screen .screen-head .brand{height:30px;width:99px}.profile-progress .progress-meta{font-size:9px;margin-bottom:5px}.profile-progress .progress-track{margin-bottom:11px}.profile-screen h1{font-size:23px;margin-bottom:6px}.profile-screen .subtitle{font-size:10.5px;margin-bottom:9px;line-height:1.3}.identity-fields{padding:12px;gap:10px}.profile-screen .field-label,.profile-screen legend{font-size:10px;margin-bottom:5px}.profile-screen .input,.profile-screen select{min-height:40px;padding:9px}.profile-screen .field-unit>span{top:12px}.profile-screen .field-hint{font-size:9px;margin-top:5px}.profile-love{display:none}.profile-body{gap:10px}.routine-section{padding:10px 10px 2px;border-radius:14px}.profile-body h2{font-size:12px;margin-bottom:8px}.profile-body h2 .icon{width:16px;height:16px}.routine-selects{margin-bottom:9px;gap:7px}.profile-screen .routine-selects select{min-height:35px;font-size:11px;padding:6px}.health-choices{gap:5px}.profile-screen .health-choices .choice{min-height:31px;padding:6px}.profile-screen .health-choices .choice-text strong{font-size:9px}.care-details{height:26px;font-size:9px}.recipes-section h2{margin-bottom:3px}.section-hint{font-size:9px;margin-bottom:7px}.profile-screen .recipe-choices .choice{min-height:72px;gap:4px;padding-top:8px}.profile-screen .recipe-choices .choice-text strong{font-size:10px}.profile-screen .recipe-choices .choice-symbol{height:23px}.profile-screen .recipe-choices .choice-symbol .icon{width:20px;height:20px}.profile-feedback{height:31px}.profile-feedback p,.profile-feedback #form-error{font-size:10px}.profile-screen .primary{min-height:44px;padding:12px 8px;font-size:11px}.profile-screen .micro{font-size:8px;margin-top:5px}}
@media(max-width:350px){.profile-screen{padding-inline:12px}.profile-screen h1{font-size:23px}.profile-measurements{gap:7px}.profile-screen .age-inputs select{width:55px}.profile-screen .age-inputs input{width:calc(100% - 55px)}.compact-check{font-size:9px}.recipe-choices{gap:5px}}
@media(min-width:700px){.profile-screen{height:calc(100dvh - 46px)}}
.profile-screen.keyboard-open{height:var(--keyboard-height);max-height:none;transform:translateY(var(--keyboard-offset,0px));padding-top:5px}.profile-screen.keyboard-open .profile-intro,.profile-screen.keyboard-open .profile-progress,.profile-screen.keyboard-open .screen-head{display:none}.profile-screen.keyboard-open .profile-body{overflow-y:auto;justify-content:flex-start;padding:2px 3px;overscroll-behavior:contain}.profile-screen.keyboard-open .identity-fields,.profile-screen.keyboard-open .routine-section,.profile-screen.keyboard-open .recipes-section{flex:none}.profile-screen.keyboard-open .profile-feedback{height:28px}.profile-screen.keyboard-open .micro{display:none}
.profile-love{display:none}
.profile-body{justify-content:flex-start}
.identity-fields{gap:11px;padding:14px;flex:none}
.routine-section,.recipes-section{flex:none}
.profile-body h2{gap:10px}
.profile-screen .recipe-choices .choice-text{min-height:0}
.profile-screen .care-fieldset legend{margin-bottom:7px}
.profile-stage-2 .routine-section{padding:12px 12px 2px}
.profile-stage-2 .profile-body{gap:12px}
.profile-stage-2 .routine-selects{margin-bottom:10px}
.profile-stage-2 .profile-body h2{margin-bottom:9px}
.profile-stage-2 .health-choices .choice{min-height:32px;padding:7px 8px}
.profile-stage-2 .recipe-choices .choice{min-height:75px;padding-top:8px;gap:4px}
.profile-stage-2 .recipe-choices .choice-symbol{height:25px}
.profile-stage-2 .care-details{height:25px}
.profile-stage-2 .section-hint{margin-bottom:7px}
@media(max-height:700px){.identity-fields{padding:12px;gap:10px}.profile-stage-2 .profile-body h2{font-size:12px}.profile-stage-2 .routine-selects select{min-height:36px}.profile-stage-2 .health-choices{gap:5px}.profile-stage-2 .care-details{height:23px}.profile-stage-2 .recipe-choices .choice{min-height:70px}.profile-stage-2 .recipe-choices .choice-symbol{height:22px}.profile-stage-2 .recipe-choices .choice-text strong{font-size:10px}}
@media(max-height:610px){.identity-fields{padding:10px;gap:8px}.profile-stage-2 .routine-section{padding:9px 9px 1px}.profile-stage-2 .profile-body{gap:9px}.profile-stage-2 .profile-body h2{margin-bottom:7px}.profile-stage-2 .routine-selects{margin-bottom:7px}.profile-stage-2 .health-choices .choice{min-height:29px;padding:5px 6px}.profile-stage-2 .recipe-choices .choice{min-height:65px;padding-top:6px}.profile-stage-2 .care-details{height:21px}.profile-stage-2 .section-hint{margin-bottom:5px}}
@media(max-height:480px){.profile-body{overflow-y:auto;justify-content:flex-start}.identity-fields,.routine-section,.recipes-section{flex:none}}
.profile-stage-2 .routine-section{position:relative;padding-bottom:9px}
.profile-stage-2 .routine-selects select{height:40px;padding:7px 8px;line-height:1.3}
.profile-stage-2 .health-choices .choice:last-child{grid-column:1}
.profile-stage-2 .care-details{position:absolute;bottom:9px;right:12px;width:calc(50% - 18px);height:32px;padding:2px;line-height:1.2;text-align:center}
.profile-stage-2 .care-details .icon{flex:none}
@media(max-height:700px){.profile-stage-2 .routine-selects select{height:36px;padding:6px 8px}.profile-stage-2 .profile-feedback{height:27px}}
@media(max-height:610px){.profile-stage-2 .routine-selects select{height:35px;padding:6px}.profile-stage-2 .care-details{right:9px;width:calc(50% - 15px);height:29px}.profile-stage-2 .profile-feedback{height:25px}}
