/* ===========================================================
   Monito — thème Sauge (vert sauge). Même principe que le thème
   Halloween : on surcharge les variables et les couleurs écrites
   en dur, la mise en page et la lisibilité ne bougent pas.
   Le vert « tout va bien » est conservé : le sauge de l'accent
   ne doit jamais se confondre avec une alerte.
   =========================================================== */

html[data-theme="sauge"]{
	--bg:#0d1210;
	--surface:#141c18;
	--surface-2:#1a241f;
	--border:#2c3b33;
	--border-soft:#223029;
	--text:#eef3ec;
	--text-dim:#b1bfac;
	--text-faint:#82927f;
	--accent:#9fbd8c;      /* braise */
	--accent-2:#d3dba6;    /* orange cuivré */
	--good:#6fe0a0;
	--warn:#ffc247;
	--danger:#ff8d96;
}

html[data-theme="sauge"],
html[data-theme="sauge"] body{
	background:
		radial-gradient(circle at 10% -10%, rgba(159,189,140,0.17), transparent 46%),
		radial-gradient(circle at 100% 0%, rgba(211,219,166,0.10), transparent 42%),
		radial-gradient(ellipse at 50% 115%, rgba(159,189,140,0.08), transparent 55%),
		var(--bg);
}
html[data-theme="sauge"] ::selection{ background:rgba(159,189,140,0.38); }

/* --- couleurs écrites en dur dans le thème de base --- */
html[data-theme="sauge"] .live-dot{ box-shadow:0 0 0 3px rgba(159,189,140,0.2); background:var(--accent); }
html[data-theme="sauge"] .slot-card.is-active{
	border-color:rgba(159,189,140,0.42);
	box-shadow:0 0 0 1px rgba(159,189,140,0.08), 0 12px 28px -16px rgba(159,189,140,0.5);
}
html[data-theme="sauge"] .pill-good{ background:rgba(111,224,160,0.14); }
html[data-theme="sauge"] .pill-danger{ background:rgba(255,141,150,0.16); }
html[data-theme="sauge"] .pill-accent2,
html[data-theme="sauge"] .os-windows{ background:rgba(211,219,166,0.15); }
html[data-theme="sauge"] .proj-tag{ background:rgba(211,219,166,0.12); }
/* barres de progression : dégradé bordeaux > sauge > orange > ambre, avec une lueur de braise */
html[data-theme="sauge"] .progress-track{ background:#1f2b25; }
html[data-theme="sauge"] .progress-fill{
	background:linear-gradient(90deg, #3f6b4f 0%, #6f9a6c 38%, #a3c08c 70%, #dfe9b8 100%);
	box-shadow:0 0 10px -1px rgba(159,189,140,.45);
}
html[data-theme="sauge"] .stat-tile .value.accent,
html[data-theme="sauge"] .stat-card-sub,
html[data-theme="sauge"] .user-ppd{ color:var(--accent); }
html[data-theme="sauge"] .avatar{ background:linear-gradient(135deg, var(--accent-2), var(--accent)); }

/* --- carte protéine : mêmes formes, passée au sauge --- */
html[data-theme="sauge"] .protein-card{
	border-color:#2c3b33;
	background:radial-gradient(ellipse at 50% 50%,#1f3027 0%,#16221c 55%,#141c18 100%);
}
html[data-theme="sauge"] .protein-card .heading{ color:#cfe3c0; }
html[data-theme="sauge"] .protein-card .status{ color:#d3dba6; }
html[data-theme="sauge"] .protein-card .footer{ color:#b1bfac; }
html[data-theme="sauge"] .protein-card .footer strong{ color:#d8e4b8; }
html[data-theme="sauge"] .protein-card .pill{ background:#1c2a23; border-color:#355044; }
html[data-theme="sauge"] .protein-card .dot{ background:#6fe0a0; box-shadow:0 0 9px #6fe0a0; }

/* --- membre endormi : nuit vert sombre --- */
html[data-theme="sauge"] .user-asleep{ animation-name:moonlight-sg; border-color:rgba(211,219,166,.28); background:linear-gradient(180deg,#16211b 0%,#141c18 60%); }
@keyframes moonlight-sg{
	0%,100%{ box-shadow:0 0 0 0 rgba(211,219,166,0), inset 0 0 30px -18px rgba(211,219,166,0); }
	50%{ box-shadow:0 0 28px -10px rgba(211,219,166,.26), inset 0 0 34px -16px rgba(211,219,166,.2); }
}
html[data-theme="sauge"] .moon-badge{ background:#22362b; border-color:rgba(211,219,166,.5); box-shadow:0 0 8px rgba(211,219,166,.45); }
html[data-theme="sauge"] .sleep-pill{ background:rgba(211,219,166,.12); color:#c5d4bf; }
html[data-theme="sauge"] .zzz-big i{ text-shadow:0 0 8px rgba(211,219,166,.6); }
html[data-theme="sauge"] .sleep-sky i{ background:#e6f2de; box-shadow:0 0 6px rgba(200,225,190,.8); }
