@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";
:root{--container:1320px;--accent:#16a34a;--accent-soft:#dcfce7;--bg:#f9fafb;--text:#0f172a;--muted:#475569;--border:#e5e7eb;--danger:#dc2626;--pink:#f9a8d4;--pink-soft:#fdf2f8}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg);color:var(--text);font-family:Inter,sans-serif;line-height:1.6}img{max-width:100%;display:block}.hero{background:radial-gradient(circle at 85% 30%,var(--pink-soft)0%,#fdf2f800 45%),radial-gradient(circle at 10% 0%,#fff 0%,var(--bg)60%);padding:56px 6% 64px;position:relative;overflow:clip}.hero-inner{max-width:var(--container);grid-template-columns:minmax(0,600px) minmax(0,1fr);align-items:start;gap:48px;margin:0 auto;display:grid}.hero-eyebrow{letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:10px;font-size:13px;font-weight:700}.hero-title{letter-spacing:-.01em;margin-bottom:14px;font-size:44px;line-height:1.1}.hero-title span{color:var(--accent);display:block}.hero-lead{color:var(--muted);margin-bottom:24px;font-size:18px}.hero-lead strong{color:var(--text)}.hero-coach{justify-content:center;align-items:flex-end;height:min(86vh,760px);display:flex;position:sticky;top:24px}.hero-coach-bg{background:linear-gradient(180deg,var(--accent-soft)0%,var(--pink-soft)100%);border-radius:999px 999px 32px 32px;height:78%;position:absolute;bottom:0;left:8%;right:8%}.hero-coach-img{object-fit:contain;object-position:bottom;filter:drop-shadow(0 24px 30px #0f172a2e);width:auto;max-width:100%;height:100%;position:relative}.hero-coach-badge{border:1px solid var(--border);background:#fff;border-radius:16px;flex-direction:column;gap:4px;max-width:230px;padding:14px 16px;display:flex;position:absolute;top:22%;left:0;box-shadow:0 14px 30px #0f172a1f}.hero-coach-badge-title{color:var(--accent);text-transform:uppercase;letter-spacing:.06em;font-size:15px;font-weight:800}.hero-coach-badge-title:before{content:"★ ";color:#f59e0b}.hero-coach-badge-text{color:var(--text);font-size:14px;line-height:1.4}.pf{border:1px solid var(--border);background:#fff;border-radius:20px;flex-direction:column;gap:20px;width:100%;padding:24px;scroll-margin-top:16px;display:flex;box-shadow:0 18px 40px #0f172a14}.pf button,.pf input{color:inherit;font-family:inherit}.pf-progress-top{color:var(--muted);justify-content:space-between;margin-bottom:8px;font-size:13px;font-weight:600;display:flex}.pf-progress-name{color:var(--accent)}.pf-bar{background:var(--border);border-radius:999px;height:6px;overflow:hidden}.pf-bar-fill{background:var(--accent);border-radius:999px;height:100%;transition:width .3s}.pf-steps{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px;list-style:none;display:grid}.pf-step{cursor:pointer;width:100%;min-height:44px;color:var(--muted);background:0 0;border:none;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:6px;font-size:14px;display:flex}.pf-step:hover:not(:disabled){background:var(--bg)}.pf-step-num{border:2px solid var(--border);border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-size:12px;font-weight:700;display:grid}.pf-step.is-current{color:var(--text);font-weight:600}.pf-step.is-current .pf-step-num{border-color:var(--accent);color:var(--accent)}.pf-step.is-done .pf-step-num{background:var(--accent);border-color:var(--accent);color:#fff}.pf-fieldset{border:none;flex-direction:column;gap:18px;min-width:0;display:flex}fieldset.pf-field{border:none;min-width:0}.pf-title{margin-bottom:4px;padding:0;font-size:22px;font-weight:700;line-height:1.25}.pf-sub{color:var(--muted);margin-top:-14px;font-size:15px}.pf-field{flex-direction:column;gap:8px;display:flex}.pf-label{font-size:15px;font-weight:600}.pf-optional{color:var(--muted);font-weight:400}.pf-hint{color:var(--muted);margin-top:-4px;font-size:13px}.pf-error{color:var(--danger);font-size:14px;font-weight:500}.pf-error-box{background:#fef2f2;border-radius:10px;padding:10px 12px}.pf-options{flex-direction:column;gap:10px;display:flex}.pf-options-compact{grid-template-columns:1fr 1fr;display:grid}.pf-option{border:2px solid var(--border);cursor:pointer;border-radius:14px;align-items:center;gap:14px;min-height:64px;padding:14px 16px;transition:border-color .15s,background .15s;display:flex}.pf-option:hover{border-color:#bbf7d0}.pf-option.is-on{border-color:var(--accent);background:#f0fdf4}.pf-option input{opacity:0;pointer-events:none;position:absolute}.pf-option:has(input:focus-visible){outline-offset:2px;outline:3px solid #86efac}.pf-option-icon{font-size:28px;line-height:1}.pf-option-title{font-size:16px;font-weight:700;display:block}.pf-option-text{color:var(--muted);font-size:14px;line-height:1.35;display:block}.pf-segment{gap:8px;display:flex}.pf-segment button{border:2px solid var(--border);cursor:pointer;white-space:nowrap;background:#fff;border-radius:12px;flex:1;min-height:52px;padding:8px 6px;font-size:16px;font-weight:600}.pf-segment-2line button{flex-direction:column;justify-content:center;align-items:center;min-height:60px;line-height:1.2;display:flex}.pf-segment-2line small{white-space:normal;opacity:.8;font-size:12px;font-weight:500}.pf-segment button.is-on{border-color:var(--accent);background:var(--accent);color:#fff}.pf-grid{grid-template-columns:1fr 1fr;align-items:end;gap:14px;display:grid}.pf-grid>*{min-width:0}.pf-input-unit{background:#fff;border:2px solid #d1d5db;border-radius:12px;align-items:center;transition:border-color .15s;display:flex}.pf-input-unit:focus-within,.pf-text:focus{border-color:var(--accent);outline:none}.pf-input-unit input{background:0 0;border:none;outline:none;flex:1;min-width:0;height:52px;padding:0 14px;font-size:17px}.pf-unit{color:var(--muted);padding-right:14px;font-size:15px}.pf-text{border:2px solid #d1d5db;border-radius:12px;width:100%;height:52px;padding:0 14px;font-size:16px}.pf-text:disabled{color:#374151;-webkit-text-fill-color:#374151;opacity:1;cursor:not-allowed;background:#f3f4f6}.has-error{border-color:var(--danger)!important}.pf-chips{flex-wrap:wrap;gap:8px;display:flex}.pf-chip{border:1.5px solid var(--border);cursor:pointer;background:#fff;border-radius:999px;min-height:40px;padding:6px 14px;font-size:14px}.pf-chip.is-on{border-color:var(--accent);background:var(--accent-soft);color:#166534;font-weight:600}.pf-legend{margin-bottom:8px;padding:0}.pf-diets{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.pf-diet{border:2px solid var(--border);cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;min-height:64px;padding:10px 12px;transition:border-color .15s,background .15s;display:flex}.pf-diet:hover{border-color:#bbf7d0}.pf-diet.is-on{border-color:var(--accent);background:#f0fdf4}.pf-diet input{opacity:0;pointer-events:none;position:absolute}.pf-diet:has(input:focus-visible){outline-offset:2px;outline:3px solid #86efac}.pf-diet .pf-option-title{font-size:15px}.pf-diet .pf-option-text{font-size:12.5px}.pf-summary{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:14px;padding:14px 16px}.pf-summary-kcal{color:var(--muted);font-size:15px}.pf-summary-kcal span{color:var(--accent);font-size:26px;font-weight:800}.pf-summary-text{color:var(--muted);font-size:13px}.pf-nav{gap:10px;display:flex}.pf-btn{cursor:pointer;border:2px solid #0000;border-radius:12px;min-height:54px;padding:0 20px;font-size:17px;font-weight:700}.pf-btn:disabled{opacity:.6;cursor:not-allowed}.pf-btn-primary{background:var(--accent);flex:1;color:#fff!important}.pf-btn-primary:hover:not(:disabled){background:#15803d}.pf-btn-ghost{border-color:var(--border);background:#fff}.pf-footnote{color:var(--muted);text-align:center;margin-top:-6px;font-size:13px}@media (max-width:960px){.hero{padding:28px 16px 40px}.hero-inner{flex-direction:column;gap:0;display:flex}.hero-content{display:contents}.hero-eyebrow,.hero-title,.hero-lead{order:1}.hero-coach{border-radius:24px 24px 0 0;order:2;width:100%;height:300px;margin-bottom:-40px;position:relative;top:0;overflow:hidden}.hero-coach-bg{border-radius:24px 24px 0 0;height:100%;left:0;right:0}.hero-coach-img{object-position:top;height:820px;position:absolute;top:12px;right:4%}.hero-coach-badge{max-width:52%;top:auto;bottom:60px;left:16px}.pf{order:3;position:relative}.hero-title{font-size:32px}.hero-lead{margin-bottom:20px;font-size:16px}}@media (max-width:520px){.pf{border-radius:18px;padding:18px 16px}.pf-step-label{display:none}.pf-options-compact{grid-template-columns:1fr}.pf-diets{grid-template-columns:1fr 1fr}.pf-title{font-size:20px}.pf-segment{gap:6px}.pf-segment button{padding:8px 2px;font-size:15px}.hero-coach{height:260px}.hero-coach-img{height:700px;right:-2%}.hero-coach-badge{padding:10px 12px;bottom:54px}.hero-coach-badge-title,.hero-coach-badge-text{font-size:13px}}.ing-remove{color:#9ca3af;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:32px;height:32px;font-size:14px}.ing-remove:hover:not(:disabled){color:#dc2626;background:#fef2f2;border-color:#fecaca}.ing-remove:disabled{opacity:.4;cursor:not-allowed}@media (max-width:768px){.meal-card{grid-template-columns:1fr!important}.meal-photo{width:100%!important;height:180px!important}}.topbar{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);background:#ffffffeb;position:sticky;top:0}.topbar-inner{width:88%;max-width:var(--container);justify-content:space-between;align-items:center;gap:12px;min-height:56px;margin:0 auto;padding:10px 0;display:flex}.topbar-logo{flex-shrink:0;align-items:center;text-decoration:none;display:inline-flex}.topbar-logo img{width:auto;height:34px;display:block}@media (max-width:480px){.topbar-logo img{height:26px}}@media (max-width:400px){.topbar-logo img{height:20px}.topbar-inner .topbar-nav{gap:4px}.topbar-inner .topbar-link,.topbar-inner .topbar-cta{padding:7px 8px}}.topbar-nav{align-items:center;gap:10px;display:flex}.topbar-link,.topbar-cta{font:inherit;cursor:pointer;color:var(--text);white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:10px;padding:8px 14px;font-size:15px;font-weight:600;text-decoration:none}.topbar-link:hover{background:var(--accent-soft)}.topbar-cta{background:var(--accent);color:#fff}.topbar-cta:hover{background:#15803d}.account-hint{background:var(--accent-soft);color:#14532d;border-radius:14px;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;font-size:14px;display:flex}.account-hint span{flex:240px}.account-hint a{color:#14532d;font-weight:700}.account-hint-btn{font:inherit;background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:10px;padding:8px 14px;font-size:14px;font-weight:700}.history{max-width:var(--container);margin:0 auto;padding:40px 6% 60px}.history h1{margin-bottom:8px;font-size:32px;line-height:1.2}.history-lead{color:var(--muted);margin-bottom:24px}.history-profile{border:1px solid var(--border);background:#fff;border-radius:16px;flex-wrap:wrap;gap:8px 20px;margin-bottom:28px;padding:16px 18px;font-size:14px;display:flex}.history-profile b{color:var(--text)}.history-profile span{color:var(--muted)}.history-plan{border:1px solid var(--border);background:#fff;border-radius:16px;margin-bottom:16px;overflow:hidden}.history-plan summary{cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:4px 14px;padding:16px 18px;list-style:none;display:flex}.history-plan summary::-webkit-details-marker{display:none}.history-plan summary:after{content:"▾";color:var(--muted);margin-left:auto}.history-plan[open] summary:after{content:"▴"}.history-plan-title{font-size:17px;font-weight:700}.history-plan-meta{color:var(--muted);font-size:14px}.history-days{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;padding:0 18px 18px;display:grid}.history-day{border:1px solid var(--border);border-radius:12px;padding:10px 12px}.history-day h3{color:var(--accent);margin-bottom:6px;font-size:14px}.history-meal{align-items:center;gap:8px;padding:3px 0;font-size:14px;display:flex}.history-meal img{object-fit:cover;border-radius:8px;flex:none;width:36px;height:36px}.history-meal-type{color:var(--muted);text-transform:capitalize;font-size:12px}.history-empty{border:1px dashed var(--border);text-align:center;color:var(--muted);background:#fff;border-radius:16px;padding:28px}.history-empty a,.history-empty button{margin-top:12px;display:inline-block}@media (max-width:600px){.topbar-inner{width:auto;padding:8px 16px}.topbar-link,.topbar-cta{padding:7px 10px;font-size:14px}.history{padding:24px 16px 40px}.history h1{font-size:26px}}.shop{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:24px;overflow:clip}.shop-toggle{color:#0f172a;cursor:pointer;text-align:left;background:#f8fafc;border:0;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px 18px;font-size:15px;display:flex}.shop-body{padding:8px 18px 18px}.shop-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 4px;display:flex}.shop-store{color:#475569;font-size:14px}.shop-store select{background:#fff;border:1px solid #d1d5db;border-radius:8px;margin-left:4px;padding:6px 8px;font-size:14px}.shop-copy{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:8px 14px;font-size:14px;font-weight:600}.shop-note{color:#6b7280;margin:8px 0;font-size:13px}.shop-section h4{color:#0f172a;margin:16px 0 6px;font-size:15px;font-weight:700}.shop-section ul{margin:0;padding:0;list-style:none}.shop-item{border-top:1px solid #f1f5f9;padding:8px 0}.shop-line{cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;border-radius:8px;align-items:center;gap:12px;min-height:48px;padding:6px 4px;font-size:16px;display:flex}.shop-line:active{background:#f0fdf4}.shop-line input{accent-color:#16a34a;cursor:pointer;flex:none;width:26px;height:26px}.shop-name{flex:1;min-width:0}.shop-amount{color:#475569;white-space:nowrap;font-size:14px;font-weight:600}.shop-item.done{opacity:.6}.shop-item.done .shop-name,.shop-item.done .shop-amount{color:#9ca3af;text-decoration:line-through}.shop-badge{color:#15803d;font-weight:700}.shop-progress{z-index:2;background:#fff;border-bottom:1px solid #f1f5f9;margin:4px 0;padding:10px 0 8px;position:sticky;top:64px}.shop-progress-text{color:#0f172a;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:15px;display:flex}.shop-hint{color:#6b7280;font-size:13px}.shop-clear{color:#475569;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-left:auto;padding:6px 10px;font-size:13px}.shop-bar{background:#e5e7eb;border-radius:999px;height:6px;margin-top:8px;overflow:hidden}.shop-bar span{background:#16a34a;border-radius:999px;height:100%;transition:width .25s;display:block}.shop-section-done h4,.shop-section-check{color:#15803d}.shop-products{gap:6px;margin:6px 0 2px 28px;display:grid}.shop-product{color:inherit;background:#fff;border:1px solid #e5e7eb;border-radius:8px;align-items:center;gap:10px;padding:6px 8px;text-decoration:none;display:flex}a.shop-product:hover{background:#f0fdf4;border-color:#86efac}.shop-product img,.shop-noimg{object-fit:contain;background:#fff;border:1px solid #f1f5f9;border-radius:8px;flex:none;place-items:center;width:64px;height:64px;font-size:24px;display:grid}.shop-ptext{flex-direction:column;min-width:0;display:flex}.shop-pname{overflow-wrap:anywhere;font-size:14px;font-weight:600}.shop-pmeta{color:#6b7280;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;display:flex}.shop-ns{color:#fff;background:#94a3b8;border-radius:4px;padding:0 6px;font-weight:700}.shop-ns.ns-a{background:#15803d}.shop-ns.ns-b{background:#65a30d}.shop-ns.ns-c{background:#ca8a04}.shop-ns.ns-d{background:#ea580c}.shop-ns.ns-e{background:#dc2626}.shop-credit{color:#9ca3af;margin-top:14px;font-size:12px}.shop-credit a{color:#6b7280}@media (max-width:520px){.shop-body{padding:6px 12px 14px}.shop-progress{top:57px}.shop-products{margin-left:0}}.history-actions{flex-wrap:wrap;gap:8px;padding:0 18px 14px;display:flex}.history-btn{border:1px solid var(--border);color:var(--text);cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.history-btn:hover{border-color:var(--accent)}.history-btn-main{background:var(--accent);border-color:var(--accent);color:#fff}.history-btn-danger{color:#b91c1c;margin-left:auto}.history-btn:disabled{opacity:.6;cursor:not-allowed}.history-back{margin-bottom:12px;font-size:14px}.history-note{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;margin:12px 0;padding:10px 14px;font-size:14px}
