
:root{--green:#354f54;--ink:#293537;--muted:#657172;--cream:#f5f4ef;--line:#daddd7;--purple:#6a4b85}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.6 system-ui,-apple-system,sans-serif}a{color:var(--green)}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:12px;padding:13px 23px;background:var(--green);color:white;text-decoration:none;font-weight:700;cursor:pointer;line-height:1.4}button:disabled{opacity:.6;cursor:wait}.secondary{background:white;color:var(--green);border-color:var(--line)}.text-button{background:transparent;color:var(--muted);padding:10px 0;border:0;text-decoration:underline;text-underline-offset:4px}.button:hover,button:hover{filter:brightness(.95)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9e7dba;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.045em;line-height:1.06}h1{font:500 clamp(42px,5.7vw,78px)/1.05 Georgia,serif;letter-spacing:-.05em}h2{font-size:clamp(30px,3vw,44px)}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:.16em;font-weight:800;color:var(--green);margin-bottom:18px}.muted,.hint{color:var(--muted)}.hint{font-size:14px}.shell{max-width:1200px;margin:auto;padding:0 28px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 0}.logo{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-weight:750}.logo span:first-child{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:var(--green);color:white;font-size:27px}.topbar nav{display:flex;align-items:center;gap:22px}.topbar nav>a:not(.button){font-size:14px;font-weight:650;text-decoration:none}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center;padding:55px 0 80px}.hero p{max-width:500px;font-size:18px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 15px}.hero-image{position:relative}.hero-image img{display:block;width:100%;height:520px;object-fit:cover;border-radius:100px 18px 18px 18px}.image-note{position:absolute;bottom:25px;left:-28px;max-width:300px;background:white;border:1px solid var(--line);border-radius:16px;padding:20px 25px;box-shadow:0 12px 40px #1c3f2816}.image-note strong{display:block;font-size:18px}.benefits{display:flex;gap:22px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-top:26px}.section{padding:75px 0;border-top:1px solid var(--line)}.intro{max-width:650px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin-top:40px}.step-number{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e2ead9;color:var(--green);font-weight:750;margin-bottom:20px}.steps h3{font-size:22px;letter-spacing:-.03em;margin-bottom:12px}.split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.sample-plan{background:#e5ebdc;border-radius:24px;padding:30px;transform:rotate(-1deg)}.sample-row{display:flex;align-items:center;gap:20px;background:white;border-radius:12px;padding:18px;margin-top:12px}.sample-row>span{font-size:13px;color:var(--muted);width:55px}.sample-row strong{font-size:15px}.sample-row small{display:block;color:var(--muted)}video{width:100%;display:block;border-radius:20px;background:#173e2c;margin-top:30px}.cta{background:var(--green);color:white;padding:55px;border-radius:26px;margin:30px 0 70px;display:flex;align-items:center;justify-content:space-between;gap:35px}.cta h2{margin:0 0 14px}.cta p{margin:0;color:#deead6}.cta .button{background:white;color:var(--green);white-space:nowrap}footer{font-size:13px;color:var(--muted);padding:25px 0 40px;display:flex;justify-content:space-between;gap:20px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;min-height:75vh;padding:30px 0 65px}.auth-story h1{font-size:64px}.auth-story p{max-width:410px}.auth-card{background:white;border:1px solid var(--line);padding:36px;border-radius:24px;width:100%;max-width:480px}.auth-card h1{font:700 30px/1.2 system-ui;letter-spacing:-.04em;margin-bottom:10px}label{display:block;font-weight:650;font-size:14px;margin:18px 0}input:not([type=checkbox]),select{width:100%;border:1px solid #b8cbb5;border-radius:10px;padding:12px;margin-top:7px;background:white;color:var(--ink)}input[type=checkbox]{accent-color:var(--green);width:18px;height:18px}.password-row{position:relative}.password-row input{padding-right:75px}.password-row button{position:absolute;right:5px;bottom:5px;background:#edf2e7;color:var(--green);padding:8px 12px;font-size:12px}.auth-card form>button{width:100%;margin-top:10px}.status{min-height:24px;font-size:14px;color:#9b3d2b}.auth-card .status:empty{display:none}.auth-card .hint{margin:16px 0 0}.setup-shell{max-width:850px;margin:15px auto 70px;padding:0 25px}.setup-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted);margin-bottom:12px}.progress{height:6px;background:#dfe7d8;border-radius:10px;overflow:hidden;margin:0 0 28px}.progress>span{display:block;height:100%;background:var(--green);transition:width .25s}.setup-card{background:white;border:1px solid var(--line);padding:38px;border-radius:24px}.setup-card h1{font:700 36px/1.15 system-ui;letter-spacing:-.04em;margin-bottom:14px}.setup-card>p{max-width:620px;color:var(--muted)}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.choice{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;margin:0;cursor:pointer}.choice:has(input:checked){border-color:#71936c;background:#f0f5e9}.choice input{flex:0 0 18px;margin-top:4px}.choice small{display:block;color:var(--muted);font-weight:400;margin-top:4px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.setup-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}.setup-actions>div{display:flex;gap:18px;align-items:center}.routine-row{display:grid;grid-template-columns:90px 1fr 110px;gap:12px;align-items:center;margin:10px 0}.routine-row label{margin:0}.routine-row input{margin:0}.time-row{display:grid;grid-template-columns:1fr 140px;gap:20px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.time-row label{margin:0}.setup-note{background:#eef3e7;padding:16px;border-radius:12px;font-size:14px;margin-top:24px}.summary-list{padding-left:22px}.summary-list li{margin:10px 0}.skip-link{font-size:13px}.loading{opacity:.6;pointer-events:none}[hidden]{display:none!important}@media(max-width:760px){.shell{padding:0 20px}.topbar{padding:18px 0}.topbar nav{gap:13px}.topbar nav>a:first-child:not(.button){display:none}.logo{font-size:13px}.hero,.split,.auth-layout{grid-template-columns:1fr;gap:35px}.hero{padding:35px 0 50px}.hero-image img{height:360px}.image-note{left:12px;bottom:15px}.hero p{font-size:17px}.steps{grid-template-columns:1fr;gap:24px}.section{padding:45px 0}.cta{padding:30px;display:block}.cta .button{margin-top:25px}.auth-layout{min-height:0}.auth-story h1{font-size:45px}.auth-story{display:none}.auth-card{max-width:none;padding:28px}.setup-card{padding:25px}.setup-card h1{font-size:29px}.choices,.form-grid{grid-template-columns:1fr}.routine-row{grid-template-columns:65px 1fr 80px;gap:7px}.routine-row input{font-size:13px;padding:9px}.setup-actions{flex-wrap:wrap}.setup-actions>div{width:100%;justify-content:space-between}.time-row{grid-template-columns:1fr 110px}footer{flex-direction:column}.topbar .button{padding:10px 15px}.topbar .logo span:last-child{max-width:110px;line-height:1.2}}

.setup-card h1[tabindex]:focus{outline:none}.setup-actions{position:sticky;bottom:0;background:white;z-index:2;padding-bottom:12px}.setup-card{padding-bottom:15px}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.sample-plan{transform:none}}
/* A calmer scale for the landing page introduction. */
.hero h1{font-size:clamp(36px,4.3vw,58px);line-height:1.12;letter-spacing:-.04em;margin-bottom:24px}
.hero p{font-size:16px;line-height:1.65}
.hero .eyebrow{font-size:11px;letter-spacing:.13em;max-width:480px}
.hero .hint{font-size:13px}
@media(max-width:760px){.hero h1{font-size:clamp(34px,8vw,44px)}.hero p{font-size:16px}.hero .eyebrow{font-size:11px}.hero .hint{font-size:13px}}

