/* ============================================================
   SERENASANTE — GLOBAL
   ============================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:'DM Sans',sans-serif;background:#FAF7F2;color:#1A2E0A;overflow-x:hidden;font-size:16px;line-height:1.6}
h1,h2,h3,h4{font-family:'Cormorant Garamond',serif;line-height:1.2}
button{font-family:'DM Sans',sans-serif}
input,select,textarea{font-family:'DM Sans',sans-serif;font-size:15px}
.page{display:none}
.page.active{display:block}

/* NAV */
.nav{position:fixed;top:0;left:0;right:0;z-index:200;background:rgba(250,247,242,.96);backdrop-filter:blur(12px);border-bottom:1px solid #E2DDD5;padding:0 40px;height:72px;display:flex;align-items:center;justify-content:space-between}
.logo{font-family:'Cormorant Garamond',serif;font-size:24px;font-weight:600;color:#2D5016;cursor:pointer;border:none;background:none}
.logo span{color:#C4956A}
.nl{display:flex;gap:18px;align-items:center}
.nb{background:none;border:none;font-size:14px;font-weight:500;color:#6E6E5E;cursor:pointer;transition:color .2s;padding:4px 0}
.nb:hover,.nb.on{color:#2D5016}
.nurge{background:#C0392B;color:#fff;border:none;border-radius:30px;padding:9px 18px;font-size:13px;font-weight:600;cursor:pointer;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(192,57,43,.4)}50%{box-shadow:0 0 0 8px rgba(192,57,43,0)}}
.ncta{background:#2D5016;color:#fff;border:none;border-radius:30px;padding:11px 24px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}
.ncta:hover{background:#3D6B20}
/* « Connexion » en bouton secondaire : visible pour les utilisateurs existants */
#nav-login{border:1.5px solid #2D5016;color:#2D5016;border-radius:30px;padding:9px 20px;background:transparent}
#nav-login:hover{background:#2D5016;color:#fff}
body.dark #nav-login{border-color:#A8C48A;color:#A8C48A}
body.dark #nav-login:hover{background:#A8C48A;color:#0F1A09}
/* Accessibilité : focus clavier visible + mouvement réduit */
:focus-visible{outline:3px solid #C4956A;outline-offset:2px;border-radius:4px}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
.nav-bell{position:relative;background:none;border:none;cursor:pointer;font-size:20px;padding:6px}
.nav-bell-badge{position:absolute;top:2px;right:2px;width:10px;height:10px;background:#C0392B;border-radius:50%;border:2px solid #FAF7F2}

/* HAMBURGER */
.hamburger{display:none;flex-direction:column;gap:6px;background:none;border:none;cursor:pointer;padding:6px;z-index:300}
.hamburger span{display:block;width:26px;height:2px;background:#2D5016;border-radius:2px;transition:all .3s}
.hamburger.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* MOBILE MENU */
.mobile-menu{display:none;position:fixed;top:72px;left:0;right:0;bottom:0;background:rgba(250,247,242,.98);backdrop-filter:blur(16px);z-index:150;flex-direction:column;padding:32px 24px;gap:6px;overflow-y:auto}
.mobile-menu.open{display:flex}
.mob-nb{background:none;border:none;font-size:20px;font-weight:400;color:#1A2E0A;cursor:pointer;padding:16px 0;border-bottom:1px solid #E2DDD5;text-align:left;font-family:'DM Sans',sans-serif;width:100%}
.mob-nb:last-child{border-bottom:none}
.mob-nurge{background:rgba(192,57,43,.08);color:#C0392B;border:1.5px solid rgba(192,57,43,.2);border-radius:14px;padding:16px 20px;font-size:18px;font-weight:600;cursor:pointer;font-family:'DM Sans',sans-serif;width:100%;text-align:left;margin-top:12px}
.mob-ncta{background:#2D5016;color:#fff;border:none;border-radius:14px;padding:16px 20px;font-size:18px;font-weight:500;cursor:pointer;font-family:'DM Sans',sans-serif;width:100%;text-align:left;margin-top:6px}

/* BUTTONS */
.btn{background:#2D5016;color:#fff;border:none;border-radius:30px;padding:14px 30px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s;display:inline-block}
.btn:hover{background:#3D6B20;transform:translateY(-2px);box-shadow:0 8px 24px rgba(45,80,22,.25)}
.btn2{background:transparent;color:#2D5016;border:1.5px solid #2D5016;border-radius:30px;padding:13px 26px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s}
.btn2:hover{background:#2D5016;color:#fff}
.btnsm{background:#2D5016;color:#fff;border:none;border-radius:10px;padding:9px 18px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}
.btnsm:hover{background:#3D6B20}
.btnred{background:rgba(192,57,43,.1);color:#C0392B;border:1.5px solid rgba(192,57,43,.3);border-radius:12px;padding:12px;font-size:14px;font-weight:600;cursor:pointer;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .2s}
.btnred.on,.btnred:hover{background:#C0392B;color:#fff;border-color:#C0392B}

/* HOME HERO */
.hero{min-height:auto;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;padding:84px 80px;gap:48px;background:#FAF7F2;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-200px;right:-200px;width:600px;height:600px;background:radial-gradient(circle,rgba(122,158,90,.1),transparent 70%);border-radius:50%;pointer-events:none}
.htag{display:inline-flex;align-items:center;gap:8px;background:rgba(122,158,90,.12);border:1px solid rgba(122,158,90,.3);color:#2D5016;border-radius:30px;padding:7px 18px;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;margin-bottom:24px}
.htitle{font-size:clamp(44px,5vw,72px);font-weight:300;line-height:1.08;color:#1A2E0A;margin-bottom:24px}
.htitle em{font-style:italic;color:#2D5016}
.hsub{font-size:17px;line-height:1.75;color:#6E6E5E;max-width:440px;margin-bottom:40px;font-weight:300}
.hact{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.hstats{display:flex;gap:32px;margin-top:52px;padding-top:32px;border-top:1px solid #E2DDD5}
.snum{font-family:'Cormorant Garamond',serif;font-size:40px;font-weight:600;color:#2D5016}
.slbl{font-size:13px;color:#6E6E5E;letter-spacing:.04em}

/* HERO VISUAL */
.hvis{display:flex;justify-content:center;align-items:center;position:relative}
.hstack{position:relative;width:440px;height:480px}
/* Panneau de fond doux : remplit la moitié droite et donne du contexte aux cartes flottantes */
.hstack::before{content:'';position:absolute;inset:24px 8px;background:linear-gradient(155deg,rgba(45,80,22,.12),rgba(122,158,90,.04) 70%);border-radius:36px;box-shadow:0 30px 80px rgba(45,80,22,.10)}
.fc{position:absolute;background:#fff;border-radius:20px;padding:20px;box-shadow:0 8px 40px rgba(0,0,0,.08);border:1px solid #E2DDD5;z-index:1}
.fc1{width:320px;top:56px;left:0;animation:f1 4s ease-in-out infinite}
.fc2{width:185px;bottom:54px;right:6px;animation:f2 3.5s ease-in-out infinite .5s}
.fc3{width:170px;top:18px;right:10px;animation:f3 4.5s ease-in-out infinite 1s}
@keyframes f1{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes f2{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes f3{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
.av{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:600;background:linear-gradient(135deg,#7A9E5A,#2D5016);color:#fff;flex-shrink:0}
.stars{color:#F5C518;font-size:14px}
.sptag{display:inline-block;background:rgba(122,158,90,.1);color:#5A7E42;border-radius:20px;padding:3px 12px;font-size:12px;font-weight:500}
.dot{width:9px;height:9px;border-radius:50%;display:inline-block}

/* URGENCE BANNER */
.urge-banner{background:linear-gradient(135deg,#C0392B,#E74C3C);border-radius:16px;padding:20px 28px;color:#fff;display:flex;align-items:center;gap:18px;margin:84px 80px 0}

/* SECTIONS */
section{padding:88px 80px}
.stag{display:inline-block;color:#C4956A;font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;margin-bottom:16px}
.stitle{font-size:clamp(34px,4vw,54px);font-weight:300;line-height:1.15;color:#1A2E0A}
.stitle em{font-style:italic;color:#2D5016}
.ssub{font-size:16px;color:#6E6E5E;line-height:1.75;max-width:480px;font-weight:300;margin-top:16px}
.sphdr{margin-bottom:56px}

/* SPECIALTIES */
.spgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.spcard{background:#fff;border-radius:16px;padding:24px 20px;border:1px solid #E2DDD5;cursor:pointer;transition:all .25s;display:flex;flex-direction:column;gap:10px}
.spcard:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.08);border-color:#A8C48A}
.spcard h4{font-family:'DM Sans',sans-serif;font-size:15px;font-weight:500;color:#1A2E0A}
.spcard p{font-size:13px;color:#6E6E5E}

/* FEATURES */
.fgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.fcard{background:#fff;border-radius:20px;padding:32px;border:1px solid #E2DDD5;transition:all .25s;position:relative;overflow:hidden}
.fcard::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#7A9E5A,#C4956A);opacity:0;transition:opacity .3s}
.fcard:hover::before{opacity:1}
.fcard:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(0,0,0,.08)}
.fcard h3{font-family:'Cormorant Garamond',serif;font-size:22px;font-weight:400;color:#1A2E0A;margin-bottom:10px}
.fcard p{font-size:15px;color:#6E6E5E;line-height:1.75}
.fbadge{display:inline-block;background:rgba(196,149,106,.12);color:#C4956A;border-radius:20px;padding:4px 12px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;margin-top:16px}

/* AI SECTION */
.aims{background:linear-gradient(135deg,#1A2E0A,#2D5016);color:#fff}
.aims .stitle{color:#fff}
.aims .ssub{color:rgba(255,255,255,.65)}
.quiz{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:24px;padding:32px}
.quiz h3{font-family:'DM Sans',sans-serif;font-size:17px;font-weight:500;color:#fff;margin-bottom:16px}
.qgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.qopt{background:rgba(255,255,255,.08);border:1.5px solid rgba(255,255,255,.15);border-radius:12px;padding:13px 16px;cursor:pointer;font-size:14px;color:rgba(255,255,255,.85);transition:all .2s;text-align:left}
.qopt:hover,.qopt.on{background:rgba(122,158,90,.3);border-color:#5A7E42;color:#fff}

/* PAGE HEADERS */
.phdr{background:linear-gradient(135deg,#2D5016,#3D6B20);padding:56px 80px;color:#fff}
.ptit{font-size:48px;font-weight:300;color:#fff;margin-bottom:10px}
.psub{color:rgba(255,255,255,.75);font-size:16px}
.sbar{display:flex;gap:10px;margin-top:28px;flex-wrap:wrap}
.sinp{flex:1;min-width:200px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);border-radius:30px;padding:13px 20px;color:#fff;font-size:15px;outline:none;transition:all .2s}
.sinp::placeholder{color:rgba(255,255,255,.55)}
.sinp:focus{background:rgba(255,255,255,.22);border-color:rgba(255,255,255,.5)}
.ssel{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);border-radius:30px;padding:13px 20px;color:#fff;font-size:15px;outline:none;cursor:pointer}
.ssel option{color:#1A2E0A;background:#fff}
.sbtn{background:#C4956A;color:#fff;border:none;border-radius:30px;padding:13px 28px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s}
.sbtn:hover{background:#b8855a}

/* THERAPISTS */
.tcontent{padding:40px 80px}
.fbar{display:flex;gap:8px;margin-bottom:28px;flex-wrap:wrap}
.fb{background:#fff;border:1.5px solid #E2DDD5;border-radius:30px;padding:9px 18px;font-size:14px;font-weight:500;color:#6E6E5E;cursor:pointer;transition:all .2s}
.fb.on,.fb:hover{background:#2D5016;border-color:#2D5016;color:#fff}
.tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px}
.tcard{background:#fff;border-radius:20px;overflow:hidden;border:1px solid #E2DDD5;transition:all .25s;cursor:pointer}
.tcard:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(0,0,0,.1)}
.tchdr{background:linear-gradient(135deg,rgba(122,158,90,.15),rgba(196,149,106,.1));padding:24px;display:flex;gap:16px;align-items:flex-start}
.tav{width:64px;height:64px;border-radius:50%;background:#2D5016;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:600;flex-shrink:0;border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.tn h3{font-family:'Cormorant Garamond',serif;font-size:21px;font-weight:400;color:#1A2E0A}
.trole{font-size:13px;color:#5A7E42;font-weight:500;margin:3px 0;letter-spacing:.04em}
.vbdg{display:inline-flex;align-items:center;gap:3px;background:rgba(45,80,22,.1);color:#2D5016;border-radius:20px;padding:3px 10px;font-size:12px;font-weight:500;margin-top:4px}
.tbody{padding:20px 24px}
.ttags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}
.ttag{background:#F0EBE1;color:#6E6E5E;border-radius:20px;padding:4px 12px;font-size:12px}
.bbtn{background:#2D5016;color:#fff;border:none;border-radius:20px;padding:11px 20px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;margin-top:12px;width:100%}
.bbtn:hover{background:#3D6B20}
.tfoot{padding:16px 24px;border-top:1px solid #E2DDD5;display:flex;justify-content:space-between;align-items:center}
.price{font-family:'Cormorant Garamond',serif;font-size:26px;font-weight:600;color:#2D5016}
.no-results{text-align:center;padding:60px 20px;color:#6E6E5E;font-size:16px}

/* PROFILE */
.playout{display:grid;grid-template-columns:1fr 360px;gap:32px;padding:32px 80px 80px}
.pban{height:170px;background:linear-gradient(135deg,#2D5016,#7A9E5A);position:relative}
.pav-lg{width:90px;height:90px;border-radius:50%;background:rgba(255,255,255,.2);border:4px solid #fff;box-shadow:0 8px 24px rgba(0,0,0,.2);display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:600;color:#fff;position:absolute;bottom:-45px;left:32px}
.pbody{padding:56px 32px 32px}
.pbody h1{font-size:38px;font-weight:300;color:#1A2E0A}
.prole{color:#5A7E42;font-size:15px;font-weight:500;margin:6px 0 16px;letter-spacing:.04em}
.pbdgs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.pbdg{display:inline-flex;align-items:center;gap:5px;background:#F0EBE1;border-radius:20px;padding:6px 14px;font-size:13px;font-weight:500;color:#1A2E0A}
.pbio{font-size:15px;color:#6E6E5E;line-height:1.85;font-weight:300}
.pcard{background:#fff;border-radius:20px;padding:28px;border:1px solid #E2DDD5;margin-bottom:22px}
.pstit{font-family:'Cormorant Garamond',serif;font-size:24px;font-weight:400;color:#1A2E0A;margin-bottom:16px}

/* BOOKING */
.bcard{background:#fff;border-radius:24px;padding:28px;border:1px solid #E2DDD5;position:sticky;top:92px}
.bcard h3{font-family:'Cormorant Garamond',serif;font-size:23px;font-weight:400;color:#1A2E0A;margin-bottom:20px}
.slots{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 22px}
.slot{background:#F0EBE1;border:1.5px solid #E2DDD5;border-radius:10px;padding:11px;text-align:center;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;color:#1A2E0A}
.slot:hover,.slot.on{background:#2D5016;color:#fff;border-color:#2D5016}
.slot.off{opacity:.35;cursor:not-allowed}
.stype-row{display:flex;gap:8px;margin-bottom:22px}
.sopt{flex:1;background:#F0EBE1;border:1.5px solid #E2DDD5;border-radius:12px;padding:12px;text-align:center;cursor:pointer;transition:all .2s}
.sopt.on{background:rgba(45,80,22,.08);border-color:#2D5016}
.sopt .si{font-size:22px;margin-bottom:5px}
.sopt .sl{font-size:12px;font-weight:500;color:#1A2E0A}
.pbrk{background:#F0EBE1;border-radius:12px;padding:16px;margin-bottom:20px}
.prow{display:flex;justify-content:space-between;font-size:14px;margin-bottom:6px;color:#6E6E5E}
.prow.tot{font-weight:600;color:#1A2E0A;font-size:16px;border-top:1px solid #E2DDD5;padding-top:9px;margin-top:5px}

/* MINI CALENDAR */
.mcal-hdr{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.mcal-nav{background:none;border:none;cursor:pointer;font-size:20px;color:#6E6E5E;padding:3px 10px;transition:color .2s}
.mcal-nav:hover{color:#2D5016}
.mcal-title{font-weight:600;font-size:14px;color:#1A2E0A}
.mcg{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.mcdl{text-align:center;font-size:11px;color:#6E6E5E;padding:5px 0;font-weight:600}
.mcd{text-align:center;padding:8px 2px;font-size:13px;border-radius:8px;cursor:pointer;transition:all .2s;color:#1A2E0A;background:none;border:none;width:100%}
.mcd:hover{background:rgba(122,158,90,.15)}
.mcd.sel{background:#2D5016;color:#fff}
.mcd.tod{font-weight:700;color:#2D5016}

/* DASHBOARD */
.dash{display:flex;min-height:100vh;padding-top:72px}
.dsbar{width:256px;background:#1A2E0A;position:fixed;left:0;top:72px;bottom:0;overflow-y:auto;padding:22px 0;display:flex;flex-direction:column}
.dsu{padding:0 20px 22px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:14px}
.dsav{width:50px;height:50px;border-radius:50%;background:#7A9E5A;color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:600;margin-bottom:10px}
.dsn{font-size:15px;font-weight:600;color:#fff}
.dsr{font-size:12px;color:rgba(255,255,255,.62);margin-top:2px}
.dsclock{font-size:22px;font-weight:300;color:#7A9E5A;margin-top:10px;font-family:'Cormorant Garamond',serif}
.dsit{display:flex;align-items:center;gap:12px;padding:12px 20px;cursor:pointer;color:rgba(255,255,255,.55);font-size:14px;font-weight:500;transition:all .2s;border-left:3px solid transparent;background:none;border-right:none;border-top:none;border-bottom:none;width:100%;text-align:left}
.dsit:hover{color:#fff;background:rgba(255,255,255,.06)}
.dsit.on{color:#fff;background:rgba(122,158,90,.15);border-left-color:#5A7E42}
.dsit-icon{font-size:17px;width:20px;text-align:center}
.dsbdg{margin-left:auto;background:#C4956A;color:#fff;border-radius:10px;padding:2px 8px;font-size:11px;font-weight:600}
.dcont{margin-left:256px;flex:1;padding:32px 40px}
.dtit{font-size:34px;font-weight:300;color:#1A2E0A;margin-bottom:4px;font-family:'Cormorant Garamond',serif}
.dsub{font-size:15px;color:#6E6E5E;margin-bottom:32px}

/* STAT CARDS */
.srow{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:28px}
.sc{background:#fff;border-radius:18px;padding:24px;border:1px solid #E2DDD5;transition:all .2s}
.sc:hover{box-shadow:0 6px 24px rgba(0,0,0,.07)}
.scl{font-size:12px;color:#6E6E5E;font-weight:600;letter-spacing:.05em;text-transform:uppercase;margin-bottom:8px}
.scn{font-family:'Cormorant Garamond',serif;font-size:40px;font-weight:600;color:#2D5016;line-height:1}
.scc{font-size:12px;margin-top:6px;color:#5A7E42}
.dgrid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.dcard{background:#fff;border-radius:18px;padding:26px;border:1px solid #E2DDD5}
.dctit{font-size:16px;font-weight:600;color:#1A2E0A;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between}
.dca{font-size:13px;color:#5A7E42;cursor:pointer;font-weight:500}
.dca:hover{color:#2D5016}

/* AGENDA */
.wgrid{display:grid;grid-template-columns:48px repeat(7,1fr);gap:1px;background:#E2DDD5;border-radius:10px;overflow:hidden}
.whc{background:#F0EBE1;padding:10px 5px;text-align:center;font-size:12px;font-weight:600;color:#6E6E5E;letter-spacing:.04em}
.whc.tdc{color:#2D5016;font-weight:700}
.wtc{background:#FAF7F2;padding:8px 6px;font-size:11px;color:#6E6E5E;text-align:right}
.wsc{background:#fff;min-height:52px;position:relative;padding:2px;cursor:pointer;transition:background .15s}
.wsc:hover{background:rgba(122,158,90,.06)}
.ab{border-radius:5px;padding:4px 6px;font-size:11px;font-weight:600;position:absolute;left:2px;right:2px;top:2px;line-height:1.3;overflow:hidden}
.ahyp{background:rgba(122,158,90,.2);color:#2D5016;border-left:3px solid #7A9E5A}
.asop{background:rgba(196,149,106,.2);color:#8a5a2a;border-left:3px solid #C4956A}
.apsy{background:rgba(41,128,185,.15);color:#1a5276;border-left:3px solid #2980B9}
.aurge{background:rgba(192,57,43,.15);color:#C0392B;border-left:3px solid #C0392B}

/* DOSSIERS */
.dview{display:grid;grid-template-columns:280px 1fr;background:#fff;border-radius:18px;border:1px solid #E2DDD5;overflow:hidden;min-height:500px}
.dlist-col{border-right:1px solid #E2DDD5;padding:20px 16px;background:#FAFAF8}
.dlist-search{width:100%;border:1.5px solid #E2DDD5;border-radius:10px;padding:10px 14px;font-size:14px;font-family:'DM Sans',sans-serif;color:#1A2E0A;background:#fff;outline:none;margin-bottom:12px;transition:border-color .2s}
.dlist-search:focus{border-color:#5A7E42}
.dcnt2{padding:28px}
.clist{display:flex;flex-direction:column;gap:10px;margin-top:4px}
.cit{display:flex;align-items:center;gap:14px;padding:14px 16px;background:#fff;border-radius:12px;cursor:pointer;transition:all .2s;border:1.5px solid #E2DDD5}
.cit:hover,.cit.on{border-color:#5A7E42;box-shadow:0 4px 12px rgba(45,80,22,.1)}
.cav-sm{width:42px;height:42px;border-radius:50%;background:#7A9E5A;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0;font-weight:600}
.cit h4{font-size:14px;font-weight:600;color:#1A2E0A}
.cit p{font-size:12px;color:#6E6E5E;margin-top:2px}
.igrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}
.iit{background:#F0EBE1;border-radius:12px;padding:14px 16px}
.ilbl{font-size:11px;color:#6E6E5E;text-transform:uppercase;letter-spacing:.06em;font-weight:600;margin-bottom:4px}
.ival{font-size:16px;font-weight:600;color:#1A2E0A}
.note-entry{background:#F0EBE1;border-radius:12px;padding:16px;margin-bottom:12px;border-left:3px solid #7A9E5A}
.ndate{font-size:12px;color:#6E6E5E;margin-bottom:6px;font-weight:600}
.ntxt{font-size:14px;color:#1A2E0A;line-height:1.65}
.ni{width:100%;border:1.5px solid #E2DDD5;border-radius:12px;padding:14px 16px;font-size:15px;font-family:'DM Sans',sans-serif;color:#1A2E0A;background:#fff;resize:vertical;min-height:90px;outline:none;transition:border-color .2s}
.ni:focus{border-color:#5A7E42}
.anb{background:#2D5016;color:#fff;border:none;border-radius:10px;padding:11px 20px;font-size:14px;font-weight:500;cursor:pointer;margin-top:8px;transition:all .2s}
.anb:hover{background:#3D6B20}

/* VIDEO */
.vroom{background:#0d1117;border-radius:18px;overflow:hidden}
.vmain{width:100%;height:320px;background:#1a2332;display:flex;align-items:center;justify-content:center;position:relative}
.vself{position:absolute;bottom:16px;right:16px;width:120px;height:90px;background:#2d3748;border-radius:12px;border:2px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:28px;color:rgba(255,255,255,.5)}
.vname-badge{position:absolute;bottom:16px;left:16px;background:rgba(0,0,0,.65);color:#fff;border-radius:8px;padding:5px 12px;font-size:13px;font-weight:500}
.vctl{display:flex;gap:12px;justify-content:center;padding:18px;background:#0d1117;flex-wrap:wrap}
.vcb{width:48px;height:48px;border-radius:50%;border:none;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;transition:all .2s;font-family:'DM Sans',sans-serif}
.vcb.nm{background:rgba(255,255,255,.12);color:#fff}
.vcb.nm:hover{background:rgba(255,255,255,.22)}
.vcb.dg{background:#C0392B;color:#fff}
.vcb.pr{background:#7A9E5A;color:#fff}
.rbdg{position:absolute;top:14px;left:14px;background:rgba(192,57,43,.92);color:#fff;border-radius:20px;padding:5px 12px;font-size:12px;font-weight:600;display:flex;align-items:center;gap:6px;display:none}
.rbdg.show{display:flex}
.rdot{width:7px;height:7px;border-radius:50%;background:#fff;animation:blink 1s infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}
.aib{position:absolute;top:14px;right:14px;background:rgba(122,158,90,.92);color:#fff;border-radius:20px;padding:5px 12px;font-size:12px;font-weight:600}
.vtimer{position:absolute;top:14px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.65);color:#fff;border-radius:20px;padding:5px 16px;font-size:14px;font-weight:600;font-family:'Cormorant Garamond',serif}

/* WHITEBOARD */
.wb-toolbar{display:flex;gap:8px;margin-bottom:12px;align-items:center;flex-wrap:wrap;padding:12px 16px;background:#F0EBE1;border-radius:12px}
.wb-btn{background:#fff;border:1.5px solid #E2DDD5;border-radius:8px;padding:7px 14px;cursor:pointer;font-size:13px;font-weight:500;color:#1A2E0A;transition:all .2s}
.wb-btn:hover,.wb-btn.on{border-color:#5A7E42;color:#2D5016;background:#F0EBE1}
.wb-color{width:26px;height:26px;border-radius:50%;cursor:pointer;border:3px solid transparent;transition:all .15s;flex-shrink:0}
.wb-color.on{border-color:#1A2E0A;box-shadow:0 0 0 1px #fff inset}
#wb-canvas{background:#FAFAFA;border-radius:12px;cursor:crosshair;display:block;border:1px solid #E2DDD5;width:100%;touch-action:none}

/* FINANCES */
.fin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px}
.fin-card{background:#fff;border-radius:16px;padding:22px;border:1px solid #E2DDD5}
.fin-num{font-family:'Cormorant Garamond',serif;font-size:36px;font-weight:600;color:#2D5016;line-height:1}
.fin-lbl{font-size:12px;color:#6E6E5E;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}
.fin-change{font-size:12px;color:#5A7E42;margin-top:5px}
.inv-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #E2DDD5}
.inv-ok{background:rgba(122,158,90,.12);color:#2D5016}
.inv-wait{background:rgba(243,156,18,.12);color:#E67E22}
.inv-late{background:rgba(192,57,43,.12);color:#C0392B}
.inv-status{border-radius:20px;padding:4px 12px;font-size:12px;font-weight:600}

/* CONFRERES */
.conf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}
.conf-card{background:#fff;border-radius:18px;padding:22px;border:1px solid #E2DDD5;transition:all .25s}
.conf-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,.08)}
.conf-av{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;font-weight:600;margin-bottom:14px}
.conf-card h4{font-size:15px;font-weight:600;color:#1A2E0A;margin-bottom:3px}

/* GROUPES */
.grp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px}
.grp-card{background:#fff;border-radius:18px;padding:24px;border:1px solid #E2DDD5;transition:all .25s}
.grp-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,.08)}
.grp-card h3{font-family:'Cormorant Garamond',serif;font-size:21px;font-weight:400;color:#1A2E0A;margin-bottom:8px;line-height:1.3}
.grp-bar{height:7px;background:#F0EBE1;border-radius:7px;overflow:hidden;margin:12px 0}
.grp-fill{height:100%;border-radius:7px}

/* PATIENT SPACE */
.xp-banner{background:linear-gradient(135deg,#1A2E0A,#2D5016);padding:56px 80px;color:#fff}
.xp-banner h1{font-size:48px;font-weight:300;color:#fff;margin-bottom:8px}
.xp-banner p{font-size:16px;color:rgba(255,255,255,.75)}
.xp-badge{display:inline-flex;align-items:center;gap:7px;background:linear-gradient(135deg,#F39C12,#E67E22);color:#fff;border-radius:20px;padding:6px 16px;font-size:13px;font-weight:600}
.streak{display:flex;align-items:center;gap:7px;background:#FFF3E0;border:1.5px solid #FFB74D;border-radius:12px;padding:9px 16px;font-size:14px;font-weight:600;color:#E65100}
.ptab-bar{display:flex;gap:4px;background:#F0EBE1;border-radius:30px;padding:4px;margin-bottom:32px;width:fit-content}
.ptab{background:none;border:none;border-radius:26px;padding:11px 24px;font-size:14px;font-weight:500;cursor:pointer;color:#6E6E5E;transition:all .2s}
.ptab.on{background:#fff;color:#2D5016;box-shadow:0 2px 10px rgba(0,0,0,.1)}
.mood-row{display:flex;gap:10px;margin:12px 0}
.mood-opt{flex:1;background:#F0EBE1;border:2px solid transparent;border-radius:14px;padding:14px;text-align:center;cursor:pointer;transition:all .2s}
.mood-opt.on{border-color:#5A7E42;background:rgba(122,158,90,.08)}
.mood-opt .me{font-size:30px;display:block;margin-bottom:5px}
.mood-opt .ml{font-size:12px;font-weight:500;color:#6E6E5E}
.jentry{background:#fff;border-radius:14px;padding:18px;margin-bottom:12px;border:1px solid #E2DDD5;border-left:3px solid #7A9E5A}
.jmetric{background:#F0EBE1;border-radius:10px;padding:8px 12px;text-align:center;flex:1}
.jmetric .jlbl{font-size:11px;color:#6E6E5E;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.jmetric .jval{font-family:'Cormorant Garamond',serif;font-size:22px;font-weight:600;color:#2D5016}

/* EXERCISES */
.exo-card{background:#fff;border-radius:18px;padding:24px;border:1.5px solid #E2DDD5;transition:all .25s;position:relative;overflow:hidden}
.exo-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#7A9E5A,#2D5016);opacity:0;transition:opacity .2s}
.exo-card:hover::before,.exo-card.done::before{opacity:1}
.exo-card:hover{border-color:#A8C48A;box-shadow:0 8px 24px rgba(45,80,22,.08)}
.exo-card.done{border-color:#5A7E42;background:rgba(122,158,90,.02)}
.cat-badge{display:inline-block;border-radius:20px;padding:4px 12px;font-size:12px;font-weight:600;margin-bottom:12px}
.cbg{background:rgba(122,158,90,.12);color:#2D5016}
.cbo{background:rgba(243,156,18,.12);color:#E67E22}
.cbb{background:rgba(41,128,185,.12);color:#2980B9}
.cbp{background:rgba(155,89,182,.12);color:#8E44AD}
.exo-card h4{font-size:17px;font-weight:600;color:#1A2E0A;margin-bottom:4px}
.exo-card .exo-meta{font-size:13px;color:#6E6E5E;margin-bottom:12px}
.exo-card .exo-desc{font-size:14px;color:#6E6E5E;line-height:1.7;margin-bottom:18px}
.exo-timer{text-align:center;padding:16px;background:linear-gradient(135deg,rgba(45,80,22,.06),rgba(122,158,90,.06));border-radius:12px;margin-bottom:14px;display:none}
.exo-timer.active{display:block}
.exo-timer .et-num{font-family:'Cormorant Garamond',serif;font-size:52px;font-weight:600;color:#2D5016;line-height:1}
.exo-timer .et-lbl{font-size:13px;color:#6E6E5E;margin-top:4px}

/* PROGRESS */
.pbw{margin:9px 0}
.pbl{display:flex;justify-content:space-between;font-size:13px;color:#6E6E5E;margin-bottom:6px}
.pbar{height:6px;background:#F0EBE1;border-radius:6px;overflow:hidden}
.pfil{height:100%;background:linear-gradient(90deg,#7A9E5A,#2D5016);border-radius:6px;transition:width .6s ease}

/* MODALS */
.modal-overlay{position:fixed;inset:0;background:rgba(26,46,10,.45);z-index:500;display:flex;align-items:center;justify-content:center;padding:20px;animation:fadeIn .2s ease}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.modal{background:#fff;border-radius:24px;padding:36px;max-width:520px;width:100%;max-height:90vh;overflow-y:auto;animation:slideUp .25s ease}
@keyframes slideUp{from{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}
.modal h2{font-family:'Cormorant Garamond',serif;font-size:30px;font-weight:300;color:#1A2E0A;margin-bottom:8px}
.modal p{font-size:15px;color:#6E6E5E;margin-bottom:24px}
.modal-close{position:absolute;top:20px;right:20px;background:none;border:none;font-size:22px;cursor:pointer;color:#6E6E5E;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s}
.modal-close:hover{background:#F0EBE1;color:#1A2E0A}
.form-group{margin-bottom:18px}
.form-group label{display:block;font-size:13px;font-weight:600;color:#6E6E5E;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}
.form-input{width:100%;border:1.5px solid #E2DDD5;border-radius:12px;padding:14px 16px;font-size:15px;font-family:'DM Sans',sans-serif;color:#1A2E0A;background:#fff;outline:none;transition:border-color .2s}
.form-input:focus{border-color:#5A7E42}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}

/* NOTIFICATIONS */
.notif-panel{position:fixed;top:72px;right:0;width:360px;background:#fff;border-left:1px solid #E2DDD5;border-bottom:1px solid #E2DDD5;border-radius:0 0 0 20px;z-index:300;max-height:80vh;overflow-y:auto;box-shadow:-8px 8px 32px rgba(0,0,0,.1);display:none;animation:slideLeft .2s ease}
@keyframes slideLeft{from{transform:translateX(20px);opacity:0}to{transform:translateX(0);opacity:1}}
.notif-panel.open{display:block}
.notif-header{padding:20px 24px;border-bottom:1px solid #E2DDD5;display:flex;justify-content:space-between;align-items:center}
.notif-header h3{font-size:17px;font-weight:600;color:#1A2E0A}
.notif-item{padding:16px 24px;border-bottom:1px solid #E2DDD5;display:flex;gap:14px;align-items:flex-start;cursor:pointer;transition:background .15s}
.notif-item:hover{background:#FAF7F2}
.notif-item.unread{background:rgba(122,158,90,.04)}
.notif-dot{width:9px;height:9px;border-radius:50%;background:#7A9E5A;flex-shrink:0;margin-top:6px}
.notif-dot.read{background:#E2DDD5}
.notif-text{font-size:14px;color:#1A2E0A;line-height:1.5}
.notif-time{font-size:12px;color:#6E6E5E;margin-top:4px}

/* TOAST */
.toast{position:fixed;bottom:28px;right:28px;background:#1A2E0A;color:#fff;border-radius:14px;padding:15px 22px;font-size:14px;font-weight:500;box-shadow:0 8px 28px rgba(0,0,0,.3);z-index:9999;animation:tsi .3s ease;display:flex;align-items:center;gap:10px;max-width:340px}
@keyframes tsi{from{transform:translateX(110%);opacity:0}to{transform:translateX(0);opacity:1}}

/* FOOTER */
footer{background:#1A2E0A;padding:56px 80px;color:rgba(255,255,255,.55);font-size:14px}
footer h4{font-family:'Cormorant Garamond',serif;font-size:26px;color:#fff;margin-bottom:8px;font-weight:400}

/* MISC */
.toggle-wrap{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.toggle{width:44px;height:24px;background:#7A9E5A;border-radius:12px;cursor:pointer;position:relative;flex-shrink:0;transition:background .2s}
.toggle.off{background:#E2DDD5}
.toggle::after{content:'';width:18px;height:18px;background:#fff;border-radius:50%;position:absolute;top:3px;right:4px;transition:all .2s}
.toggle.off::after{right:auto;left:4px}
.toggle-lbl{font-size:15px;color:#1A2E0A}
.bar-chart{display:flex;gap:10px;align-items:flex-end;height:130px;padding:10px 0}
.bar-wrap{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1}
.bar{background:#A8C48A;border-radius:5px 5px 0 0;width:100%;transition:height .5s}
.bar.last{background:#2D5016}
.bar-lbl{font-size:11px;color:#6E6E5E}
.bar-val{font-size:11px;font-weight:600;color:#2D5016}
.info-box{background:rgba(122,158,90,.07);border:1px solid rgba(122,158,90,.2);border-radius:14px;padding:16px 20px;font-size:14px;color:#2D5016;display:flex;gap:12px;align-items:flex-start;margin-bottom:20px}
.add-patient-btn{background:rgba(45,80,22,.08);border:1.5px dashed #A8C48A;border-radius:12px;padding:16px;width:100%;text-align:center;cursor:pointer;font-size:14px;color:#2D5016;font-family:'DM Sans',sans-serif;font-weight:500;transition:all .2s;margin-top:12px}
.add-patient-btn:hover{background:rgba(45,80,22,.12);border-color:#5A7E42}

/* BOTTOM NAV (MOBILE) */
.dash-bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;background:#1A2E0A;border-top:1px solid rgba(255,255,255,.1);z-index:150;padding:8px 0 env(safe-area-inset-bottom,8px)}
.dbn-items{display:flex;justify-content:space-around}
.dbn-item{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 10px;cursor:pointer;color:rgba(255,255,255,.62);font-size:11px;font-weight:500;border:none;background:none;font-family:'DM Sans',sans-serif;transition:color .2s;flex:1}
.dbn-item.on{color:#7A9E5A}
.dbn-item span:first-child{font-size:22px}

/* ============================================================
   RESPONSIVE MOBILE
   ============================================================ */
@media (max-width: 768px) {
  body{font-size:15px}
  .nl{display:none}
  .hamburger{display:flex}
  .nav{padding:0 20px;height:64px}
  .mobile-menu{top:64px}
  .urge-banner{margin:76px 16px 0;flex-direction:column;align-items:flex-start;gap:14px;padding:18px}
  .urge-banner .btn{width:100%;text-align:center}
  .hero{grid-template-columns:1fr;padding:80px 24px 52px;gap:0;min-height:auto}
  .hvis{display:none}
  .htitle{font-size:40px}
  .hsub{font-size:16px}
  .hact{flex-direction:column;align-items:stretch}
  .hact .btn,.hact .btn2{text-align:center}
  .hstats{gap:16px;flex-wrap:wrap}
  .hstats > div{flex:1;min-width:80px;text-align:center}
  section{padding:52px 24px}
  .spgrid{grid-template-columns:repeat(2,1fr)}
  .fgrid{grid-template-columns:1fr}
  .aims > div{grid-template-columns:1fr !important}
  .quiz{margin-top:24px}
  .qgrid{grid-template-columns:1fr}
  footer{padding:44px 24px}
  footer > div{flex-direction:column;gap:28px}
  .phdr{padding:36px 24px}
  .ptit{font-size:36px}
  .sbar{flex-direction:column}
  .sinp,.ssel,.sbtn{width:100%}
  .tcontent{padding:24px 16px}
  .tgrid{grid-template-columns:1fr}
  .playout{grid-template-columns:1fr;padding:16px 16px 80px}
  .bcard{position:static}
  .grp-grid{grid-template-columns:1fr}
  #page-groups > div{padding:24px 16px}
  .xp-banner{padding:36px 24px}
  .xp-banner h1{font-size:36px}
  #page-patient > div:last-child{padding:24px 16px}
  .ptab-bar{width:100%}
  .ptab{flex:1;text-align:center;padding:10px 8px;font-size:13px}
  .mood-row{gap:6px}
  .mood-opt{padding:10px 4px}
  .dgrid{grid-template-columns:1fr}
  #exos-grid{grid-template-columns:1fr}
  .dsbar{display:none}
  .dcont{margin-left:0;padding:22px 16px 90px}
  .dash-bottom-nav{display:block}
  .srow{grid-template-columns:repeat(2,1fr);gap:14px}
  .fin-grid{grid-template-columns:repeat(2,1fr)}
  .conf-grid{grid-template-columns:1fr}
  .dview{grid-template-columns:1fr}
  .dlist-col{border-right:none;border-bottom:1px solid #E2DDD5;max-height:280px;overflow-y:auto}
  .wgrid{grid-template-columns:36px repeat(3,1fr)}
  .toast{left:16px;right:16px;bottom:82px;max-width:none}
  .notif-panel{width:100%;border-radius:0;border-left:none}
  .modal{padding:28px 20px;border-radius:20px}
  .form-row{grid-template-columns:1fr}
}
@media (max-width:420px){
  .htitle{font-size:34px}
  .srow{grid-template-columns:1fr 1fr}
  .fin-grid{grid-template-columns:1fr 1fr}
  .spgrid{grid-template-columns:repeat(2,1fr)}
}

/* ============================================================
   DARK MODE
   ============================================================ */
body.dark{background:#0F1A09;color:#E8EDD5}
body.dark .nav{background:rgba(15,26,9,.96);border-color:rgba(255,255,255,.08)}
body.dark .nb{color:rgba(255,255,255,.62)}
body.dark .nb:hover,.dark .nb.on{color:#A8C48A}
body.dark .mobile-menu{background:rgba(15,26,9,.98)}
body.dark .mob-nb{color:#E8EDD5;border-color:rgba(255,255,255,.08)}
body.dark .hero{background:#0F1A09}
body.dark .htitle{color:#E8EDD5}
body.dark .fc,.dark .pcard,.dark .dcard,.dark .sc,.dark .tcard,.dark .grp-card,.dark .conf-card,.dark .fin-card,.dark .bcard,.dark .exo-card,.dark .jentry{background:#1A2E0A;border-color:rgba(255,255,255,.08)}
body.dark .hsub,.dark .ssub,.dark .pbio,.dark .dsub,.dark .fin-change,.dark .scc,.dark .dsr,.dark .psub{color:rgba(255,255,255,.62)}
body.dark section{background:#0F1A09}
body.dark .spcard,.dark .fcard{background:#1A2E0A;border-color:rgba(255,255,255,.08)}
body.dark .spcard:hover,.dark .fcard:hover{border-color:#5A7E42}
body.dark .spcard h4,.dark .fcard h3,.dark .fcard p{color:#E8EDD5}
body.dark .ttag{background:rgba(255,255,255,.08);color:rgba(255,255,255,.5)}
body.dark .tchdr{background:rgba(45,80,22,.3)}
body.dark .tn h3,.dark .trole{color:#E8EDD5}
body.dark .tfoot,.dark .tbody{border-color:rgba(255,255,255,.08)}
body.dark .tcontent,.dark .phdr+div,.dark .playout{background:#0F1A09}
body.dark .fb{background:#1A2E0A;border-color:rgba(255,255,255,.08);color:rgba(255,255,255,.5)}
body.dark .igrid .iit,.dark .pbw .pbar,.dark .xp-banner+div,.dark .pbrk{background:#1A2E0A}
body.dark .ni,.dark .form-input,.dark .dlist-search,.dark .sinp{background:#1A2E0A;border-color:rgba(255,255,255,.12);color:#E8EDD5}
body.dark .note-entry{background:#1A2E0A;border-left-color:#5A7E42}
body.dark .ndate,.dark .ntxt,.dark .ival,.dark .scn,.dark .dtit{color:#E8EDD5}
body.dark .dlist-col{background:#0F1A09;border-color:rgba(255,255,255,.08)}
body.dark .cit{background:#1A2E0A;border-color:rgba(255,255,255,.06)}
body.dark .cit.on,.dark .cit:hover{background:#2D5016;border-color:#5A7E42}
body.dark .cit h4,.dark .cit p{color:#E8EDD5}
body.dark .wgrid{background:rgba(255,255,255,.05)}
body.dark .whc{background:#1A2E0A;color:rgba(255,255,255,.4)}
body.dark .wtc{background:#0F1A09}
body.dark .wsc{background:#1A2E0A}
body.dark .mood-opt{background:#1A2E0A;border-color:transparent}
body.dark .mood-opt.on{background:#2D5016;border-color:#5A7E42}
body.dark .jmetric{background:#1A2E0A}
body.dark .ptab-bar{background:#1A2E0A}
body.dark .ptab.on{background:#2D5016}
body.dark .chat-widget{background:#1A2E0A;border-color:rgba(255,255,255,.1)}
body.dark .chat-msg.them{background:#1A2E0A}
body.dark .chat-msg.me{background:#2D5016}
body.dark .chat-input-wrap{background:#1A2E0A;border-color:rgba(255,255,255,.1)}
body.dark .chat-input{background:transparent;color:#E8EDD5}
body.dark .skel{background:linear-gradient(90deg,#1A2E0A 25%,#2D5016 50%,#1A2E0A 75%)}
body.dark footer{background:#060E03}

.dark-toggle{background:none;border:none;cursor:pointer;font-size:20px;padding:6px;transition:transform .3s}
.dark-toggle:hover{transform:rotate(20deg)}

/* ============================================================
   SKELETON LOADING
   ============================================================ */
.skel{background:linear-gradient(90deg,#F0EBE1 25%,#E8E3D9 50%,#F0EBE1 75%);background-size:200% 100%;animation:shimmer 1.4s infinite;border-radius:8px}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.skel-card{border-radius:20px;overflow:hidden;background:#fff;border:1px solid #E2DDD5}
.skel-line{height:14px;margin-bottom:10px}
.skel-title{height:20px;width:60%;margin-bottom:14px}
.skel-avatar{width:60px;height:60px;border-radius:50%}

/* ============================================================
   AI CHAT WIDGET
   ============================================================ */
.chat-fab{position:fixed;bottom:28px;left:28px;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#2D5016,#7A9E5A);color:#fff;border:none;cursor:pointer;font-size:22px;box-shadow:0 6px 20px rgba(45,80,22,.35);z-index:800;transition:all .25s;display:flex;align-items:center;justify-content:center}
.chat-fab:hover{transform:scale(1.1);box-shadow:0 10px 28px rgba(45,80,22,.45)}
.chat-widget{position:fixed;bottom:96px;left:28px;width:340px;background:#fff;border-radius:20px;border:1px solid #E2DDD5;box-shadow:0 12px 40px rgba(0,0,0,.15);z-index:800;display:none;flex-direction:column;overflow:hidden;max-height:480px;animation:slideUp .25s ease}
.chat-widget.open{display:flex}
.chat-header{background:linear-gradient(135deg,#2D5016,#7A9E5A);padding:16px 20px;display:flex;align-items:center;gap:12px;flex-shrink:0}
.chat-header-av{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:18px}
.chat-header-info .chat-name{font-size:14px;font-weight:600;color:#fff}
.chat-header-info .chat-status{font-size:11px;color:rgba(255,255,255,.75)}
.chat-close-btn{margin-left:auto;background:none;border:none;color:rgba(255,255,255,.7);cursor:pointer;font-size:18px}
.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.chat-msg{max-width:80%;padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.5}
.chat-msg.them{background:#F0EBE1;color:#1A2E0A;align-self:flex-start;border-radius:16px 16px 16px 4px}
.chat-msg.me{background:#2D5016;color:#fff;align-self:flex-end;border-radius:16px 16px 4px 16px}
.chat-msg-time{font-size:11px;color:#6E6E5E;margin-top:3px}
.chat-typing{display:flex;gap:4px;padding:10px 14px;background:#F0EBE1;border-radius:16px 16px 16px 4px;width:fit-content}
.chat-typing span{width:7px;height:7px;background:#6E6E5E;border-radius:50%;animation:bounce .8s infinite}
.chat-typing span:nth-child(2){animation-delay:.15s}
.chat-typing span:nth-child(3){animation-delay:.3s}
@keyframes bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.chat-input-wrap{display:flex;gap:8px;padding:12px 14px;border-top:1px solid #E2DDD5;flex-shrink:0;background:#fff}
.chat-input{flex:1;border:none;outline:none;font-size:14px;font-family:'DM Sans',sans-serif;background:transparent;color:#1A2E0A}
.chat-input::placeholder{color:#6E6E5E}
.chat-send{background:#2D5016;color:#fff;border:none;border-radius:50%;width:36px;height:36px;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s}
.chat-send:hover{background:#3D6B20}
.chat-quick-btns{display:flex;gap:6px;padding:8px 14px;flex-wrap:wrap;border-top:1px solid #E2DDD5;flex-shrink:0}
.chat-qb{background:#F0EBE1;border:none;border-radius:20px;padding:6px 12px;font-size:12px;cursor:pointer;color:#2D5016;font-family:'DM Sans',sans-serif;transition:all .2s;white-space:nowrap}
.chat-qb:hover{background:#2D5016;color:#fff}

/* ============================================================
   MESSAGERIE
   ============================================================ */
.msg-layout{display:grid;grid-template-columns:280px 1fr;background:#fff;border-radius:18px;border:1px solid #E2DDD5;overflow:hidden;min-height:540px}
.msg-list-col{border-right:1px solid #E2DDD5;background:#FAFAF8}
.msg-list-header{padding:18px 16px;border-bottom:1px solid #E2DDD5;display:flex;justify-content:space-between;align-items:center}
.msg-list-header h4{font-size:15px;font-weight:600;color:#1A2E0A}
.msg-item{display:flex;gap:12px;padding:14px 16px;cursor:pointer;transition:background .15s;border-bottom:1px solid #F0EBE1}
.msg-item:hover,.msg-item.on{background:#F0EBE1}
.msg-item.unread .msg-preview{font-weight:600;color:#1A2E0A}
.msg-item-av{width:44px;height:44px;border-radius:50%;background:#7A9E5A;color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;flex-shrink:0}
.msg-item-name{font-size:14px;font-weight:500;color:#1A2E0A}
.msg-preview{font-size:12px;color:#6E6E5E;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}
.msg-time{font-size:11px;color:#6E6E5E;margin-left:auto;flex-shrink:0}
.msg-unread-dot{width:9px;height:9px;border-radius:50%;background:#C0392B;flex-shrink:0;margin-top:4px}
.msg-conv{display:flex;flex-direction:column;height:540px}
.msg-conv-header{padding:18px 24px;border-bottom:1px solid #E2DDD5;display:flex;align-items:center;gap:14px;flex-shrink:0}
.msg-conv-av{width:42px;height:42px;border-radius:50%;background:#7A9E5A;color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600}
.msg-conv-name{font-size:15px;font-weight:600;color:#1A2E0A}
.msg-conv-status{font-size:12px;color:#5A7E42}
.msg-conv-actions{margin-left:auto;display:flex;gap:8px}
.msg-conv-btn{background:#F0EBE1;border:none;border-radius:8px;padding:8px 12px;cursor:pointer;font-size:13px;color:#1A2E0A;transition:all .2s}
.msg-conv-btn:hover{background:#2D5016;color:#fff}
.msg-body{flex:1;overflow-y:auto;padding:20px 24px;display:flex;flex-direction:column;gap:14px}
.msg-bubble-wrap{display:flex;flex-direction:column;max-width:75%}
.msg-bubble-wrap.me{align-self:flex-end;align-items:flex-end}
.msg-bubble-wrap.them{align-self:flex-start}
.msg-bubble{padding:12px 16px;border-radius:18px;font-size:14px;line-height:1.6}
.msg-bubble-wrap.me .msg-bubble{background:#2D5016;color:#fff;border-radius:18px 18px 4px 18px}
.msg-bubble-wrap.them .msg-bubble{background:#F0EBE1;color:#1A2E0A;border-radius:18px 18px 18px 4px}
.msg-btime{font-size:11px;color:#6E6E5E;margin-top:4px}
.msg-date-sep{text-align:center;font-size:12px;color:#6E6E5E;padding:8px 0;position:relative}
.msg-date-sep::before{content:'';position:absolute;left:0;right:0;top:50%;height:1px;background:#E2DDD5;z-index:0}
.msg-date-sep span{background:#fff;padding:0 12px;position:relative;z-index:1}
.msg-input-wrap{padding:16px 24px;border-top:1px solid #E2DDD5;display:flex;gap:10px;align-items:flex-end;flex-shrink:0}
.msg-input{flex:1;border:1.5px solid #E2DDD5;border-radius:14px;padding:11px 16px;font-size:14px;font-family:'DM Sans',sans-serif;color:#1A2E0A;background:#fff;resize:none;outline:none;transition:border-color .2s;max-height:100px}
.msg-input:focus{border-color:#5A7E42}
.msg-send-btn{background:#2D5016;color:#fff;border:none;border-radius:12px;padding:11px 20px;font-size:14px;cursor:pointer;transition:all .2s;white-space:nowrap}
.msg-send-btn:hover{background:#3D6B20}

/* ============================================================
   SETTINGS
   ============================================================ */
.settings-grid{display:grid;grid-template-columns:220px 1fr;gap:24px;min-height:500px}
.settings-nav{background:#fff;border-radius:18px;border:1px solid #E2DDD5;padding:16px 0;height:fit-content}
.sn-item{display:flex;align-items:center;gap:10px;padding:12px 20px;cursor:pointer;font-size:14px;font-weight:500;color:#6E6E5E;transition:all .2s;border-left:3px solid transparent;background:none;border-right:none;border-top:none;border-bottom:none;width:100%;text-align:left;font-family:'DM Sans',sans-serif}
.sn-item:hover{color:#2D5016;background:#F0EBE1}
.sn-item.on{color:#2D5016;background:rgba(45,80,22,.06);border-left-color:#5A7E42;font-weight:600}
.settings-panel{background:#fff;border-radius:18px;border:1px solid #E2DDD5;padding:28px}
.settings-section-title{font-size:20px;font-weight:400;font-family:'Cormorant Garamond',serif;color:#1A2E0A;margin-bottom:6px}
.settings-section-sub{font-size:14px;color:#6E6E5E;margin-bottom:24px}
.settings-sep{height:1px;background:#E2DDD5;margin:24px 0}

/* ============================================================
   IMPROVED RESPONSIVE
   ============================================================ */
/* Touch-friendly tap targets */
@media (hover:none) {
  .btn,.btn2,.btnsm,.anb,.bbtn,.fb,.slot,.mood-opt{min-height:44px}
  .dsit{min-height:48px}
  .vcb{width:52px;height:52px}
}
/* Swipe hint on mobile tabs */
.swipe-hint{display:none;font-size:12px;color:#6E6E5E;text-align:center;padding:8px;animation:fadeInOut 3s ease forwards}
@keyframes fadeInOut{0%{opacity:0}20%{opacity:1}80%{opacity:1}100%{opacity:0}}
@media(max-width:768px){
  .swipe-hint{display:block}
  .chat-widget{left:0;right:0;bottom:0;width:100%;border-radius:20px 20px 0 0;max-height:70vh}
  .chat-fab{bottom:80px}
  .msg-layout{grid-template-columns:1fr;min-height:auto}
  .msg-list-col{border-right:none;border-bottom:1px solid #E2DDD5;max-height:240px;overflow-y:auto}
  .msg-conv{height:400px}
  .settings-grid{grid-template-columns:1fr}
  .settings-nav{padding:8px 0}
  .sn-item{padding:10px 16px}
}

/* Better form focus states */
.form-input:focus,.ni:focus,.sinp:focus,.dlist-search:focus{box-shadow:0 0 0 3px rgba(122,158,90,.15)}

/* Animated stat counters */
.scn{transition:all .4s ease}

/* Pull-to-refresh indicator */
.ptr-indicator{position:fixed;top:72px;left:50%;transform:translateX(-50%);background:#2D5016;color:#fff;border-radius:20px;padding:8px 18px;font-size:13px;font-weight:500;display:none;z-index:300;box-shadow:0 4px 14px rgba(45,80,22,.3)}
.ptr-indicator.show{display:flex;align-items:center;gap:8px}

/* Progress rings */
.progress-ring{transform:rotate(-90deg)}
.progress-ring-circle{transition:stroke-dashoffset .6s ease}

/* Smooth page transitions */
.page{opacity:0;transition:opacity .2s ease}
.page.active{opacity:1}

/* Better scrollbar */
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:#E2DDD5;border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:#A8C48A}

/* Keyboard shortcut badge */
.kbd{display:inline-flex;align-items:center;background:#F0EBE1;border:1px solid #E2DDD5;border-radius:5px;padding:1px 7px;font-size:11px;font-family:'DM Sans',sans-serif;color:#6E6E5E;margin-left:8px}

/* Improved print styles */
@media print{
  .nav,.dsbar,.dash-bottom-nav,.chat-fab,.chat-widget,.toast{display:none!important}
  .dcont{margin-left:0!important;padding:0!important}
  .dcard,.pcard,.sc{border:1px solid #ccc!important}
}
.form-label{font-size:12px;font-weight:600;color:#6E6E5E;text-transform:uppercase;letter-spacing:.05em;display:block;margin-bottom:7px}

/* ============================================================
   PAGE INSCRIPTION / PRICING
   ============================================================ */
.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}
.auth-left{background:linear-gradient(160deg,#1A2E0A 0%,#2D5016 50%,#3D6B20 100%);padding:60px 52px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.auth-left::before{content:'';position:absolute;top:-100px;right:-100px;width:400px;height:400px;background:radial-gradient(circle,rgba(122,158,90,.2),transparent 70%);border-radius:50%}
.auth-left::after{content:'';position:absolute;bottom:-80px;left:-80px;width:300px;height:300px;background:radial-gradient(circle,rgba(196,149,106,.15),transparent 70%);border-radius:50%}
.auth-logo{font-family:'Cormorant Garamond',serif;font-size:28px;font-weight:600;color:#fff;margin-bottom:48px;position:relative}
.auth-logo span{color:#C4956A}
.auth-hero-title{font-family:'Cormorant Garamond',serif;font-size:clamp(32px,3.5vw,48px);font-weight:300;color:#fff;line-height:1.15;margin-bottom:20px;position:relative}
.auth-hero-title em{font-style:italic;color:#A8C48A}
.auth-hero-sub{font-size:16px;color:rgba(255,255,255,.65);line-height:1.75;max-width:380px;font-weight:300;position:relative}
.auth-features{display:flex;flex-direction:column;gap:14px;margin-top:40px;position:relative}
.auth-feat{display:flex;align-items:flex-start;gap:14px;color:rgba(255,255,255,.85);font-size:14px;line-height:1.5}
.auth-feat-icon{width:32px;height:32px;border-radius:8px;background:rgba(122,158,90,.25);display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;margin-top:1px}
.auth-stats{display:flex;gap:32px;position:relative}
.auth-stat-num{font-family:'Cormorant Garamond',serif;font-size:36px;font-weight:600;color:#fff}
.auth-stat-lbl{font-size:12px;color:rgba(255,255,255,.5);margin-top:2px}
.auth-right{background:#FAF7F2;overflow-y:auto;display:flex;align-items:flex-start;justify-content:center;padding:60px 52px}
.auth-right.dark{background:#0F1A09}
.auth-form-wrap{width:100%;max-width:480px}
.auth-step-indicator{display:flex;gap:8px;align-items:center;margin-bottom:36px}
.auth-step{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;transition:all .3s}
.auth-step.done{background:#2D5016;color:#fff}
.auth-step.active{background:#fff;color:#2D5016;border:2px solid #2D5016;box-shadow:0 0 0 4px rgba(45,80,22,.1)}
.auth-step.todo{background:#E2DDD5;color:#6E6E5E}
.auth-step-line{flex:1;height:2px;background:#E2DDD5;border-radius:1px;transition:background .3s}
.auth-step-line.done{background:#2D5016}
.auth-form-title{font-family:'Cormorant Garamond',serif;font-size:34px;font-weight:300;color:#1A2E0A;margin-bottom:6px}
.auth-form-sub{font-size:15px;color:#6E6E5E;margin-bottom:32px;font-weight:300}
.auth-form-title.dark,.auth-right.dark .auth-form-title{color:#E8EDD5}
.auth-right.dark .auth-form-sub{color:rgba(255,255,255,.5)}
.fg{margin-bottom:18px}
.fg label{display:block;font-size:12px;font-weight:600;color:#6E6E5E;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}
.fi{width:100%;border:1.5px solid #E2DDD5;border-radius:12px;padding:14px 16px;font-size:15px;font-family:'DM Sans',sans-serif;color:#1A2E0A;background:#fff;outline:none;transition:all .2s}
.fi:focus{border-color:#5A7E42;box-shadow:0 0 0 3px rgba(122,158,90,.12)}
.fi.err{border-color:#C0392B;box-shadow:0 0 0 3px rgba(192,57,43,.1)}
.fi-err-msg{font-size:12px;color:#C0392B;margin-top:5px}
.fi-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A7A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:40px;cursor:pointer}
.fi-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.auth-divider{display:flex;align-items:center;gap:14px;margin:22px 0;color:#6E6E5E;font-size:13px}
.auth-divider::before,.auth-divider::after{content:'';flex:1;height:1px;background:#E2DDD5}
.auth-next-btn{width:100%;background:#2D5016;color:#fff;border:none;border-radius:14px;padding:16px;font-size:16px;font-weight:500;cursor:pointer;transition:all .25s;font-family:'DM Sans',sans-serif;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:8px}
.auth-next-btn:hover{background:#3D6B20;transform:translateY(-2px);box-shadow:0 8px 24px rgba(45,80,22,.3)}
.auth-next-btn:disabled{background:#E2DDD5;color:#6E6E5E;cursor:not-allowed;transform:none;box-shadow:none}
.auth-back-btn{background:none;border:none;color:#6E6E5E;cursor:pointer;font-size:14px;font-family:'DM Sans',sans-serif;padding:10px 0;display:flex;align-items:center;gap:6px;transition:color .2s}
.auth-back-btn:hover{color:#2D5016}
.auth-link{color:#2D5016;cursor:pointer;font-weight:500;text-decoration:none}
.auth-link:hover{text-decoration:underline}
.strength-bar{height:4px;background:#E2DDD5;border-radius:4px;margin-top:8px;overflow:hidden}
.strength-fill{height:100%;border-radius:4px;transition:width .3s,background .3s}
.strength-label{font-size:11px;margin-top:5px}

/* PRICING CARDS */
.pricing-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:8px}
.pricing-card{border:2px solid #E2DDD5;border-radius:20px;padding:24px 20px;cursor:pointer;transition:all .25s;position:relative;background:#fff}
.pricing-card:hover{border-color:#A8C48A;box-shadow:0 8px 24px rgba(45,80,22,.08)}
.pricing-card.selected{border-color:#2D5016;background:rgba(45,80,22,.03);box-shadow:0 8px 28px rgba(45,80,22,.15)}
.pricing-card.popular{border-color:#C4956A}
.pricing-card.popular.selected{border-color:#2D5016}
.popular-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#C4956A,#E6A870);color:#fff;border-radius:20px;padding:4px 14px;font-size:12px;font-weight:600;white-space:nowrap}
.plan-name{font-size:13px;font-weight:600;color:#6E6E5E;text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px}
.plan-price{font-family:'Cormorant Garamond',serif;font-size:38px;font-weight:600;color:#2D5016;line-height:1}
.plan-period{font-family:'DM Sans',sans-serif;font-size:13px;color:#6E6E5E;font-weight:400}
.plan-desc{font-size:13px;color:#6E6E5E;margin:10px 0 16px;line-height:1.5}
.plan-features{display:flex;flex-direction:column;gap:8px}
.plan-feat{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:#1A2E0A}
.plan-feat-icon{color:#5A7E42;font-size:14px;flex-shrink:0;margin-top:1px}
.plan-feat.no{color:#6E6E5E}
.plan-feat.no .plan-feat-icon{color:#E2DDD5}
.plan-check{position:absolute;top:14px;right:14px;width:22px;height:22px;border-radius:50%;background:#2D5016;color:#fff;display:none;align-items:center;justify-content:center;font-size:12px}
.pricing-card.selected .plan-check{display:flex}
.billing-toggle{display:flex;align-items:center;gap:12px;background:#F0EBE1;border-radius:30px;padding:6px;margin-bottom:24px;width:fit-content}
.billing-opt{border:none;background:none;border-radius:24px;padding:8px 20px;font-size:14px;font-weight:500;cursor:pointer;font-family:'DM Sans',sans-serif;color:#6E6E5E;transition:all .2s}
.billing-opt.on{background:#fff;color:#2D5016;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.annual-badge{background:rgba(122,158,90,.12);color:#2D5016;border-radius:20px;padding:3px 10px;font-size:11px;font-weight:600}

/* PAYMENT FORM */
.card-input-wrap{position:relative}
.card-icons{position:absolute;right:14px;top:50%;transform:translateY(-50%);display:flex;gap:6px}
.card-icon{font-size:20px}
.secure-badge{display:flex;align-items:center;gap:8px;background:rgba(45,80,22,.06);border:1px solid rgba(45,80,22,.15);border-radius:10px;padding:10px 14px;font-size:13px;color:#2D5016;margin-bottom:20px}
.order-summary{background:#F0EBE1;border-radius:16px;padding:20px;margin-bottom:24px}
.os-row{display:flex;justify-content:space-between;font-size:14px;padding:7px 0;border-bottom:1px solid #E2DDD5;color:#6E6E5E}
.os-row:last-child{border-bottom:none;font-weight:600;color:#1A2E0A;font-size:16px;padding-top:12px}
.os-row:last-child .os-price{font-family:'Cormorant Garamond',serif;font-size:22px;color:#2D5016}

/* SUCCESS PAGE */
.success-wrap{text-align:center;padding:40px 20px}
.success-icon{font-size:72px;margin-bottom:24px;animation:popIn .5s cubic-bezier(.175,.885,.32,1.275)}
@keyframes popIn{0%{transform:scale(0);opacity:0}100%{transform:scale(1);opacity:1}}
.success-title{font-family:'Cormorant Garamond',serif;font-size:40px;font-weight:300;color:#1A2E0A;margin-bottom:12px}
.success-sub{font-size:16px;color:#6E6E5E;line-height:1.75;max-width:400px;margin:0 auto 32px}
.success-steps{background:#F0EBE1;border-radius:16px;padding:24px;text-align:left;margin-bottom:32px}
.success-step{display:flex;align-items:flex-start;gap:14px;padding:10px 0;border-bottom:1px solid #E2DDD5}
.success-step:last-child{border-bottom:none}
.success-step-num{width:28px;height:28px;border-radius:50%;background:#2D5016;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex-shrink:0}
.promo-input-wrap{display:flex;gap:8px;margin-top:6px}
.promo-input{flex:1}
.promo-btn{background:#F0EBE1;border:1.5px solid #E2DDD5;border-radius:12px;padding:0 18px;font-size:14px;font-weight:500;cursor:pointer;color:#2D5016;font-family:'DM Sans',sans-serif;transition:all .2s;white-space:nowrap}
.promo-btn:hover{background:#2D5016;color:#fff;border-color:#2D5016}
.promo-applied{font-size:13px;color:#5A7E42;font-weight:500;margin-top:6px}
.trial-banner{background:linear-gradient(135deg,rgba(122,158,90,.1),rgba(196,149,106,.1));border:1.5px solid rgba(122,158,90,.25);border-radius:14px;padding:14px 18px;font-size:14px;color:#2D5016;display:flex;align-items:center;gap:10px;margin-bottom:24px}
.pay-chip{display:inline-flex;align-items:center;gap:5px;background:#fff;border:1px solid #E2DDD5;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:500;color:#1A2E0A}

/* ADMIN */
.admin-table{width:100%;border-collapse:collapse;font-size:14px}
.admin-table th{text-align:left;padding:10px 12px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#6E6E5E;border-bottom:2px solid #E2DDD5;font-weight:600}
.admin-table td{padding:12px;border-bottom:1px solid #F0EBE1;vertical-align:middle}
.admin-table tr:hover td{background:#FAF7F2}
.adm-badge{display:inline-block;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:600}
.adm-role-therapist{background:rgba(45,80,22,.1);color:#2D5016}
.adm-role-patient{background:rgba(41,128,185,.1);color:#2980B9}
.adm-role-admin{background:rgba(196,149,106,.18);color:#9c6f3f}
.adm-ok{color:#2D5016}.adm-off{color:#C0392B}
.adm-btn{border:1px solid #E2DDD5;background:#fff;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:500;cursor:pointer;font-family:'DM Sans',sans-serif;color:#1A2E0A;margin-right:4px}
.adm-btn:hover{border-color:#2D5016;color:#2D5016}
.adm-btn.danger:hover{border-color:#C0392B;color:#C0392B}
body.dark .admin-table th{color:#9aa888}body.dark .admin-table td{border-color:rgba(255,255,255,.06)}body.dark .admin-table tr:hover td{background:#16240C}body.dark .adm-btn{background:#1A2E0A;color:#E8EDD5;border-color:rgba(255,255,255,.12)}

/* LOGIN PAGE */
.login-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;background:#FAF7F2;padding:24px}
.login-card{background:#fff;border-radius:24px;padding:44px;max-width:440px;width:100%;box-shadow:0 8px 40px rgba(0,0,0,.08);border:1px solid #E2DDD5}
.login-logo{text-align:center;font-family:'Cormorant Garamond',serif;font-size:28px;font-weight:600;color:#2D5016;margin-bottom:36px}
.login-logo span{color:#C4956A}
.login-tabs{display:flex;background:#F0EBE1;border-radius:12px;padding:4px;margin-bottom:28px}
.login-tab{flex:1;border:none;background:none;border-radius:8px;padding:10px;font-size:14px;font-weight:500;cursor:pointer;font-family:'DM Sans',sans-serif;color:#6E6E5E;transition:all .2s}
.login-tab.on{background:#fff;color:#2D5016;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.social-btn{width:100%;border:1.5px solid #E2DDD5;border-radius:12px;padding:13px;font-size:14px;font-weight:500;cursor:pointer;font-family:'DM Sans',sans-serif;background:#fff;color:#1A2E0A;display:flex;align-items:center;justify-content:center;gap:10px;transition:all .2s;margin-bottom:10px}
.social-btn:hover{border-color:#5A7E42;background:#FAFAF8}
.forgot-link{text-align:right;margin-top:-10px;margin-bottom:16px}

/* PRICING LANDING */
.pricing-hero{background:linear-gradient(160deg,#1A2E0A,#2D5016);padding:80px 80px 100px;color:#fff;text-align:center}
.pricing-hero h1{font-size:clamp(40px,5vw,64px);font-weight:300;margin-bottom:16px}
.pricing-hero p{font-size:18px;color:rgba(255,255,255,.7);max-width:560px;margin:0 auto 36px}
.pricing-annual-wrap{margin-bottom:-60px;position:relative;z-index:2}
.pricing-cards-big{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1000px;margin:0 auto;padding:0 80px}
.pcb{background:#fff;border-radius:24px;padding:36px 28px;border:2px solid transparent;transition:all .3s;position:relative;overflow:hidden}
.pcb:hover{transform:translateY(-6px);box-shadow:0 20px 48px rgba(0,0,0,.12)}
.pcb.featured{border-color:#C4956A;transform:translateY(-12px);box-shadow:0 20px 48px rgba(0,0,0,.15)}
.pcb.featured:hover{transform:translateY(-18px)}
.pcb-name{font-size:14px;font-weight:600;color:#6E6E5E;text-transform:uppercase;letter-spacing:.08em;margin-bottom:14px}
.pcb-price{font-family:'Cormorant Garamond',serif;font-size:56px;font-weight:600;color:#2D5016;line-height:1;margin-bottom:6px}
.pcb-period{font-size:14px;color:#6E6E5E}
.pcb-desc{font-size:14px;color:#6E6E5E;margin:16px 0 24px;line-height:1.6;border-top:1px solid #E2DDD5;padding-top:16px}
.pcb-feats{display:flex;flex-direction:column;gap:10px;margin-bottom:28px}
.pcb-feat{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:#1A2E0A;line-height:1.4}
.pcb-feat-ok{color:#5A7E42;font-size:15px;flex-shrink:0}
.pcb-feat.no{color:#6E6E5E}
.pcb-feat.no .pcb-feat-ok{color:#E2DDD5}
.pcb-cta{width:100%;border:none;border-radius:14px;padding:15px;font-size:15px;font-weight:500;cursor:pointer;font-family:'DM Sans',sans-serif;transition:all .2s}
.pcb-cta.primary{background:#2D5016;color:#fff}
.pcb-cta.primary:hover{background:#3D6B20}
.pcb-cta.secondary{background:#F0EBE1;color:#2D5016}
.pcb-cta.secondary:hover{background:#E0DDD5}
.pcb-cta.featured-cta{background:linear-gradient(135deg,#C4956A,#E6A870);color:#fff}
.pcb-cta.featured-cta:hover{opacity:.9}
.faq-section{padding:80px;background:#FAF7F2}
.faq-item{border-bottom:1px solid #E2DDD5;padding:20px 0;cursor:pointer}
.faq-q{display:flex;justify-content:space-between;align-items:center;font-size:16px;font-weight:500;color:#1A2E0A}
.faq-a{font-size:15px;color:#6E6E5E;line-height:1.75;margin-top:14px;display:none}
.faq-a.open{display:block}
.faq-icon{font-size:20px;color:#5A7E42;transition:transform .2s}
.faq-icon.open{transform:rotate(45deg)}
.comparison-table{width:100%;border-collapse:collapse;margin-top:40px}
.comparison-table th{padding:16px 20px;text-align:left;font-size:13px;font-weight:600;color:#6E6E5E;text-transform:uppercase;letter-spacing:.05em;border-bottom:2px solid #E2DDD5}
.comparison-table td{padding:14px 20px;font-size:14px;border-bottom:1px solid #E2DDD5;color:#1A2E0A}
.comparison-table tr:hover td{background:#F7F4EF}
.check-yes{color:#5A7E42;font-size:18px}
.check-no{color:#E2DDD5;font-size:18px}
.check-plan{font-weight:600;color:#2D5016}

/* RESPONSIVE AUTH */
@media(max-width:900px){
  .auth-layout{grid-template-columns:1fr}
  .auth-left{display:none}
  .auth-right{padding:40px 24px;align-items:flex-start}
  .pricing-cards{grid-template-columns:1fr}
  .pricing-cards-big{grid-template-columns:1fr;padding:0 24px}
  .pcb.featured{transform:translateY(0)}
  .pricing-hero{padding:60px 24px 80px}
  .faq-section{padding:52px 24px}
}
@media(max-width:480px){
  .auth-right{padding:24px 16px}
  .auth-form-wrap{max-width:100%}
  .fi-row{grid-template-columns:1fr}
  .pricing-cards{gap:12px}
}
