[hidden] { display: none !important; }
/* Espace client du site simplifié (simple/compte.html) : mêmes fonctions que compte.html, présentation épurée */
.acct { max-width: 760px; }
.acct-card { margin-bottom: 16px; padding: 24px; border: 1.5px solid var(--line); border-radius: 24px; background: var(--surface); }
.acct-card h3 { margin: 0 0 6px; font-size: 21px; font-weight: 900; letter-spacing: -.02em; }
.acct-card > .muted { margin: 0 0 16px; }
.auth { max-width: 460px; }
.muted { color: var(--muted); font-size: 15px; line-height: 1.45; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; padding: 5px; border-radius: 16px; background: var(--soft); }
.tab { height: 46px; border: 0; border-radius: 12px; background: none; font-weight: 800; font-size: 15.5px; color: var(--muted); }
.tab.is-active { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(15, 27, 42, .1); }
.f { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.f > label, .f legend { font-size: 14px; font-weight: 700; color: var(--label); }
.f input:not([type=radio]):not([type=checkbox]), .f select { width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; }
.f input:not([type=radio]):focus, .f select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(53, 224, 201, .18); }
fieldset.kind { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
fieldset.kind legend { grid-column: 1 / -1; padding: 0; margin-bottom: 6px; }
.radio { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 700; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(53, 224, 201, .14); }
.radio input { width: 18px; height: 18px; accent-color: #12a08e; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: #12a08e; }
.check a, .hint a { color: var(--teal-ink); font-weight: 700; }
.msg { min-height: 1.2em; margin: 0 0 10px; color: #c2410c; font-size: 15px; font-weight: 600; }
.msg.ok { color: var(--teal-ink); }
.btn.full { width: 100%; justify-content: center; }
.hint { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 14.5px; }
.btn2.sm { height: 46px; padding: 0 18px; font-size: 15px; }
.danger { color: #c2410c; border-color: #f3c4b0; margin-top: 10px; }

/* Connecté */
.me-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.me-av { width: 56px; height: 56px; border-radius: 18px; background: var(--mint); display: grid; place-items: center; font-size: 26px; flex: none; }
.me-id { flex: 1; min-width: 0; }
.me-id h2 { margin: 0; font-size: 22px; font-weight: 900; }
.me-id p { margin: 4px 0 0; overflow-wrap: anywhere; }
.kind-badge { display: inline-block; padding: 3px 10px; border-radius: 10px; background: var(--mint); color: var(--mint-ink); font-size: 12.5px; font-weight: 800; margin-right: 6px; }
.kind-badge:empty { display: none; }
.favs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.favs:empty { display: none; }
.fav { padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--soft); font-weight: 700; font-size: 14.5px; }
.fav:hover { border-color: var(--teal); }
.qsvcs { display: flex; flex-wrap: wrap; gap: 8px; }
.qsvc { height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); font-weight: 800; font-size: 15px; }
.qsvc.is-on { background: var(--strong); border-color: var(--strong); color: var(--on-strong); }
.qgroup { margin: 14px 0 6px; color: var(--muted); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.qcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 6px; }
.qcard { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; font: inherit; color: var(--text); }
.qcard:hover { border-color: var(--teal); }
.qcard.is-on { border: 2px solid var(--teal); padding: 13.5px; box-shadow: 0 0 0 4px rgba(53, 224, 201, .14); }
.qc-n { font-weight: 800; font-size: 15px; }
.qc-p { color: var(--teal-ink); font-weight: 900; font-size: 17px; }
.qc-p.devis { color: var(--muted); font-weight: 600; font-size: 14px; }
.q-price { margin: 4px 0 14px; padding: 14px 16px; border-radius: 16px; background: var(--mint); color: var(--mint-ink); font-size: 15px; font-weight: 600; line-height: 1.5; }
.qgrid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.hist-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.hist-head h3 { margin: 0; }
.hseg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--soft); }
.hseg button { height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: none; font-weight: 700; font-size: 14px; color: var(--muted); }
.hseg button.is-active { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(15, 27, 42, .1); }
.bk { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.bk i { width: 6px; align-self: stretch; border-radius: 6px; background: var(--c); }
.bk div { flex: 1; min-width: 0; }
.bk strong { display: block; font-size: 16px; }
.bk span.s { color: var(--muted); font-size: 14px; }
.bk .side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 0 0 auto; }
.pill { padding: 4px 10px; border-radius: 10px; border: 1.5px solid var(--c); color: var(--c); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.bk .redo { height: 34px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 700; font-size: 13px; white-space: nowrap; }
.bk .redo:hover { border-color: var(--teal); }
.empty-b { padding: 18px; border: 1.5px dashed var(--dash); border-radius: 16px; color: var(--muted); text-align: center; }
.fold summary { list-style: none; display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; cursor: pointer; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: '+'; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s; }
.fold[open] summary::after { transform: rotate(45deg); }
.fold[open] summary { margin-bottom: 18px; }
@media (max-width: 900px) {
  .acct-card { padding: 18px; border-radius: 22px; }
  .qgrid.two { grid-template-columns: 1fr; }
  .qcards { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
  .qcard { padding: 12px; }
  .qcard.is-on { padding: 11.5px; }
  fieldset.kind { grid-template-columns: 1fr; }
  .me-head .btn2 { width: 100%; justify-content: center; }
}
/* Couleurs utilisées par compte.js (activités et statuts) */
:root { --cyan: #12a08e; --amber: #c27c0e; }
:root[data-theme="dark"] { --cyan: #35e0c9; --amber: #ffb84a; }
