.pheh-app{--navy:#102747;--blue:#2563eb;--pale:#eaf3ff;--ink:#1e293b;--muted:#64748b;--line:#dbe4ef;--warn:#d97706;--danger:#dc2626;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-width:1120px;margin:24px auto;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 14px 42px rgba(16,39,71,.08);overflow:hidden;line-height:1.55}.pheh-app *{box-sizing:border-box}.pheh-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:34px clamp(20px,4vw,48px);background:linear-gradient(110deg,#102747,#173d70);color:#fff}.pheh-hero h2{font-size:clamp(25px,4vw,38px);line-height:1.12;margin:8px 0 12px;color:#fff}.pheh-hero p{margin:0;color:#dceaff;max-width:720px}.pheh-eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:#7da9f9}.pheh-hero-mark{font-size:64px;flex:none;filter:drop-shadow(0 8px 14px #061a35)}.pheh-privacy{margin:20px 24px 0;padding:12px 16px;border:1px solid #cfe0f7;border-radius:12px;background:#f5f9ff;color:#334155;font-size:13px}.pheh-tabs{display:flex;gap:6px;padding:18px 24px 0;overflow-x:auto;border-bottom:1px solid var(--line)}.pheh-tabs button{appearance:none;border:0;background:transparent;color:#52647a;font-family:inherit;font-size:14px;font-weight:600;padding:12px 14px;white-space:nowrap;border-bottom:3px solid transparent;cursor:pointer}.pheh-tabs button.is-active{color:var(--blue);border-color:var(--blue)}.pheh-panel{display:none;padding:28px clamp(18px,4vw,42px) 38px}.pheh-panel.is-active{display:block}.pheh-progress{margin-bottom:26px}.pheh-progress-top{display:flex;justify-content:space-between;font-size:13px;font-weight:700;color:#52647a;margin-bottom:9px}.pheh-progress-track{height:7px;border-radius:99px;background:#e8eef6;overflow:hidden}.pheh-progress-track span{display:block;height:100%;background:var(--blue);border-radius:99px;transition:width .2s}.pheh-step{display:none;border:0;padding:0;margin:0;min-width:0}.pheh-step.is-active{display:block}.pheh-step legend{font-size:23px;font-weight:800;color:var(--navy);margin-bottom:18px}.pheh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pheh-app label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#334155}.pheh-app input:not([type=checkbox]),.pheh-app select,.pheh-app textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:var(--ink);font-family:inherit;font-size:14px;font-weight:400;outline:none}.pheh-app input:focus,.pheh-app select:focus,.pheh-app textarea:focus,.pheh-app button:focus-visible{outline:3px solid rgba(37,99,235,.22);outline-offset:2px;border-color:var(--blue)}.pheh-hint{font-size:13px;color:var(--muted);background:#f8fafc;padding:12px 14px;border-radius:10px;margin:18px 0}.pheh-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 20px}.pheh-check{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important;padding:11px;border:1px solid var(--line);border-radius:10px;font-weight:600!important}.pheh-check input{width:17px;height:17px;accent-color:var(--blue)}.pheh-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}.pheh-btn{border:1px solid transparent;border-radius:10px;padding:11px 17px;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:transform .15s,background .15s}.pheh-btn:hover{transform:translateY(-1px)}.pheh-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.pheh-btn-primary{background:var(--blue);color:#fff}.pheh-btn-light{background:#fff;border-color:#cbd5e1;color:#334155}.pheh-form-error{color:#b91c1c;font-weight:700;margin-top:12px}.pheh-results{margin-top:32px;padding-top:28px;border-top:1px solid var(--line)}.pheh-result-head,.pheh-section-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.pheh-result-head h3,.pheh-panel h3{font-size:26px;color:var(--navy);margin:5px 0}.pheh-result-head p,.pheh-section-head p{margin:0;color:var(--muted);font-size:13px}.pheh-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.pheh-metric{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff;min-width:0}.pheh-metric span,.pheh-metric small{display:block;color:var(--muted);font-size:12px}.pheh-metric strong{display:block;font-size:clamp(18px,2vw,24px);color:var(--navy);margin:8px 0;overflow-wrap:anywhere}.pheh-result-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.pheh-card{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fbfdff}.pheh-card h4,.pheh-electrolyte-card h4{margin:0 0 9px;color:var(--navy);font-size:16px}.pheh-card p,.pheh-electrolyte-card p{margin:8px 0;font-size:13px}.pheh-alert{padding:15px 17px;border-radius:12px;margin:16px 0;font-size:14px}.pheh-alert-info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.pheh-alert-warning{background:#fffbeb;border:1px solid #fcd34d;color:#92400e}.pheh-alert-danger{background:#fef2f2;border:1px solid #fca5a5;color:#991b1b}.pheh-disclaimer,.pheh-report-note{font-size:12px;color:var(--muted);margin-top:18px}.pheh-report-note{max-width:1120px;margin:8px auto 24px;padding:0 10px}.pheh-section-head h3{margin:4px 0}.pheh-history-tools{margin:16px 0}.pheh-chart-wrap{border:1px solid var(--line);border-radius:14px;padding:12px;margin:18px 0}.pheh-chart-wrap canvas{width:100%;display:block}.pheh-history-list{display:grid;gap:8px;margin:16px 0}.pheh-history-item{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center;border:1px solid var(--line);padding:12px;border-radius:10px}.pheh-history-item small{display:block;color:var(--muted);font-size:11px}.pheh-remove{border:1px solid #fecaca;background:#fff;color:#b91c1c;border-radius:8px;padding:7px 10px;cursor:pointer}.pheh-electrolytes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.pheh-electrolyte-card{border:1px solid var(--line);border-radius:13px;padding:17px;background:#fff}.pheh-panel details{border-bottom:1px solid var(--line);padding:14px 0}.pheh-panel summary{font-weight:750;color:var(--navy);cursor:pointer}.pheh-panel details p{font-size:14px;color:#475569}.pheh-panel a{color:var(--blue)}.pheh-footer{border-top:1px solid var(--line);padding:18px 28px;color:var(--muted);font-size:12px}.pheh-food-items{display:grid;gap:10px;margin:12px 0}.pheh-food-row{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.pheh-app [hidden]{display:none!important}@media(max-width:720px){.pheh-hero{padding:26px 20px}.pheh-hero-mark{font-size:42px}.pheh-grid,.pheh-result-columns,.pheh-electrolytes{grid-template-columns:1fr}.pheh-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pheh-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pheh-history-item{grid-template-columns:1fr auto}.pheh-history-item>div:nth-child(2){grid-column:1}.pheh-history-item button{grid-column:2;grid-row:1/3}.pheh-result-head,.pheh-section-head{align-items:flex-start;flex-direction:column}.pheh-tabs{padding-left:12px;padding-right:12px}.pheh-panel{padding-left:16px;padding-right:16px}}@media(max-width:420px){.pheh-metric-grid{grid-template-columns:1fr 1fr}.pheh-check-grid{grid-template-columns:1fr}.pheh-food-row{grid-template-columns:1fr 1fr}.pheh-food-row .pheh-remove{grid-column:1/-1}.pheh-actions .pheh-btn{flex:1}.pheh-hero-mark{display:none}}@media(prefers-reduced-motion:reduce){.pheh-app *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{body *{visibility:hidden!important}.pheh-app,.pheh-app *{visibility:visible!important}.pheh-app{position:absolute;left:0;top:0;width:100%;max-width:none;border:0;box-shadow:none}.pheh-hero{background:#fff!important;color:#102747!important;padding:10px}.pheh-hero h2,.pheh-hero p{color:#102747!important}.pheh-tabs,.pheh-progress,.pheh-form,.pheh-privacy,.pheh-footer,.pheh-report-note,#pheh-print,#pheh-edit,#pheh-save-record{display:none!important}.pheh-panel{display:none!important}.pheh-panel.is-active{display:block!important}.pheh-results[hidden]{display:none!important}.pheh-btn{display:none!important}}
