/* V2 nutrition insight and saved-goal cards. */
.v2-body .history-lead{margin:-6px 0 13px;color:#8ca7b0}.v2-body .personal-history-search{display:grid;grid-template-columns:34px 1fr;align-items:center;margin-bottom:11px;border:1px solid rgba(50,226,235,.45);border-radius:15px;background:#092532}.v2-body .personal-history-search span{color:#5aeae7;text-align:center;font-size:1.3rem}.v2-body .personal-history-search input{min-height:46px;border:0!important;background:transparent!important}.v2-body .personal-history-filters{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.v2-body .personal-history-filters button{min-height:39px;border:1px solid rgba(59,225,234,.32);border-radius:12px;color:#c4d9df;background:rgba(5,25,35,.55);font-size:.73rem;font-weight:800}.v2-body .personal-history-filters button.active{color:#03171a;background:linear-gradient(135deg,#5eeee5,#1fc2d5);box-shadow:0 7px 17px rgba(19,198,212,.2)}.v2-body .personal-history-meta{display:flex;align-items:center;justify-content:space-between;margin:13px 3px 9px}.v2-body .personal-history-meta strong{color:#eefbfc}.v2-body .personal-history-meta span{color:#58ebe7;font-size:.74rem}.v2-body .history-info{margin:0 0 10px;padding:9px 11px;border:1px solid rgba(52,225,234,.16);border-radius:11px;color:#9ab4bc;background:rgba(28,162,176,.08);font-size:.72rem}.v2-body .rich-history-item{display:grid!important;grid-template-columns:54px 1fr auto!important;align-items:center;gap:11px}.v2-body .history-mode-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(67,231,236,.6);border-radius:50%;background:linear-gradient(145deg,#12475b,#082733);font-size:1.25rem;box-shadow:0 0 17px rgba(31,218,231,.13)}.v2-body .rich-history-item h3{margin:0 0 5px;color:#f2fcfd;font-size:1rem}.v2-body .rich-history-item div>p{display:flex;align-items:center;gap:8px;margin:3px 0}.v2-body .rich-history-item time{color:#9db5bd;font-size:.7rem}.v2-body .rich-history-item div>p b{padding:4px 8px;border:1px solid rgba(77,231,235,.25);border-radius:999px;color:#59ebe8;font-size:.62rem}.v2-body .rich-history-item .history-summary{color:#c9e0e4;font-size:.72rem}.v2-body .rich-history-item .history-actions{display:grid;gap:6px}.v2-body .rich-history-item .history-actions button{min-width:58px;border-radius:999px}.v2-body .personal-remark-label{margin-top:14px}
html[data-theme="light"] .v2-body .personal-history-search{border-color:#9dd9f4;background:#fff}html[data-theme="light"] .v2-body .personal-history-filters button{color:#1745b9;border-color:#b7dff6;background:#fff}html[data-theme="light"] .v2-body .personal-history-meta strong,html[data-theme="light"] .v2-body .rich-history-item h3{color:#123fc8}html[data-theme="light"] .v2-body .history-info{color:#3156af;border-color:#cfe6f6;background:#f2f9ff}html[data-theme="light"] .v2-body .history-mode-icon{border-color:#95daf6;background:#e9f7ff}
.v2-body #results{position:relative;margin-top:18px}.v2-body #results .calorie-card{position:relative;overflow:hidden;padding:24px;border:1px solid rgba(91,237,231,.22);border-radius:22px;background:linear-gradient(145deg,#173746,#091d28);box-shadow:inset 1px 1px rgba(255,255,255,.075),0 18px 38px rgba(0,0,0,.21)}.v2-body #results .calorie-card::after{content:"";position:absolute;right:-42px;bottom:-75px;width:190px;height:190px;border:25px solid rgba(73,233,229,.11);border-radius:50%;pointer-events:none}.v2-body #results .calorie-card .muted{color:#a9c2c9}.v2-body #results .calories{position:relative;z-index:1;color:#f1fdfe;text-shadow:0 0 30px rgba(75,236,231,.3)}.v2-body #results .calories small{color:#65eee5}.v2-body #results .manual-calorie-check{position:relative;z-index:1;border-color:rgba(96,234,231,.16);color:#d9f3f3;background:rgba(2,17,25,.32)}
.v2-body #results .macro-grid{margin-top:12px}.v2-body #results .macro{min-height:125px;border-color:rgba(255,255,255,.075);border-radius:18px;background:linear-gradient(145deg,rgba(23,51,63,.95),rgba(10,28,38,.95));box-shadow:inset 1px 1px rgba(255,255,255,.045),0 10px 20px rgba(0,0,0,.12)}.v2-body #results .macro p,.v2-body #results .macro span{color:#9eb8c0}.v2-body #results .macro strong{color:#eafafb}.v2-body #results .protein strong{color:#ff9a76}.v2-body #results .fat strong{color:#ffc857}.v2-body #results .carb strong{color:#56e8e3}.v2-body #results .disclaimer{margin:13px 4px;color:#829da7}
.v2-body .personal-history{border-color:rgba(89,232,228,.15);background:linear-gradient(145deg,rgba(21,48,60,.98),rgba(8,24,34,.99));box-shadow:inset 1px 1px rgba(255,255,255,.05),0 16px 38px rgba(0,0,0,.19)}.v2-body .personal-history h2{color:#effbfc}.v2-body .personal-history .section-heading{align-items:center}.v2-body .personal-history .small-button{color:#04171b;border:1px solid rgba(99,239,234,.44);border-radius:13px;background:linear-gradient(135deg,#5beee4,#1cbfd4);box-shadow:0 8px 18px rgba(20,195,209,.16)}.v2-body .personal-history label{color:#bdcdd3}.v2-body .personal-history input{color:#e9f8fa;border-color:rgba(255,255,255,.1);background:#0b202b}.v2-body .personal-history .history-item{border-color:rgba(255,255,255,.08);border-radius:15px;color:#e8f7f8;background:rgba(5,20,28,.35)}.v2-body .personal-history .history-summary,.v2-body .personal-history .fineprint{color:#91aab4}.v2-body .personal-history .load-record{color:#06191d;background:linear-gradient(135deg,#62eee5,#26bfd4)}.v2-body .personal-history .delete-record{color:#ffb4a0;background:rgba(146,55,42,.25)}.v2-body .personal-history .personal-history-remark,.v2-body .personal-history .save-message{color:#62ece5}
html[data-theme="light"] .v2-body #results .calorie-card{border-color:#d9e9eb;background:linear-gradient(145deg,#fafeff,#e8f6f7);box-shadow:0 14px 30px rgba(40,85,97,.09)}html[data-theme="light"] .v2-body #results .calorie-card .muted{color:#637e89}html[data-theme="light"] .v2-body #results .calories{color:#173746;text-shadow:none}html[data-theme="light"] .v2-body #results .macro{border-color:#dce9eb;background:#fbfefe;box-shadow:0 8px 18px rgba(34,80,91,.06)}html[data-theme="light"] .v2-body #results .macro p,html[data-theme="light"] .v2-body #results .macro span,html[data-theme="light"] .v2-body #results .disclaimer{color:#637d88}html[data-theme="light"] .v2-body #results .macro strong{color:#193946}html[data-theme="light"] .v2-body .personal-history{border-color:#dce9eb;background:linear-gradient(145deg,#fbfeff,#eaf6f7);box-shadow:0 12px 28px rgba(37,83,95,.08)}html[data-theme="light"] .v2-body .personal-history h2{color:#163541}html[data-theme="light"] .v2-body .personal-history label{color:#365561}html[data-theme="light"] .v2-body .personal-history input{color:#1a3b48;border-color:#d7e6e9;background:#fff}html[data-theme="light"] .v2-body .personal-history .history-item{border-color:#dce9eb;color:#183946;background:#fff}html[data-theme="light"] .v2-body .personal-history .history-summary,html[data-theme="light"] .v2-body .personal-history .fineprint{color:#657e88}
@media(max-width:600px){.v2-body #results .calorie-card{padding:20px}.v2-body #results .macro{min-height:114px;padding:13px}.v2-body .personal-history{padding:16px;border-radius:21px}.v2-body .personal-history .section-heading{align-items:flex-start}.v2-body .personal-history .small-button{padding:10px 11px;font-size:.78rem}}

.v2-body .personal-profile{position:relative;overflow:hidden;padding:20px;border-color:rgba(72,229,238,.28);color:#eefcff;background:radial-gradient(circle at 88% 0,rgba(10,177,234,.24),transparent 34%),linear-gradient(145deg,#073243,#031c2a 60%,#041622);box-shadow:inset 1px 1px rgba(255,255,255,.07),0 20px 45px rgba(0,0,0,.26)}.v2-body .profile-page-head{display:flex;align-items:center;gap:12px}.v2-body .profile-page-head button{width:38px;height:38px;border:1px solid rgba(83,233,235,.2);border-radius:12px;color:#57ebe9;background:#102c38;font-size:1.7rem}.v2-body .profile-page-head h2{margin:2px 0;color:#f5fdff;font-size:1.7rem}.v2-body .profile-identity{display:grid;grid-template-columns:84px 1fr auto;align-items:center;gap:14px;margin:14px 0;padding:16px;border:1px solid rgba(47,227,237,.55);border-radius:18px;background:linear-gradient(145deg,rgba(12,69,86,.72),rgba(5,31,45,.72));box-shadow:inset 1px 1px rgba(255,255,255,.07),0 12px 25px rgba(0,0,0,.16)}.v2-body .profile-avatar{display:grid;place-items:center;width:76px;height:76px;border:3px solid #38e7ef;border-radius:50%;color:#08222b;background:linear-gradient(145deg,#7ff7ec,#13bdd4);box-shadow:0 0 0 6px rgba(49,228,237,.12),0 0 25px rgba(28,220,233,.28);font-size:2rem;font-weight:900}.v2-body .profile-identity>div:nth-child(2){display:grid;gap:5px}.v2-body .profile-identity strong{font-size:1.35rem}.v2-body .profile-identity span{width:max-content;padding:5px 10px;border:1px solid rgba(67,232,237,.45);border-radius:999px;color:#52efed;font-size:.72rem}.v2-body .profile-identity small{color:#a9c2c9}.v2-body .profile-identity>b{display:grid;place-items:center;width:58px;height:58px;border:2px solid #2fe2ee;border-radius:50%;color:#50eceb;font-size:1.4rem}.v2-body .profile-identity>b small{margin-top:7px;width:86px;color:#7cf4f0;text-align:center;font-size:.62rem}.v2-body .profile-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v2-body .profile-settings-grid>article{position:relative;min-height:125px;padding:15px;border:1px solid rgba(46,224,236,.45);border-radius:17px;background:linear-gradient(145deg,rgba(10,58,75,.78),rgba(4,29,43,.76));box-shadow:inset 1px 1px rgba(255,255,255,.045)}.v2-body .profile-settings-grid h3{margin:0 0 14px;color:#effbfe;font-size:1rem}.v2-body .profile-settings-grid p{max-width:75%;color:#a7c0c8;font-size:.78rem}.v2-body .profile-language,.v2-body .profile-appearance{display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border:1px solid rgba(64,228,235,.28);border-radius:13px}.v2-body .profile-language button,.v2-body .profile-appearance button{min-height:42px;border:0;border-right:1px solid rgba(67,227,235,.2);color:#c9dce1;background:rgba(5,28,40,.65);font-size:.7rem;font-weight:800}.v2-body .profile-language button:last-child,.v2-body .profile-appearance button:last-child{border-right:0}.v2-body .profile-language button.active,.v2-body .profile-appearance button.active{color:#031a20;background:linear-gradient(135deg,#58eee8,#1dc2d6);box-shadow:0 0 18px rgba(28,220,232,.25)}.v2-body .profile-orb{position:absolute;right:16px;bottom:14px;color:#50e9ef;font-size:2.2rem;text-shadow:0 0 18px rgba(50,222,236,.55)}.v2-body .profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.v2-body .profile-actions button{min-height:50px;border:1px solid #34dfe9;border-radius:14px;color:#5bedeb;background:rgba(5,29,42,.7);font-weight:850}.v2-body .profile-actions .logout-button{color:#ff7f83;border-color:#ff4e58}.v2-body #profile-button{cursor:pointer;font:inherit}
html[data-theme="light"] .v2-body .personal-profile{color:#102c4e;border-color:#bfdff5;background:radial-gradient(circle at 90% 0,rgba(72,191,255,.18),transparent 35%),linear-gradient(145deg,#fff,#eef8ff)}html[data-theme="light"] .v2-body .profile-page-head h2,html[data-theme="light"] .v2-body .profile-identity strong,html[data-theme="light"] .v2-body .profile-settings-grid h3{color:#073dd8}html[data-theme="light"] .v2-body .profile-identity,html[data-theme="light"] .v2-body .profile-settings-grid>article{border-color:#bee1f8;background:rgba(255,255,255,.82);box-shadow:0 9px 22px rgba(44,110,159,.09)}html[data-theme="light"] .v2-body .profile-language button,html[data-theme="light"] .v2-body .profile-appearance button{color:#1644b8;background:#f7fbff}
@media(max-width:600px){.v2-body .personal-profile{min-height:calc(100dvh - 104px);padding:15px;border-radius:22px}.v2-body .profile-identity{grid-template-columns:72px 1fr auto;padding:13px}.v2-body .profile-avatar{width:64px;height:64px}.v2-body .profile-settings-grid>article{min-height:116px;padding:13px}.v2-body .profile-settings-grid h3{font-size:.88rem}.v2-body .profile-language button,.v2-body .profile-appearance button{padding:0 4px;font-size:.61rem}}