.portion-setting>label{margin-bottom:10px}.portion-stepper{display:flex;align-items:center;gap:12px;width:fit-content}.portion-stepper button{width:44px;height:44px;padding:0;background:white;border:1px solid #b8cbb5;color:var(--green);border-radius:9px;font-size:24px;font-weight:500}.portion-stepper button:hover{background:#edf3e7}.portion-stepper input[type=number]{width:64px;text-align:center;margin:0;padding:10px 5px;appearance:textfield;-moz-appearance:textfield}.portion-stepper input::-webkit-inner-spin-button,.portion-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.portion-stepper>span{font-size:15px;color:var(--ink)}

.diet-options{border:0;padding:0;margin:18px 0;grid-column:1/-1;min-width:0}.diet-options legend{font-size:14px;font-weight:650;margin-bottom:12px;padding:0}.diet-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.diet-choice{align-items:center;min-height:82px}.diet-choice input[type=radio]{accent-color:var(--green);width:18px;height:18px;margin:0;flex:0 0 18px}.diet-choice span{min-width:0}.diet-choice small{font-size:13px}.diet-choice:has(input:focus-visible){outline:3px solid #9e7dba;outline-offset:3px}@media(max-width:480px){.diet-choice-grid{grid-template-columns:1fr}.diet-choice{min-height:72px}}
.setup-actions button{font-size:14px;font-weight:650;line-height:1.4;min-height:44px}.setup-actions #next{padding:11px 20px}.setup-actions .text-button{font-size:13px}

.onboarding-time{padding:19px 0;border-bottom:1px solid var(--line)}.time-heading{display:flex;justify-content:space-between;gap:15px;font-size:14px}.time-heading output{font-weight:650;color:var(--green)}.onboarding-range{position:relative;height:40px;margin:12px 10px 0}.range-rail{position:absolute;top:18px;left:0;right:0;height:6px;border-radius:6px;background:linear-gradient(to right,#dce6d8 var(--low),#2b664a var(--low),#2b664a var(--high),#dce6d8 var(--high))}.onboarding-range input[type=range]{position:absolute;inset:0;width:100%;height:40px;margin:0;padding:0;border:0;background:transparent;pointer-events:none;appearance:none;-webkit-appearance:none}.onboarding-range input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:21px;height:21px;border-radius:50%;background:var(--green);border:3px solid white;box-shadow:0 0 0 1px var(--green);pointer-events:auto;cursor:grab}.onboarding-range input[type=range]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--green);border:3px solid white;box-shadow:0 0 0 1px var(--green);pointer-events:auto;cursor:grab}.onboarding-range input[type=range]:focus-visible{outline:none}.onboarding-range input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #a18ab7}.onboarding-range input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px #a18ab7}.range-labels{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.time-default{margin:7px 0 0;font-size:12px}

.setup-actions:has(#back[hidden]){justify-content:flex-end}.pantry-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 22px}.pantry-chip{padding:8px 13px;min-height:40px;font-size:13px;background:white;color:var(--green);border:1px solid #bdcfb7;border-radius:24px;font-weight:600}.pantry-chip[aria-pressed=true]{background:#e6efdc;border-color:#6b925e}.taste-round{margin-top:28px;border-top:1px solid var(--line);padding-top:25px}.taste-round h2{font-size:26px;line-height:1.2}.taste-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.taste-idea{border:1px solid var(--line);border-radius:14px;padding:18px;background:#f8faf5}.taste-idea h4{font-size:16px;margin:0 0 9px;line-height:1.4}.taste-idea p{font-size:13px;color:var(--muted);margin:0 0 12px}.taste-votes{display:flex;gap:8px}.taste-votes button{min-height:42px;padding:8px 13px;font-size:14px;background:white;color:var(--green);border:1px solid #bacdb3}.taste-votes button[aria-pressed=true]{background:var(--green);color:white}.taste-round .taste-message{font-size:14px;margin:15px 0;min-height:24px}.taste-round .taste-message[aria-busy=true]::before{content:'';display:inline-block;width:14px;height:14px;border:2px solid #c8dac0;border-top-color:var(--green);border-radius:50%;margin-right:9px;vertical-align:-3px;animation:taste-spin .8s linear infinite}.taste-section-heading{font-size:18px;margin:24px 0 14px}.taste-community{font-size:13px;font-weight:400;display:flex;gap:10px;align-items:flex-start}.taste-round>button{font-size:14px}.taste-save-message{font-size:12px;color:var(--green);margin-top:10px;min-height:20px}.taste-idea[data-vote="1"]{border-color:#78996d;background:#edf5e6}.taste-idea[data-vote="-1"]{border-color:#b0a0bd;background:#f1edf5}@keyframes taste-spin{to{transform:rotate(360deg)}}@media(max-width:600px){.taste-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.taste-round .taste-message[aria-busy=true]::before{animation:none}}

.routine-row{grid-template-columns:80px minmax(130px,1fr) minmax(180px,1fr)}.routine-row select{margin:0;font-size:13px}.routine-row .hint{font-size:12px}@media(max-width:600px){.routine-row{grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding-top:12px}.routine-row>strong{grid-column:1/-1}}

.setup-step-nav{display:flex;gap:7px;margin:12px 0 20px;overflow-x:auto;padding:4px 3px 8px}.setup-step-nav button{flex:1;white-space:nowrap;min-height:46px;padding:8px 10px;font-size:12px;font-weight:600;background:transparent;color:var(--muted);border:1px solid var(--line);border-radius:12px}.setup-step-nav button>span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e4ecdc;font-size:11px;flex:0 0 auto}.setup-step-nav button[aria-current=step]{background:white;border-color:#71916b;color:var(--green)}.setup-step-nav button[aria-current=step]>span{background:var(--green);color:white}.setup-step-nav button:disabled{cursor:default;opacity:.45}@media(max-width:600px){.setup-step-nav button{flex:0 0 auto}}

/* Keep the whole guide navigation together while the form scrolls. */
.setup-sticky{position:sticky;top:0;z-index:20;background:var(--cream);padding:14px 0 12px;margin-bottom:28px}.setup-sticky .progress{margin-bottom:0}.setup-sticky .setup-step-nav{margin-bottom:12px}.setup-card{scroll-margin-top:180px}@media(max-width:600px){.setup-sticky{padding-top:10px}.setup-sticky .setup-top{font-size:12px}.setup-sticky .setup-step-nav{margin-top:6px;margin-bottom:6px}}

.taste-illustration{display:grid;place-items:center;background:#eef3e7;border-radius:12px;font-size:36px;height:76px;margin-bottom:14px}.taste-meal{min-width:0}.taste-round [data-taste-cards]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.taste-round .taste-grid{grid-template-columns:1fr}.taste-round .taste-idea{padding:16px}.taste-round .taste-idea h4{font-size:16px}.taste-round .taste-idea p{font-size:13px}.taste-round .taste-votes button{font-size:12px;padding:9px}.taste-round .taste-save-message{min-height:18px;font-size:12px}@media(max-width:650px){.taste-round [data-taste-cards]{grid-template-columns:1fr}}

/* Food first: stack meal groups and give each three compact cards. */
.taste-round [data-taste-cards]{display:block}.taste-meal{margin-top:30px}.taste-round .taste-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.taste-round .taste-idea{padding:12px;display:flex;flex-direction:column}.taste-round .taste-votes{margin-top:auto;display:flex;flex-wrap:wrap;gap:6px}.taste-round .taste-votes button{font-size:11px;padding:8px}.taste-photo{height:125px;position:relative;border-radius:10px;background-image:url('/public-assets/taste-food-grid.png');background-size:400% 400%;margin-bottom:14px;background-repeat:no-repeat}.taste-photo span{position:absolute;bottom:5px;left:5px;color:white;background:#20382db8;border-radius:4px;padding:2px 5px;font-size:9px}.taste-round .taste-idea h4{line-height:1.35;font-size:15px;margin-bottom:10px}.taste-round .taste-idea p{line-height:1.55}.cuisine-options{border:0;padding:0;margin:26px 0 0;min-width:0}.cuisine-options legend{font-size:14px;font-weight:650}.cuisine-chips{display:flex;flex-wrap:wrap;gap:10px}.cuisine-chip{display:flex;align-items:center;gap:8px;margin:0;padding:10px 14px;border:1px solid var(--line);border-radius:12px;cursor:pointer}.cuisine-chip:has(input:checked){background:#eef3e7;border-color:#71936c}.cuisine-chip input{margin:0}@media(max-width:760px){.taste-round .taste-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.taste-round .taste-grid{grid-template-columns:1fr}.taste-photo{height:180px}}

/* Crop the selected photograph, preserving its original proportions. */
.taste-photo{background-image:none;overflow:hidden}.taste-photo>svg,.taste-photo>img{display:block;width:100%;height:100%;object-fit:cover}.taste-photo>svg{overflow:hidden}

.mimma-logo{display:flex;line-height:1}.mimma-logo .mimma-wordmark{display:block;width:220px;height:auto;max-width:100%;object-fit:contain}.topbar:has(.mimma-logo){padding-top:10px;padding-bottom:10px}@media(max-width:600px){.mimma-logo .mimma-wordmark{width:160px}.topbar:has(.mimma-logo){gap:12px}}

.setup-card .routine-row{grid-template-columns:76px minmax(0,1fr) minmax(190px,.8fr);gap:18px;align-items:start;padding:18px 0;margin:0;border-bottom:1px solid var(--line)}.setup-card .routine-row>strong{padding-top:34px;font-size:14px}.setup-card .routine-row label{min-width:0;margin:0}.setup-card .routine-row label>.hint{display:block;font-size:12px;font-weight:500;line-height:1.4}.setup-card .routine-row input,.setup-card .routine-row select{margin:7px 0 0;width:100%;height:44px;padding:10px 12px;font-size:14px;font-weight:500}.setup-card .routine-row [data-routine-estimate]{margin-top:7px;color:var(--green);font-size:11px;font-weight:400}@media(max-width:600px){.setup-card .routine-row{grid-template-columns:1fr;gap:12px;padding:20px 0}.setup-card .routine-row>strong{padding-top:0;font-size:15px}.setup-card .routine-row input,.setup-card .routine-row select{font-size:16px}}

.taste-round .taste-message:empty{display:none}.taste-selection-reason{font-size:13px;color:var(--muted);line-height:1.6;margin:-4px 0 20px}.taste-selection-reason span{display:block}.taste-round .taste-votes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}.taste-round .taste-votes button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border-radius:10px;border:1px solid #daddd7;background:#edf0e9;color:var(--green);padding:9px 7px;font-size:12px;font-weight:650;box-shadow:none}.taste-round .taste-votes button svg{width:17px;height:17px;flex-shrink:0}.taste-round .taste-votes button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:white}.taste-round .taste-votes button:hover:not(:disabled){background:#e3ecdf}.taste-round .taste-votes button[aria-pressed=true]:hover{background:#194c36}.taste-round .taste-votes button:disabled{opacity:.55}

.choice:has(.popular-choice){flex-wrap:wrap}.popular-choice{flex-basis:100%;padding-left:30px;color:var(--green);font-size:11px;font-weight:500}

.taste-round .taste-votes button{font-size:11px;min-width:0}.taste-round .taste-votes button span{white-space:nowrap}

.taste-refresh-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:32px;padding:22px;border:1px solid var(--line);border-radius:14px;background:#edf0e9}.taste-refresh-panel h3{font-size:17px;margin:0 0 6px}.taste-refresh-panel p{font-size:13px;color:var(--muted);margin:0}.taste-refresh-panel [data-refresh]{flex-shrink:0;border-color:#a9c0a3;color:var(--green);min-height:46px;background:white}@media(max-width:600px){.taste-refresh-panel{flex-direction:column;align-items:stretch;gap:16px;padding:18px}.taste-refresh-panel [data-refresh]{align-self:flex-start}}
