/* Mon compte (/compte) : connexion, inscription, mot de passe oublié, méthodes reliées */
.cp-wrap { width: min(640px, 100% - 32px); }
.cp-card { padding: 38px 34px; }
.cp-card .btn-lg { width: 100%; justify-content: center; margin-top: 0; }
.cp-ic { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 20px; background: var(--glass-hi); border: 1px solid var(--line-hi); }
.cp-ic svg { width: 30px; height: 30px; }
#cp-msg .btn { width: auto; margin-top: 26px; }
.cp-oauth { display: grid; gap: 12px; margin-top: 26px; }
.cp-oauth .btn { margin-top: 0; }
.cp-google { background: #fff; color: #1f1f1f; box-shadow: 0 12px 40px rgba(255, 255, 255, .08); }
.cp-google:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(255, 255, 255, .16); }
.cp-google[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.cp-or { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; color: var(--ink-3); font-size: 13px; }
.cp-or::before, .cp-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cp-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.cp-tabs button { height: 38px; border: none; border-radius: 10px; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.cp-tabs button.on { background: var(--glass-hi); color: var(--ink); box-shadow: 0 0 0 1px var(--line-hi); }
.cp-form, .cp-stack { display: grid; gap: 14px; text-align: left; }
.cp-form { margin-top: 18px; }
.cp-form label, .cp-stack label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.cp-form label small, .cp-stack label small { font-weight: 400; color: var(--ink-3); }
.cp-form input:not([type="checkbox"]), .cp-stack input:not([type="checkbox"]), .cp-row-form input { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-hi); background: rgba(255, 255, 255, .04); color: var(--ink); font: inherit; font-size: 15px; }
.cp-form input:focus, .cp-stack input:focus, .cp-row-form input:focus { outline: none; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.cp-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; line-height: 1.5; }
.cp-check input { margin-top: 3px; accent-color: var(--accent); }
.cp-link { justify-self: center; padding: 6px; border: none; background: none; color: var(--ink-2); font: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.cp-link:hover { color: var(--ink); }
.cp-fine { font-size: 12.5px; line-height: 1.55; color: var(--ink-3); text-align: center; }
.cp-fine a { text-decoration: underline; }
.cp-left { text-align: left; }
.cp-danger { border-color: rgba(248, 113, 113, .35); }
.btn-danger { background: #b91c1c; color: #fff; border: 1px solid #ef4444; }
.btn-danger:hover { background: #dc2626; }
.cp-card .es-err { text-align: left; }
.cp-form button[disabled], .cp-stack button[disabled] { opacity: .6; pointer-events: none; }
/* connecté */
.cp-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px; }
.cp-head .es-ava { position: static; width: 64px; height: 64px; margin: 0; flex: none; }
.cp-who { flex: 1; min-width: 160px; }
.cp-who h1 { font-size: 24px; word-break: break-word; }
.cp-mail { color: var(--ink-2); font-size: 14px; word-break: break-all; }
.cp-sec { margin-top: 28px; }
.cp-sec h2 { font-size: 18px; margin-bottom: 6px; }
.cp-sub { margin-bottom: 12px; color: var(--ink-2); font-size: 14px; }
.cp-list { display: grid; }
.cp-method { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.cp-method + .cp-method { border-top: 1px solid var(--line); }
.cp-method-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--glass-hi); border: 1px solid var(--line); }
.cp-method-ic svg { width: 22px; height: 22px; }
.cp-method-t { flex: 1; min-width: 0; }
.cp-method-t b { display: block; font-size: 15px; }
.cp-method-t span { display: block; font-size: 13px; color: var(--ink-2); word-break: break-all; }
.cp-method-t em { font-style: normal; color: #7ee2a8; }
.cp-row-form { display: flex; gap: 10px; padding: 14px; }
.cp-stack { padding: 20px; }
.cp-stack .btn { justify-self: start; }
.cp-switch { display: flex; gap: 14px; align-items: flex-start; padding: 18px; cursor: pointer; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cp-switch input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.cp-ok { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(46, 204, 113, .1); border: 1px solid rgba(46, 204, 113, .3); color: #9be8bd; font-size: 14px; }
@media (max-width: 640px) {
  .cp-card { padding: 30px 20px; }
  .cp-method { flex-wrap: wrap; }
  .cp-head { padding: 18px; }
}
