/* Shared nutrient colors match Macros; section controls inherit their identity. */
#lyGoalsSummary article[data-nutrient],.ly-plan-nutrient{background:linear-gradient(115deg,#1c222b 0%,color-mix(in srgb,var(--nutrient-color) 14%,#252b34) 52%,color-mix(in srgb,var(--nutrient-color) 32%,#353b46) 100%)!important;border-color:color-mix(in srgb,var(--nutrient-color) 40%,#434343)!important;box-shadow:inset 0 1px 0 #ffffff06}
#lyGoalsSummary article[data-nutrient="calories"]{--nutrient-color:#fff}#lyGoalsSummary article[data-nutrient="protein"]{--nutrient-color:#e77983}#lyGoalsSummary article[data-nutrient="carbs"]{--nutrient-color:#e6a36e}#lyGoalsSummary article[data-nutrient="fat"]{--nutrient-color:#75a4f5}#lyGoalsSummary article[data-nutrient="water"]{--nutrient-color:#77cafa}
#lyGoalsSummary article[data-nutrient] strong,#lyGoalsSummary article[data-nutrient] small{color:var(--nutrient-color)!important}
.ly-plan-nutrient strong{background:linear-gradient(120deg,color-mix(in srgb,var(--nutrient-color) 40%,white),var(--nutrient-color) 65%,color-mix(in srgb,var(--nutrient-color) 75%,#738092));background-clip:text;-webkit-background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}
html[data-theme="light"] :is(#lyGoalsSummary article[data-nutrient],.ly-plan-nutrient){background:linear-gradient(115deg,#fff,color-mix(in srgb,var(--nutrient-color) 30%,#f2f5f8))!important;color:#202735}
html[data-theme="light"] #lyGoalsSummary article[data-nutrient] :is(strong,small){color:color-mix(in srgb,var(--nutrient-color) 45%,#17212c)!important}
html[data-theme="light"] .ly-plan-nutrient strong{background:none;-webkit-text-fill-color:currentColor;color:#243244!important}
body[data-section="work"] :is(#vaultModal,#lyShiftDialog,#lyPaycheckDialog){--purple:#d2aa63;--border:#9b8157;--panel:#292820}
body[data-section="work"] :is(#vaultModal .dialog,#lyShiftDialog,#lyPaycheckDialog){background:linear-gradient(125deg,#232c31,#51432e)!important;border-color:#a98a52!important}
body[data-section="work"] :is(#vaultModal,#lyShiftDialog,#lyPaycheckDialog) :is(input,select,textarea){background:#262b2d!important;border-color:#8e7d5b!important;color:#fff}
body[data-section="work"] :is(#vaultModal,#lyShiftDialog,#lyPaycheckDialog) button:not(.ghost):not(.danger){background:#d2aa63!important;color:#211b11!important}
body[data-section="work"] #lyShiftPlus[hidden]{display:none!important}
#customizeModal .customize-close{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important;font-family:Arial,sans-serif!important;font-size:25px!important}
.mini-trash svg,.vault-entry-actions button svg{display:block;flex:none}.mini-trash{display:inline-flex!important;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:6px!important;color:#e4a6a9}
#exerciseChoices label{flex-wrap:wrap}#exerciseChoices .form-video-button{min-height:30px}#exerciseChoices label>span{flex:1;min-width:110px}
.category-editor{grid-template-columns:minmax(0,1fr) auto!important}#categoryManage .toolbar{display:flex!important;align-items:center;justify-content:space-between}
#lyRecentFoodQueries{margin:12px 0}#lyRecentFoodQueries:empty{display:none}#lyRecentFoodQueries h3{font-size:14px;margin:10px 0}#lyRecentFoodQueries button{font-size:12px;padding:7px 12px;margin:0 6px 6px 0}
#lyDownloads label{display:flex;align-items:center;gap:12px;flex-wrap:wrap}#lyDownloads select{width:auto;max-width:100%}.ly-inventory-more>summary{line-height:1.6}.ly-inventory-more>summary span{display:block;font-size:12px}

.nv-photo-credit{display:block;font-size:11px;line-height:1.5;margin:5px 0;color:inherit;overflow-wrap:anywhere}
#lyInventoryItemCategory{margin-bottom:8px}
html[data-theme="light"] body[data-section="work"] :is(#vaultModal .dialog,#lyShiftDialog,#lyPaycheckDialog){background:linear-gradient(125deg,#fff9e9,#e9d6ae)!important;color:#282414}
html[data-theme="light"] body[data-section="work"] :is(#vaultModal,#lyShiftDialog,#lyPaycheckDialog) :is(input,select,textarea){background:#fffaf0!important;color:#282414!important}

body[data-section="work"] #lyShiftDialog>.work-panel{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme="light"] body[data-section="work"] #lyShiftDialog :is(h2,label){color:#49351c!important}

/* Discord changes 2: readable history and consistent notices. */
#lifelyzeNotices{position:fixed!important;left:50%!important;right:auto!important;bottom:24px!important;transform:translateX(-50%)!important;width:max-content;max-width:calc(100vw - 32px);z-index:2147483647;pointer-events:none}
#lifelyzeNotices .lifelyze-notice{text-align:center;overflow-wrap:anywhere}
#lyRecentFoodQueries{padding-top:14px;border-top:1px solid #ffffff14;margin-top:18px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
#lyRecentFoodQueries h3{flex-basis:100%;font-size:12px;font-weight:600;color:var(--muted,#aab5bd);letter-spacing:.03em;margin:0 0 3px}
#lyRecentFoodQueries button{margin:0;padding:8px 13px;min-height:36px;border-radius:12px;border:1px solid #ffffff1c;background:#ffffff08;font:inherit;font-size:13px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#lyRecentFoodQueries button:hover{background:#38b7a122;border-color:#38b7a1}
.ly-goal-nutrient-icon,.ly-plan-icon{filter:none!important;opacity:1!important}
.ly-goal-nutrient-icon svg,.ly-plan-icon svg{filter:none!important}
#categoryManage .mini-trash{min-width:38px;min-height:38px}
html[data-theme="light"] #lyRecentFoodQueries{border-color:#142a3020}
html[data-theme="light"] #lyRecentFoodQueries button{background:#142a3009;border-color:#142a3020}

#lyGoalsSummary .ly-goal-nutrient-icon,.ly-plan-icon{color:var(--nutrient-color)!important}
