/* NUTRI 1.9.5 · Diary Experience — intentionally scoped to .dx */
.dx{--dx-ink:#153e30;--dx-green:#0b634b;--dx-muted:#698276;--dx-line:#e2ece5;--dx-paper:#fff;--dx-lime:#c7f29c;color:var(--dx-ink);max-width:1220px;margin:0 auto 48px;font-family:'DM Sans',system-ui,sans-serif}
.dx *{box-sizing:border-box}.dx a{text-decoration:none}.dx button,.dx a,.dx input{font:inherit}.dx button{cursor:pointer}.dx-eyebrow{font-size:10px;font-weight:800;letter-spacing:.15em;color:#678e7a}.dx-tiny-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8cd671;margin-right:7px;box-shadow:0 0 0 4px #e4f4df}
.dx-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:5px 0 22px}.dx-head h1{font-family:'Outfit',sans-serif;font-size:clamp(29px,3.8vw,43px);letter-spacing:-.055em;line-height:1.08;margin:12px 0 8px;font-weight:800}.dx-head h1 em{color:#69a948;font-style:normal}.dx-head p{margin:0;color:var(--dx-muted);font-size:13px;line-height:1.7}.dx-main-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#075b43;color:white!important;border-radius:14px;padding:15px 21px;min-height:49px;white-space:nowrap;font-size:13px;font-weight:800;box-shadow:0 12px 26px rgba(10,96,70,.13);transition:transform .2s,box-shadow .2s}.dx-main-action:hover{transform:translateY(-2px);box-shadow:0 15px 28px rgba(10,96,70,.23)}
.dx-datebar{border:1px solid var(--dx-line);background:white;border-radius:20px;padding:13px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.dx-date-caption{display:flex;align-items:center;gap:12px}.dx-calendar-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#eff8f0;font-size:24px;color:#0a7454}.dx-date-caption div{display:flex;flex-direction:column;gap:3px}.dx-date-caption strong{font-size:14px}.dx-date-caption small{font-size:11px;color:var(--dx-muted)}.dx-date-controls{display:flex;align-items:center;gap:8px}.dx-date-controls>a{display:grid;place-items:center;background:#eff7f1;color:#126b50;min-width:38px;height:38px;border-radius:11px;font-weight:800}.dx-date-controls .dx-today{font-size:12px;padding:0 12px}.dx-date-controls .dx-today.is-today{background:#e1f3de}.dx-date-form input{width:143px;border:1px solid #e1eae4;background:#fff;border-radius:11px;color:#245342;padding:8px 10px;font-size:12px;min-height:38px}
.dx-overview{display:grid;grid-template-columns:minmax(275px,1.05fr) minmax(330px,.95fr);gap:14px}.dx-energy{min-height:206px;background:radial-gradient(circle at 88% 13%,#258465 0,#176b51 29%,transparent 56%),linear-gradient(120deg,#084d39,#075d47);color:white;border-radius:22px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.dx-energy:after{content:'';position:absolute;width:250px;height:250px;border:1px solid #ffffff1c;border-radius:50%;right:-130px;bottom:-170px;pointer-events:none}.dx-energy-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.dx-light-label{font-weight:800;font-size:10px;letter-spacing:.16em;color:#d0f0dd}.dx-energy-number{display:flex;align-items:baseline;gap:8px;margin-top:12px}.dx-energy-number strong{font-family:'Outfit',sans-serif;font-size:clamp(37px,4.2vw,52px);letter-spacing:-.06em;line-height:1}.dx-energy-number>span{font-weight:700;color:#d3eadb;font-size:13px}.dx-energy p{color:#d6eadd;font-size:12px;line-height:1.5;margin:12px 0 0}.dx-ring{width:112px;height:112px;flex:none;border-radius:50%;background:conic-gradient(#c3f28e calc(var(--dx-progress)*1%),#ffffff27 0);display:grid;place-items:center;transform:rotate(-90deg);box-shadow:0 0 0 7px #ffffff0b}.dx-ring:before{content:'';position:absolute;inset:11px;border-radius:50%;background:#176b51}.dx-ring span{position:relative;transform:rotate(90deg);font-family:'Outfit',sans-serif;font-size:20px;font-weight:800}.dx-energy-lower{border-top:1px solid #ffffff30;margin-top:17px;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;font-weight:700;color:#e2f4e6}.dx-energy-lower a{color:#cefa9d;white-space:nowrap}
.dx-macros{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dx-macro{min-width:0;background:white;border:1px solid var(--dx-line);border-radius:19px;padding:20px 16px;display:flex;flex-direction:column;gap:12px}.dx-macro-name{display:flex;align-items:center;gap:7px;font-size:12px;color:#6b8075;white-space:nowrap}.dx-macro-symbol{font-size:12px;color:#69b077}.dx-carbs .dx-macro-symbol{color:#e3a75a}.dx-fat .dx-macro-symbol{color:#79b5bb}.dx-macro-amount{display:flex;align-items:baseline;gap:4px}.dx-macro-amount strong{font:800 27px 'Outfit',sans-serif;letter-spacing:-.045em;color:#164c39}.dx-macro-amount small{font-size:12px;color:var(--dx-muted)}.dx-mini-progress{height:7px;border-radius:8px;background:#eaf1ea;overflow:hidden;margin-top:auto}.dx-mini-progress span{display:block;height:100%;border-radius:8px;background:#6fba7a;transition:width .5s}.dx-carbs .dx-mini-progress span{background:#e7b75c}.dx-fat .dx-mini-progress span{background:#79b8bf}.dx-macro-goal{font-size:10px;color:#80968a;line-height:1.5}
.dx-pulse{margin:15px 0 34px;background:#f6faf6;border:1px solid #e2ece5;border-radius:16px;display:flex;align-items:center;gap:15px;padding:13px 17px}.dx-pulse-stat{display:flex;align-items:center;gap:11px;flex:1;min-width:0}.dx-pulse-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e6f5df;color:#12805a;font-size:24px}.dx-pulse-stat>div:last-child{display:flex;flex-direction:column;gap:4px}.dx-pulse-stat strong{font-size:12px}.dx-pulse-stat small{font-size:10px;color:var(--dx-muted)}.dx-pulse-dots{display:flex;align-items:center;gap:5px}.dx-pulse-dots span{width:8px;height:8px;border-radius:50%;background:#d9e5dc}.dx-pulse-dots .is-filled{background:#23946d}.dx-shortcut-link{color:#0c7855;font-size:11px;font-weight:800;white-space:nowrap}
.dx-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:18px}.dx-section-title h2{font:800 26px 'Outfit',sans-serif;letter-spacing:-.045em;margin:6px 0 0}.dx-filters{display:flex;gap:5px;background:#eaf3ed;padding:4px;border-radius:12px}.dx-filters button{background:transparent;border:0;color:#657e71;font-size:11px;font-weight:800;padding:9px 11px;border-radius:9px;transition:background .2s,color .2s;white-space:nowrap}.dx-filters button.is-active{background:#fff;color:#0e644a;box-shadow:0 2px 6px #0d3d2110}
.dx-timeline{position:relative;display:grid;gap:13px;padding-left:37px}.dx-timeline:before{content:'';position:absolute;left:12px;top:25px;bottom:25px;width:2px;background:linear-gradient(#a1d8b2,#dfede3)}.dx-step{position:relative;min-width:0}.dx-step[hidden]{display:none!important}.dx-track-node{position:absolute;left:-37px;top:27px;width:25px;height:25px;background:#ecf4ed;border:2px solid #d6e7dc;color:#a5bdac;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:800;z-index:1}.dx-track-node.is-done{background:#117453;border-color:#117453;color:white}.dx-meal{border:1px solid #e1ece5;border-radius:20px;background:white;overflow:hidden;transition:border-color .2s,box-shadow .2s}.dx-meal:hover,.dx-meal[open]{border-color:#c8e3d0;box-shadow:0 10px 30px #1c543b08}.dx-meal-summary{list-style:none;display:flex;align-items:center;gap:13px;min-height:92px;padding:15px 20px;cursor:pointer}.dx-meal-summary::-webkit-details-marker{display:none}.dx-meal-summary:focus-visible{outline:3px solid #83d2aa;outline-offset:-4px;border-radius:18px}.dx-meal-symbol{width:53px;height:53px;flex:none;display:grid;place-items:center;border-radius:16px;background:#fff5e4;color:#ba8c36;font-size:29px;font-family:system-ui}.dx-lunch .dx-meal-symbol{background:#eaf7e8;color:#2a9367}.dx-snack .dx-meal-symbol{background:#fff0ef;color:#d07372}.dx-dinner .dx-meal-symbol{background:#eef3fd;color:#648eb9}.dx-other .dx-meal-symbol{background:#f2eefb;color:#9172ba}.dx-meal-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.dx-meal-info strong{font:700 18px 'Outfit',sans-serif;letter-spacing:-.025em}.dx-meal-info small{font-size:11px;color:#7d9286}.dx-meal-side{display:flex;align-items:center;gap:17px;white-space:nowrap}.dx-meal-side>strong{font-size:12px;color:#167651}.dx-meal-chevron{font-size:24px;color:#739181;transition:transform .2s}.dx-meal[open] .dx-meal-chevron{transform:rotate(180deg)}.dx-meal-body{border-top:1px solid #edf3ee;padding:8px 20px 19px;animation:dx-reveal .22s ease}.dx-entry{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #eef4ef}.dx-entry:last-child{border:0}.dx-entry-dot{flex:none;width:7px;height:7px;border-radius:50%;background:#aad3b1}.dx-entry-name{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.dx-entry-name strong{font-size:12px;overflow-wrap:anywhere}.dx-entry-name small{font-size:10px;color:#718a79;line-height:1.55}.dx-entry-note{font-style:italic}.dx-entry-energy{font-size:11px;color:#205b41;white-space:nowrap}.dx-remove{width:30px;height:30px;display:grid;place-items:center;background:#fff5f2;color:#b45146;border:0;border-radius:9px;font-size:21px;line-height:1}.dx-remove:hover{background:#ffe5df}.dx-empty{display:flex;align-items:center;gap:12px;background:#f7faf7;border-radius:13px;margin:10px 0;padding:13px 14px}.dx-empty>span{color:#96c5a1;font-size:20px}.dx-empty p{margin:0;font-size:11px;line-height:1.6;color:#809487}.dx-meal-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:13px}.dx-meal-actions form{margin:0}.dx-meal-add,.dx-copy-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:11px 13px;border-radius:11px;font-size:11px;font-weight:800;min-height:40px}.dx-meal-add{background:#e7f5e9;color:#146f4f}.dx-copy-btn{background:#fff;color:#426a56;border:1px solid #dbe9df}.dx-copy-btn:hover,.dx-meal-add:hover{filter:brightness(.97)}
.dx-extra-actions{margin-top:27px;background:linear-gradient(125deg,#f2f8f1,#e9f6e8);border:1px solid #dbeada;padding:24px;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.dx-extra-actions h2{font:750 22px 'Outfit',sans-serif;margin:7px 0}.dx-extra-actions p{font-size:12px;line-height:1.6;color:#607f6c;max-width:530px;margin:0}.dx-extra-actions>div:last-child{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.dx-secondary-action{background:#fff;color:#1c6a4d;border:1px solid #d2e5d7;border-radius:12px;padding:13px 15px;font-size:11px;font-weight:800}.dx-disclaimer{font-size:10px;color:#7c9184;line-height:1.7;margin:20px 0 0}
.dx a:focus-visible,.dx button:focus-visible,.dx input:focus-visible{outline:3px solid #55b68f;outline-offset:3px}
@keyframes dx-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1080px){.dx-overview{grid-template-columns:1fr}.dx-energy{min-height:180px}.dx-macro{padding:17px}}
@media(max-width:700px){.dx{margin-top:0;margin-bottom:78px}.dx-head{flex-direction:column;align-items:stretch;gap:16px;margin-bottom:17px}.dx-head h1{font-size:32px}.dx-head p{font-size:12px}.dx-main-action{width:100%;min-height:49px}.dx-datebar{padding:10px;gap:7px;border-radius:16px}.dx-calendar-mark{width:34px;height:34px;font-size:19px}.dx-date-caption{gap:7px}.dx-date-caption strong{font-size:12px}.dx-date-caption small{font-size:10px}.dx-date-controls{gap:4px}.dx-date-controls>a{min-width:31px;height:34px}.dx-date-controls .dx-today{padding:0 8px}.dx-date-form input{width:115px;padding:5px 4px;min-height:34px;font-size:11px}.dx-energy{padding:21px;border-radius:20px;min-height:195px}.dx-ring{width:90px;height:90px}.dx-ring:before{inset:9px}.dx-energy-number strong{font-size:44px}.dx-overview{gap:11px}.dx-macros{gap:7px}.dx-macro{padding:14px 11px;border-radius:15px;gap:10px}.dx-macro-name{font-size:10px}.dx-macro-amount strong{font-size:22px}.dx-macro-goal{font-size:9px}.dx-pulse{align-items:flex-start;flex-wrap:wrap;margin-bottom:27px;padding:12px}.dx-pulse-dots{margin-left:auto}.dx-shortcut-link{width:100%;padding-left:52px}.dx-section-title{align-items:flex-start;flex-direction:column;gap:12px}.dx-section-title h2{font-size:24px}.dx-filters{max-width:100%;width:100%;justify-content:space-between}.dx-filters button{flex:1;padding:9px 6px;font-size:10px}.dx-timeline{padding-left:22px;gap:11px}.dx-timeline:before{left:8px}.dx-track-node{left:-22px;width:19px;height:19px;top:24px;font-size:11px}.dx-meal-summary{padding:12px;min-height:78px;gap:10px}.dx-meal-symbol{width:43px;height:43px;font-size:24px;border-radius:13px}.dx-meal-info strong{font-size:16px}.dx-meal-info small{font-size:10px}.dx-meal-side{gap:7px}.dx-meal-side>strong{font-size:11px}.dx-meal-body{padding:5px 12px 15px}.dx-entry{gap:7px}.dx-entry-name strong{font-size:11px}.dx-entry-name small{font-size:10px}.dx-entry-energy{font-size:10px}.dx-extra-actions{flex-direction:column;align-items:stretch;padding:19px}.dx-extra-actions>div:last-child{flex-direction:column;align-items:stretch}.dx-secondary-action{text-align:center}}
@media(max-width:365px){.dx-date-caption .dx-calendar-mark{display:none}.dx-date-form input{width:112px}.dx-meal-side>strong{max-width:60px;white-space:normal;text-align:right}.dx-energy-number strong{font-size:38px}}
@media(prefers-reduced-motion:reduce){.dx *{animation:none!important;transition:none!important}}
