/* Personal Health Dashboard */
.phd-app,.phd-login-wrap{font-family:inherit;color:#202a35;max-width:100%;box-sizing:border-box}
.phd-app *,.phd-login-wrap *{box-sizing:border-box}
.phd-app{max-width:1050px;margin:20px auto;padding:16px}
.phd-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;background:#182b3b;color:#fff;border-radius:18px}
.phd-top h1{margin:2px 0;color:#fff;font-size:27px}.phd-kicker{font-size:12px;color:#7c9bb0;font-weight:700}
.phd-top-actions{display:flex;gap:14px;align-items:center;font-size:13px}.phd-top a{color:#fff}
.phd-tabs{display:flex;gap:8px;overflow:auto;padding:14px 0;position:sticky;top:0;background:#fff;z-index:4}
.phd-tabs a{white-space:nowrap;text-decoration:none;padding:9px 14px;border-radius:20px;background:#edf1f4;color:#33485a;font-size:13px}
.phd-tabs a.active{background:#24445c;color:#fff}
.phd-section{padding:15px 0;scroll-margin-top:75px}.phd-section h2{font-size:21px;margin:4px 0 14px}.phd-section-head{display:flex;justify-content:space-between;align-items:center}
.phd-grid{display:grid;gap:12px}.phd-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.phd-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.phd-card{display:block;background:#fff;border:1px solid #e3e9ed;border-radius:15px;padding:16px;margin:10px 0;box-shadow:0 3px 12px #172b3b08}
.phd-card h3{font-size:16px;margin:0 0 12px}.phd-card label,.phd-grid label,.phd-login label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#526271}
.phd-app input:not([type=radio]):not([type=checkbox]),.phd-app select,.phd-login input{width:100%;min-height:42px;border:1px solid #d6dfe5;border-radius:9px;padding:8px 10px;background:#fff;color:#1e2b35}
.phd-checkgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.phd-checkgrid label,.phd-check{display:flex;align-items:center;gap:8px;font-size:14px}
.phd-options{display:grid;gap:9px}.phd-options label{display:flex;flex-direction:row;align-items:flex-start;gap:8px;line-height:1.7}
.phd-small-label{margin-top:13px}.phd-water{background:#f7fbfd}.phd-water-number{display:flex;align-items:baseline;gap:10px}.phd-water-number strong{font-size:42px;color:#168a78}.phd-water-number span{color:#566976}.phd-water-total{margin:5px 0 12px;color:#526271}.phd-water-total strong{font-size:20px;color:#1f3c50}
.phd-progress{height:12px;background:#e2ecef;border-radius:20px;overflow:hidden}.phd-progress span{display:block;height:100%;background:#249c82;border-radius:20px;transition:width .2s}
.phd-water-controls{display:flex;gap:10px;margin:14px 0}.phd-app button,.phd-login button{border:0;border-radius:10px;background:#1d796b;color:white;padding:11px 18px;font-weight:700;cursor:pointer;min-height:42px}
.phd-app button.phd-secondary{background:#e9eff2;color:#304555}.phd-water-controls button:first-child{min-width:48px;font-size:20px}
.phd-water-stats{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:10px;color:#647584}.phd-water-stats strong{font-size:19px;color:#1d796b}.phd-muted{font-size:12px;color:#7a8790}
.phd-record-list{display:grid;gap:8px;margin-top:14px}.phd-record{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px;background:#f2f6f8;border-radius:9px;font-size:13px}.phd-record button{padding:6px 10px;min-height:32px;background:#e5ecef;color:#334}
.phd-savebar{position:sticky;bottom:8px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;background:#fff;border:1px solid #dce4e9;border-radius:14px;box-shadow:0 4px 20px #0001;z-index:5;font-size:12px}
.phd-login-wrap{min-height:65vh;display:grid;place-items:center;padding:20px}.phd-login{width:min(100%,390px);padding:25px;border:1px solid #e1e7eb;border-radius:18px;box-shadow:0 10px 35px #0000000c}.phd-login h2{margin-top:0}.phd-login label{margin:14px 0}.phd-login button{width:100%}.phd-alert{background:#fff0ee;color:#9a3025;padding:10px;border-radius:8px}
.phd-admin{max-width:1100px}.phd-admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.phd-admin-stats div,.phd-admin-chart{background:#fff;border:1px solid #dfe5e9;border-radius:12px;padding:18px;margin:12px 0}.phd-admin-stats b{display:block;font-size:25px}.phd-admin-stats span{color:#667}
.phd-admin-chart canvas{width:100%!important;height:260px!important}
@media(max-width:650px){.phd-app{padding:10px;margin:0 auto}.phd-top{padding:15px}.phd-top h1{font-size:22px}.phd-top-actions{font-size:11px;flex-direction:column;align-items:flex-end;gap:5px}.phd-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.phd-grid-2{grid-template-columns:1fr}.phd-checkgrid{grid-template-columns:1fr}.phd-savebar{bottom:4px}.phd-savebar button{padding:10px}.phd-admin-stats{grid-template-columns:1fr}.phd-admin-chart canvas{height:210px!important}}
