/* Onglet « Guidance holistique » : en-tête céleste, profil de naissance, carte natale. Chargé après styles.css. */
.gd{ max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:20px; }
.gd-soft{ color:var(--muted); font-size:.95rem; line-height:1.6; }
.gd-hint{ color:var(--muted); font-size:.86rem; line-height:1.5; margin:-8px 0 14px; }
.gd-hint.ok{ color:var(--ok-text); font-weight:600; }
.gd-head{ margin-bottom:16px; }
.gd-head h2{ margin-bottom:2px; }
.gd-loading{ display:grid; place-items:center; padding:40px 0; }
.gd-loading .boot-loader{ min-height:0; }

/* ── En-tête céleste (sombre dans les deux thèmes) ─── */
.gd-hero{ position:relative; overflow:hidden; isolation:isolate; padding:40px 38px 36px; border-radius:32px; color:#f5ecd9;
  background:radial-gradient(120% 90% at 88% -10%,rgba(201,168,106,.38),transparent 55%),
    radial-gradient(90% 80% at -5% 110%,rgba(125,149,96,.38),transparent 60%),
    linear-gradient(150deg,#1d2b22 0%,#15231b 48%,#2b2517 100%);
  border:1px solid rgba(226,206,160,.2); box-shadow:var(--shadow-lg); }
.gd-hero::before{ content:""; position:absolute; z-index:-1; width:260px; height:260px; top:-90px; inset-inline-end:-60px; border-radius:50%;
  border:1.5px solid rgba(226,199,146,.35); box-shadow:inset 0 0 60px rgba(226,199,146,.12), 0 0 80px rgba(226,199,146,.12); }
.gd-hero::after{ content:""; position:absolute; z-index:-1; width:150px; height:150px; top:-25px; inset-inline-end:5px; border-radius:50%;
  background:radial-gradient(circle at 35% 35%,rgba(255,240,205,.5),rgba(226,199,146,.12) 60%,transparent 70%); filter:blur(2px); }
.gd-hero .kicker{ color:#e8cf9c; padding:6px 14px; border-radius:999px; background:rgba(226,199,146,.12); border:1px solid rgba(226,199,146,.32); }
.gd-hero h1{ font-family:var(--serif); font-weight:500; font-size:clamp(1.9rem,4.4vw,2.8rem); line-height:1.15; color:#f4e4c1; margin:14px 0 10px; max-width:15em; }
.gd-hero p{ color:rgba(245,236,217,.84); max-width:36em; font-size:1.04rem; line-height:1.75; }
.gd-sky{ position:absolute; inset:0; z-index:-1; pointer-events:none; }
.gd-sky i{ position:absolute; width:3px; height:3px; border-radius:50%; background:#fff6dc; box-shadow:0 0 8px 2px rgba(255,236,190,.55);
  animation:gdTwinkle 4.5s ease-in-out infinite; }
.gd-sky .st0{ top:18%; inset-inline-end:38%; }
.gd-sky .st1{ top:62%; inset-inline-end:12%; animation-delay:-1.2s; }
.gd-sky .st2{ top:30%; inset-inline-end:22%; width:2px; height:2px; animation-delay:-2.1s; }
.gd-sky .st3{ top:80%; inset-inline-end:44%; width:2px; height:2px; animation-delay:-3s; }
.gd-sky .st4{ top:12%; inset-inline-start:8%; animation-delay:-.6s; }
.gd-sky .st5{ top:48%; inset-inline-end:30%; width:2px; height:2px; animation-delay:-1.7s; }
.gd-sky .st6{ top:86%; inset-inline-start:16%; width:2px; height:2px; animation-delay:-2.6s; }
@keyframes gdTwinkle{ 0%,100%{ opacity:.25; transform:scale(.8); } 50%{ opacity:1; transform:scale(1.25); } }

/* ── Formulaire de naissance ────────────────────────── */
.gd-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.gd-row .field{ margin-bottom:12px; }
.field input[type="date"], .field input[type="time"]{ min-height:52px; text-align:start; }
[dir="rtl"] .field input[type="date"], [dir="rtl"] .field input[type="time"]{ text-align:right; }
.gd-place{ position:relative; }
.gd-ac{ position:relative; }
.gd-ac-list{ position:absolute; z-index:15; top:calc(100% + 6px); inset-inline:0; max-height:300px; overflow-y:auto; padding:6px;
  border-radius:16px; background:var(--glass-strong); border:1px solid var(--glass-brd); box-shadow:var(--shadow-lg);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
[data-theme="dark"] .gd-ac-list{ background:#15241c; }
.gd-ac-list li{ display:flex; flex-direction:column; gap:1px; padding:10px 14px; border-radius:12px; cursor:pointer; }
.gd-ac-list li:hover, .gd-ac-list li.on{ background:var(--soft-2); }
.gd-ac-list li b{ font-weight:700; }
.gd-ac-list li small{ color:var(--muted); font-size:.84rem; }
.gd-ac-list .gd-ac-empty{ color:var(--muted); cursor:default; font-size:.92rem; }
.gd-ac-list .gd-ac-empty:hover{ background:none; }
.gd-gender{ display:flex; width:max-content; max-width:100%; }
.gd-note{ margin:6px 0 0; font-size:.88rem; }
.gd-birth .stack{ margin-top:16px; }

/* ── Carte natale ───────────────────────────────────── */
.gd-wait{ display:flex; align-items:center; gap:16px; color:var(--muted); padding:6px 0; }
.gd-orbit{ position:relative; width:46px; height:46px; flex:none; border-radius:50%; border:1.5px solid var(--soft-2); animation:spin 2.4s linear infinite; }
.gd-orbit i{ position:absolute; top:-4px; left:50%; width:8px; height:8px; margin-left:-4px; border-radius:50%; background:var(--gold); box-shadow:0 0 10px var(--gold-2); }
.gd-orbit::after{ content:""; position:absolute; inset:14px; border-radius:50%; background:radial-gradient(circle,var(--gold-2),transparent 70%); opacity:.5; }
.gd-cells{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.gd-cell{ display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:16px; border-radius:20px; background:var(--soft); border:1px solid var(--line);
  animation:rise .6s var(--ease) both; }
.gd-cell.c1{ animation-delay:.05s; } .gd-cell.c2{ animation-delay:.1s; } .gd-cell.c3{ animation-delay:.15s; } .gd-cell.c4{ animation-delay:.2s; } .gd-cell.c5{ animation-delay:.25s; }
.gd-cell small{ color:var(--muted); font-size:.82rem; font-weight:600; margin-top:8px; }
.gd-cell b{ font-family:var(--serif); font-weight:500; font-size:1.2rem; color:var(--heading); line-height:1.3; }
.gd-ic{ width:38px; height:38px; border-radius:50%; display:grid; place-items:center; color:#fff; flex:none;
  background:linear-gradient(140deg,var(--sage-2),var(--forest)); box-shadow:0 10px 20px -12px rgba(63,90,58,.9); }
.gd-cell.c3 .gd-ic, .gd-cell.c4 .gd-ic, .gd-cell.c5 .gd-ic{ background:linear-gradient(140deg,var(--gold-2),var(--gold)); box-shadow:0 10px 20px -12px rgba(176,137,79,.9); }
[data-theme="dark"] .gd-ic{ color:#1c150c; background:linear-gradient(140deg,#d8bd86,#b0894f); }
[data-theme="dark"] .gd-cell.c3 .gd-ic, [data-theme="dark"] .gd-cell.c4 .gd-ic, [data-theme="dark"] .gd-cell.c5 .gd-ic{ background:linear-gradient(140deg,#c2d3a6,#7d9560); }
.gd-ic svg{ width:20px; height:20px; }

/* ── Profil + bientôt ───────────────────────────────── */
.gd-edit-row{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:18px; }
.gd-soon{ display:flex; align-items:center; gap:16px; }
.gd-soon p{ color:var(--text); }

@media (max-width:760px){
  /* 4 onglets : un libellé long (« Holistic Guidance ») passe sur deux lignes, centré. */
  .tabbar a{ min-width:0; padding:0 2px; }
  .tabbar a svg{ flex:none; }
  .tabbar a span{ display:block; max-width:100%; text-align:center; line-height:1.12; font-size:.7rem; overflow-wrap:anywhere; }
  .gd{ gap:16px; }
  .gd-hero{ padding:30px 22px 26px; border-radius:28px; }
  .gd-hero::before{ width:180px; height:180px; top:-70px; inset-inline-end:-50px; }
  .gd-hero::after{ width:100px; height:100px; top:-20px; inset-inline-end:-6px; }
  .gd-cells{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .gd-cell{ padding:14px 12px; }
  .gd-cell b{ font-size:1.08rem; }
}
@media (max-width:420px){
  .gd-row{ grid-template-columns:1fr; gap:0; }
  .gd-gender{ width:100%; }
  .gd-gender button{ flex:1; padding:0 8px; }
}
