/* Accueil unique (comme l'app, 3/12/2026) */
.hm { display: grid; gap: 12px; max-width: 600px; }
.hm-head small { font-size: 13px; font-weight: 600; color: var(--muted); }
.hm-head h2 { margin: 2px 0 0; font-size: 26px; font-weight: 800; color: var(--text); }
.hm-stats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; padding: 16px; border-radius: 22px; }
.hm-stat { display: grid; gap: 4px; text-align: left; border: 0; background: none; padding: 0; font-family: inherit; color: var(--text); cursor: pointer; }
.hm-stat small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hm-stat b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-stat span { font-size: 12px; color: var(--muted); }
.hm-addbtn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border: 0; border-radius: 16px; background: var(--primary); color: #fff; font-family: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.hm-addbtn svg { width: 18px; height: 18px; }
.hm-week { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; text-align: left; font-family: inherit; color: var(--text); cursor: pointer; border: 1px solid var(--line); }
.hm-week__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }
.hm-week__ic svg { width: 20px; height: 20px; }
.hm-week > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.hm-week b { font-size: 16px; font-weight: 800; }
.hm-week small { font-size: 12px; color: var(--muted); }
.hm-week i { font-style: normal; font-weight: 800; color: var(--muted); }
.hm-todo { padding: 0 16px; border-radius: 20px; }
.hm-todo__eb { padding: 12px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hm-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 0; text-align: left; font-family: inherit; color: var(--text); cursor: pointer; }
.hm-row:last-of-type { border-bottom: 0; }
.hm-row i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid; flex: none; }
.hm-row span { flex: 1; display: grid; gap: 2px; min-width: 0; }
.hm-row b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-row small { font-size: 12px; color: var(--muted); }
.hm-row em { font-style: normal; font-size: 11px; color: var(--muted); }
.hm-muted { margin: 0; padding: 12px 0; font-size: 14px; color: var(--muted); }
.hm-done { border-top: 1px solid var(--line); font-size: 13px; }
.hm-others { margin: 4px 4px 0; font-size: 13px; color: var(--muted); }
.hm-others button { border: 0; background: none; padding: 0 4px; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--primary); cursor: pointer; }
.hm-add { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.hm-add__tile { display: grid; justify-items: center; gap: 8px; padding: 18px 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); font-family: inherit; font-size: 14px; color: var(--text); cursor: pointer; }
.hm-add__tile:hover { filter: brightness(.97); }

/* Profil (refonte du 2-3/12) : lignes de réglages comme l'app */
.pp-list { display: grid; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.pp-row { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 14px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-family: inherit; font-size: 15px; color: var(--text); cursor: pointer; }
.pp-row:last-child { border-bottom: 0; }
.pp-row:hover { background: var(--surface-soft, rgba(127,127,127,.06)); }
.pp-row__ic svg { width: 18px; height: 18px; color: var(--muted); display: block; }
.pp-row__t { flex: 1; }
.pp-row small { font-size: 13px; color: var(--muted); }
.pp-row i { font-style: normal; font-weight: 800; color: var(--muted); }
.pp-row--bad, .pp-row--bad .pp-row__ic svg { color: var(--danger, #c0392b); }
.pp-row--bad i { display: none; }
.pp-hint { margin: 8px 4px 0; font-size: 12px; color: var(--muted); line-height: 1.45; }

/* Notifications et proches (cloche en haut, à gauche de l'ampoule) */
.feedback-trigger.fp-inbox-btn { right: 60px; }
.fp-inbox-btn svg { width: 18px; height: 18px; }
.fp-inbox-btn em { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px; box-sizing: border-box; border-radius: 99px; background: var(--primary); color: #fff; font-style: normal; font-size: 10px; font-weight: 800; line-height: 17px; text-align: center; }
.ib { display: grid; gap: 12px; }
.ib-list { display: grid; padding: 0; overflow: hidden; }
.ib-row { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-family: inherit; color: var(--text); cursor: pointer; }
.ib-row:last-child { border-bottom: 0; }
.ib-row.is-new { background: color-mix(in srgb, var(--primary) 6%, transparent); }
.ib-row__ic svg { width: 18px; height: 18px; color: var(--primary); display: block; }
.ib-row__t { flex: 1; display: grid; gap: 2px; min-width: 0; }
.ib-row__t b { font-size: 14px; }
.ib-row__t small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-row em { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; }
.ib-empty { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.ib-people { display: grid; gap: 12px; }
.hm-ex { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: -4px; }
.hm-ex::-webkit-scrollbar { display: none; }
.hm-ex button { flex: none; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; }
/* Audit du 3/12 : les retours sur l'app sont dans Profil › Aide, plus de bouton ampoule en haut. */
#feedbackBtn { display: none !important; }
.feedback-trigger.fp-inbox-btn { right: 16px; }
