/* ============================================================
   clientauto247 — Espace Client : formulaires, auth, layout
   Complément de styles.css (mêmes tokens)
   ============================================================ */

/* ---------- Auth screen ---------- */
.auth-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
.auth-aside {
  background: linear-gradient(155deg, #5B3BE8 0%, #7C4DF6 42%, #B14DF6 78%, #FF5DA2 130%);
  color: #fff;
  padding: 56px 56px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-aside .blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; }
.auth-aside .b1 { width: 320px; height: 320px; background: #FF5DA2; right: -90px; top: -70px; opacity: .35; }
.auth-aside .b2 { width: 260px; height: 260px; background: #1FA8FF; left: -80px; bottom: -60px; opacity: .3; }
.auth-aside .brand { padding: 0; }
.auth-aside .brand-mark { background: rgba(255,255,255,.16); box-shadow: none; backdrop-filter: blur(4px); }
.auth-aside .brand-name { color: #fff; }
.auth-aside .brand-name .dot { color: #FFD6E8; }
.auth-aside .brand-sub { color: rgba(255,255,255,.7); }
.auth-hero { margin-top: auto; position: relative; z-index: 2; }
.auth-hero h2 { font-size: 34px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; max-width: 12ch; }
.auth-hero p { font-size: 15px; line-height: 1.6; opacity: .85; margin-top: 16px; max-width: 40ch; }
.auth-feats { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.auth-feat { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.auth-feat .fc { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }

.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card .step-badge { font-size: 12px; font-weight: 700; color: var(--primary-ink); background: var(--primary-soft); display: inline-block; padding: 5px 12px; border-radius: var(--r-pill); letter-spacing: .02em; }
.auth-card h1 { font-size: 27px; font-weight: 700; margin: 16px 0 6px; }
.auth-card .lead { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin-bottom: 26px; }
.auth-card .lead b { color: var(--ink); }

.field-stack { display: flex; flex-direction: column; gap: 16px; }
.btn-block { width: 100%; justify-content: center; padding: 13px; font-size: 14.5px; }
.btn-google { width: 100%; justify-content: center; gap: 11px; padding: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 700; border-radius: var(--r-pill); font-size: 14px; display: flex; align-items: center; }
.btn-google:hover { background: var(--surface-2); }
.auth-or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12.5px; font-weight: 600; margin: 20px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { margin-top: 26px; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.6; }
.auth-foot a { color: var(--primary-ink); font-weight: 700; text-decoration: none; }

/* OTP inputs */
.otp-row { display: flex; gap: 10px; justify-content: space-between; }
.otp-row input {
  width: 100%; aspect-ratio: 1; text-align: center; font-size: 24px; font-weight: 700;
  font-family: var(--font-display); border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.otp-row input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.otp-row input.filled { border-color: var(--primary); }
.auth-2fa-app { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 14px; margin-bottom: 22px; }
.auth-2fa-app .qr { width: 40px; height: 40px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; color: #fff; flex: none; }

/* ---------- Form controls (in-app) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field label, .field .flbl { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field .hint { font-size: 11.5px; color: var(--muted); font-weight: 500; margin-top: 6px; line-height: 1.4; }
.inp, .ta, .sel {
  width: 100%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: var(--r-md); padding: 11px 13px; font-size: 14px; outline: none;
  transition: border-color .15s, box-shadow .15s; font-family: inherit;
}
.inp:focus, .ta:focus, .sel:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.ta { resize: vertical; min-height: 92px; line-height: 1.5; }
.inp-group { display: flex; align-items: center; border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r-md); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.inp-group:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.inp-group .prefix { padding: 0 4px 0 13px; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.inp-group input { border: none; box-shadow: none; flex: 1; }
.inp-group input:focus { box-shadow: none; }

/* Tag / chips input */
.tags-field { border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 8px; display: flex; flex-wrap: wrap; gap: 7px; transition: border-color .15s, box-shadow .15s; }
.tags-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-soft); color: var(--primary-ink); border-radius: var(--r-pill); padding: 5px 6px 5px 12px; font-size: 12.5px; font-weight: 600; }
.chip button { border: none; background: rgba(0,0,0,.06); border-radius: 50%; width: 18px; height: 18px; display: grid; place-items: center; color: inherit; flex: none; }
[data-theme="dark"] .chip button { background: rgba(255,255,255,.12); }
.chip.warn-chip { background: var(--err-soft); color: var(--err); }
.tags-field input { border: none; outline: none; background: none; flex: 1; min-width: 90px; font-size: 13.5px; color: var(--ink); padding: 5px; }

/* Toggle switch */
.switch { display: inline-flex; align-items: center; gap: 0; cursor: pointer; }
.switch .track { width: 44px; height: 26px; border-radius: var(--r-pill); background: var(--idle-soft); position: relative; transition: background .2s; flex: none; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.switch.on .track { background: var(--primary); }
.switch.on .knob { transform: translateX(18px); }

/* Toggle row (setting line) */
.toggle-row { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line-soft); }
.toggle-row:first-child { border-top: none; }
.toggle-row .tr-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.toggle-row .tr-title { font-weight: 700; font-size: 14px; }
.toggle-row .tr-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }

/* Save bar */
.save-bar {
  position: sticky; bottom: 16px; z-index: 20; margin-top: var(--gap);
  display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: #fff; border-radius: var(--r-pill);
  padding: 12px 14px 12px 22px; box-shadow: var(--shadow-lg);
  animation: rise .25s ease;
}
@keyframes rise { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.save-bar .sb-txt { font-size: 13.5px; font-weight: 600; }
.save-bar .sb-txt b { font-weight: 800; }
.save-bar .spacer { flex: 1; }
.save-bar .btn-discard { background: transparent; color: rgba(255,255,255,.8); border: none; font-weight: 700; font-size: 13.5px; padding: 8px 12px; border-radius: var(--r-pill); }
.save-bar .btn-discard:hover { background: rgba(255,255,255,.1); }

/* Section intro */
.sec-intro { margin-bottom: var(--gap); }
.sec-intro h2 { font-size: 22px; }
.sec-intro p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin-top: 6px; max-width: 64ch; }

/* AI fill button + modal */
.ai-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(120deg, var(--primary), var(--pink));
  color: #fff; border: none; border-radius: var(--r-pill);
  padding: 10px 18px; font-weight: 700; font-size: 13.5px;
  box-shadow: 0 6px 18px rgba(108,77,246,.34);
  position: relative; overflow: hidden;
}
.ai-btn:hover { filter: brightness(1.05); }
.ai-btn .shine { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.2s infinite; }
@keyframes shine { 0% { transform: translateX(-120%); } 55%,100% { transform: translateX(120%); } }

.modal-scrim { position: fixed; inset: 0; background: rgba(20,15,40,.5); backdrop-filter: blur(3px); z-index: 100; display: grid; place-items: center; padding: 20px; animation: fade .2s; }
.modal { background: var(--bg); border-radius: var(--r-xl); width: 100%; max-width: 540px; box-shadow: var(--shadow-pop); overflow: hidden; animation: pop .26s cubic-bezier(.2,.9,.3,1.2); max-height: 92vh; display: flex; flex-direction: column; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { padding: 22px 24px 16px; display: flex; align-items: flex-start; gap: 14px; border-bottom: 1px solid var(--line); }
.modal-head .mh-ico { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 6px 16px rgba(108,77,246,.3); }
.modal-head h3 { font-size: 18px; }
.modal-head p { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.modal-body { padding: 20px 24px; overflow-y: auto; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; }

.ai-thinking { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--surface-2); border-radius: var(--r-md); font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.ai-dots { display: inline-flex; gap: 4px; }
.ai-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: bounce 1.2s infinite; }
.ai-dots span:nth-child(2) { animation-delay: .15s; }
.ai-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-6px); opacity: 1; } }
.ai-preview { font-size: 13px; line-height: 1.5; }
.ai-preview .apk { font-weight: 700; color: var(--primary-ink); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; margin: 14px 0 4px; }
.ai-preview .apv { color: var(--ink-soft); }

/* Offer cards (client side) */
.offer-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.offer-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.offer-card.is-package { border: 1.5px solid var(--primary); position: relative; }
.offer-card .oc-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.offer-card .oc-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 6px 0 8px; line-height: 1.2; }
.offer-card .oc-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.offer-card .oc-price { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-top: 14px; letter-spacing: -.01em; }
.offer-card .oc-price .cur { font-size: 13px; font-weight: 700; color: var(--muted); }
.offer-card .oc-price .from { font-size: 11.5px; font-weight: 600; color: var(--muted); display: block; }
.offer-card .oc-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.pkg-ribbon { position: absolute; top: 14px; right: 14px; background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill); text-transform: uppercase; letter-spacing: .04em; }

/* Auto-reply card */
.reply-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.reply-card .rc-bubble { background: var(--surface-2); border-radius: 14px; padding: 11px 14px; font-size: 13px; line-height: 1.45; position: relative; }
.reply-card .rc-bubble.public { border-bottom-left-radius: 4px; }
.reply-card .rc-bubble.private { background: var(--primary-soft); color: var(--primary-ink); border-bottom-right-radius: 4px; }
.reply-card .rc-lbl { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }

/* Connection banner */
.fb-banner { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(120deg, #1877F2, #0C5FD6); color: #fff; box-shadow: 0 10px 28px rgba(24,119,242,.3); }
.fb-banner .fbi { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.fb-banner h3 { font-size: 17px; color: #fff; }
.fb-banner p { font-size: 13px; opacity: .9; margin-top: 3px; }
.fb-banner .btn { background: #fff; color: #0C5FD6; }

/* Plan card (subscription) */
.plan-card { border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 20px; background: var(--surface); position: relative; }
.plan-card.current { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.plan-card .pc-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.plan-card .pc-price { font-family: var(--font-display); font-weight: 800; font-size: 28px; margin: 8px 0 2px; }
.plan-card .pc-price .per { font-size: 13px; color: var(--muted); font-weight: 600; }
.plan-card ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 9px; }
.plan-card li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-soft); }
.plan-card li .ck { color: var(--mint); flex: none; }

/* ---------- Service list (Pilotage Facebook) ---------- */
.svc-list { display: flex; flex-direction: column; gap: 12px; }
.svc-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 18px; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s;
}
.svc-row.is-on  { border-color: color-mix(in srgb, var(--primary) 38%, var(--line)); }
.svc-row.has-req { border-color: color-mix(in srgb, var(--sky,#1FA8FF) 35%, var(--line)); background: color-mix(in srgb, var(--sky,#1FA8FF) 4%, var(--surface)); }
.svc-row .svc-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.svc-row .svc-main { flex: 1; min-width: 0; }
.svc-row .svc-name { font-weight: 700; font-size: 14.5px; }
.svc-row .svc-short { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.svc-row .svc-price { font-family: var(--font-display); font-weight: 700; font-size: 15px; white-space: nowrap; text-align: right; }
.svc-row .svc-price span { display: block; font-family: var(--font-ui); font-size: 11px; font-weight: 600; color: var(--muted); }
.svc-row .svc-right { display: flex; align-items: center; gap: 12px; flex: none; }
.svc-row .svc-actions { display: flex; gap: 6px; }
.svc-lock { width: 36px; height: 26px; display: grid; place-items: center; color: var(--muted); background: var(--surface-2); border-radius: var(--r-pill); border: 1px solid var(--line); }

@media (max-width: 760px) {
  .svc-row { flex-wrap: wrap; }
  .svc-row .svc-price { order: 4; text-align: left; }
  .svc-row .svc-right { width: 100%; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 12px; }
}

/* Config link inside drawer */
.cfg-link { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: background .15s; }
.cfg-link:hover { background: var(--surface-2); }
.cfg-link .cl-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; flex: none; }

/* Lock / pending / confirm banners */
.lock-note { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 15px; line-height: 1.4; }
.pending-banner { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: #B5740A; background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); border-radius: var(--r-md); padding: 13px 15px; }
[data-theme="dark"] .pending-banner { color: var(--warn); }
.confirm-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink); background: var(--sky-soft); border: 1px solid color-mix(in srgb, var(--sky) 30%, transparent); border-radius: var(--r-md); padding: 13px 15px; line-height: 1.4; }
.confirm-banner b { font-weight: 800; }

/* Toasts */
.toast-wrap { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; background: var(--ink); color: #fff; border-radius: var(--r-pill); padding: 11px 18px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg); animation: rise .22s ease; }
.toast.ok { background: var(--mint); }
.toast.warn { background: #B5740A; }
.toast.info { background: var(--sky); }

/* ---------- Editorial calendar ---------- */
.premium-tag { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-ui); font-size: 11px; font-weight: 800; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: var(--r-pill); background: linear-gradient(120deg, var(--primary), var(--pink)); color: #fff; letter-spacing: .02em; }
.cal { display: flex; flex-direction: column; gap: 12px; }
/* Config bar (au-dessus du calendrier) */
.cal-config { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.cal-config-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cal-week-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-week-label { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.cal-date { font-size: 12px; font-weight: 700; color: var(--muted); }
/* Barre de génération */
.cal-gen-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; border-top: 1px dashed var(--line-soft); }
/* Aperçu d'un post généré, dans le créneau */
.cal-post { flex: 1 1 100%; display: flex; gap: 12px; margin-top: 8px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.cal-post-img { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.cal-post-body { flex: 1; min-width: 0; }
.cal-post-head { margin-bottom: 4px; }
.cal-post-hook { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.cal-post-text { font-size: 12px; color: var(--ink-soft); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal-post-actions { display: flex; gap: 8px; margin-top: 8px; }
.cal-regen-empty { flex: 1 1 100%; margin-top: 6px; justify-content: center; }
.lbl { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 4px; }
.cal-day { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); overflow: hidden; }
.cal-day-h { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.cal-dn { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.cal-count { font-size: 11px; font-weight: 800; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; }
.cal-empty { padding: 12px 14px; font-size: 12.5px; color: var(--muted); font-style: italic; }
.cal-slot { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.cal-slot:first-of-type { border-top: none; }
.cal-slot-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.cal-hour { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 6px 10px; color: var(--ink-soft); font-weight: 700; font-size: 13px; }
.cal-hour input, .cal-hour select { border: none; outline: none; background: none; font-family: inherit; font-weight: 700; font-size: 13px; color: var(--ink); }
.cal-hour select { cursor: pointer; padding-right: 2px; }
.seg.cal-seg { background: var(--surface); }
.seg.cal-seg button { padding: 6px 11px; font-size: 12px; }
.cal-topic { flex: 1; min-width: 160px; padding: 8px 12px; font-size: 13px; }
.cal-aitag { flex: 1; min-width: 160px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--primary-ink); background: var(--primary-soft); border-radius: var(--r-sm); padding: 8px 12px; }
[data-theme="dark"] .cal-aitag { color: #C9BCFF; }
.cal-del { width: 32px; height: 32px; flex: none; }

/* Locked premium calendar */
.cal-locked { position: relative; border: 1px dashed var(--line); border-radius: var(--r-lg); overflow: hidden; min-height: 320px; }
.cal-locked-preview { padding: 14px; display: flex; flex-direction: column; gap: 12px; filter: blur(3px); opacity: .55; pointer-events: none; }
.cal-locked-preview .cal-slot.ghost { height: 50px; }
.cal-locked-preview .cal-slot.ghost .cal-slot-ico { background: var(--line); }
.cal-locked-card { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; background: color-mix(in srgb, var(--surface) 72%, transparent); backdrop-filter: blur(2px); }
.cal-locked-card .mh-ico { background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff; border-radius: 14px; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(108,77,246,.32); }

/* Bonus line in pack list */
.plan-card li.bonus-li { color: var(--primary-ink); font-weight: 700; }
.plan-card li.bonus-li .ico, .plan-card li.bonus-li svg { color: var(--primary); }
[data-theme="dark"] .plan-card li.bonus-li { color: #C9BCFF; }

/* Service phare banner (nod to real brand: black + green) */
.phare-banner { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r-lg); margin-bottom: var(--gap); background: #0c0c0d; color: #fff; box-shadow: var(--shadow-md); position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; border: 1px solid #1c1c1f; }
.phare-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.phare-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 20%, rgba(74,222,128,.22), transparent 55%); pointer-events: none; }
.phare-banner .phare-ico { width: 52px; height: 52px; border-radius: 14px; background: #4ade80; color: #06210f; display: grid; place-items: center; flex: none; box-shadow: 0 6px 18px rgba(74,222,128,.35); position: relative; z-index: 1; }
.phare-banner .phare-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #4ade80; }
.phare-banner h3 { font-size: 18px; color: #fff; margin-top: 3px; }
.phare-banner p { font-size: 13px; color: #b6b6bd; margin-top: 3px; line-height: 1.45; }
.phare-banner .phare-cta { display: inline-flex; align-items: center; gap: 7px; background: #4ade80; color: #06210f; font-weight: 800; font-size: 13px; padding: 10px 16px; border-radius: var(--r-pill); white-space: nowrap; flex: none; position: relative; z-index: 1; }
@media (max-width: 640px) { .phare-banner { flex-wrap: wrap; } .phare-banner .phare-cta { width: 100%; justify-content: center; } }

/* Free offer banner / pill */
.free-banner { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-lg); margin-bottom: var(--gap); color: #fff; background: linear-gradient(120deg, #12B886, #16A085 60%, #1FA8FF); box-shadow: 0 10px 28px rgba(18,184,134,.28); flex-wrap: wrap; }
.free-banner .fb-ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.free-banner h3 { color: #fff; }
.free-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--mint); background: var(--mint-soft); border-radius: var(--r-pill); padding: 8px 14px; margin-bottom: 18px; }

@media (max-width: 900px) {
  .auth-stage { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .save-bar { bottom: 80px; }
}
