/* Espace éleveur — réalisé par goodwebsites.ch */
:root{--iv:#FFF9F6;--bl:#FFFDFC;--rl:#F8E4E5;--rose:#D9828B;--rt:#A9505C;--sa:#EADDD4;--br:#58443D;--tx:#2F2927;--t2:#766761;--line:rgba(88,68,61,.12);--sh:0 10px 30px -22px rgba(88,68,61,.4);--r:18px;--serif:"Cormorant Garamond",Georgia,serif;--sans:Manrope,system-ui,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:#f7f1ee;color:var(--tx);font:400 .95rem/1.55 var(--sans)}
a{color:var(--rt)}
svg:not([viewBox]){width:20px;height:20px}
h1,h2{font-family:var(--serif);font-weight:600;margin:0;color:var(--tx)}
h1{font-size:2.1rem}h2{font-size:1.45rem;margin-bottom:.9rem}
:focus-visible{outline:2px solid var(--rt);outline-offset:2px}
.muted{color:var(--t2)}
.ad{display:grid;min-height:100vh}
@media (min-width:980px){.ad{grid-template-columns:250px 1fr}}
.ad__side{background:var(--br);color:#eadfd9;padding:1.2rem 1rem;display:flex;flex-direction:column;gap:1.2rem;position:fixed;inset:0 auto 0 0;width:250px;z-index:30;transform:translateX(-100%);transition:transform .3s}
.ad__side.is-open{transform:none;box-shadow:0 0 0 100vmax rgba(0,0,0,.3)}
@media (min-width:980px){.ad__side{position:sticky;top:0;height:100vh;transform:none}}
.ad__logo{display:flex;align-items:center;gap:.6rem;color:#fff;text-decoration:none;font:600 1.2rem var(--serif)}
.ad__logo svg{width:32px;color:var(--rl)}
.ad__side nav{display:grid;gap:2px}
.ad__side nav a{display:flex;align-items:center;gap:.7rem;padding:.65rem .8rem;border-radius:12px;color:#eadfd9;text-decoration:none;font-weight:500}
.ad__side nav a:hover{background:rgba(255,255,255,.08)}
.ad__side nav a[aria-current]{background:var(--bl);color:var(--br);font-weight:600}
.ad__count{margin-left:auto;background:var(--rose);color:#fff;border-radius:10px;font-size:.72rem;padding:0 .45rem}
.ad__me{margin-top:auto;display:grid;gap:.3rem;border-top:1px solid rgba(255,255,255,.12);padding-top:1rem}
.ad__me span{color:#fff;font-weight:600;display:grid}.ad__me small{color:#c9b8b0;font-weight:400}
.ad__me a,.ad__site{color:#eadfd9;font-size:.85rem}
.ad__main{padding:1rem clamp(1rem,3vw,2.2rem) 2rem;min-width:0}
.ad__top{display:flex;align-items:center;gap:.8rem;margin:.4rem 0 1.4rem}
.ad__burger{border:0;background:var(--bl);width:44px;height:44px;border-radius:12px;font-size:1.3rem;cursor:pointer}
@media (min-width:980px){.ad__burger{display:none}}
.ad__foot{margin-top:3rem;font-size:.8rem;color:var(--t2)}
.card{background:var(--bl);border:1px solid var(--line);border-radius:var(--r);padding:1.3rem;box-shadow:var(--sh);margin-bottom:1.2rem;min-width:0}
.card--accent{border-top:3px solid var(--rose)}
.card__head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.6rem}.card__head h2{margin:0}
.cols{display:grid;gap:1.2rem;align-items:start}
@media (min-width:1100px){.cols{grid-template-columns:1fr 1fr}.cols--fiche{grid-template-columns:1.2fr 1fr}}
.stackcards{display:grid;min-width:0}
.kpis{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1.2rem}
.kpi{display:grid;grid-template-columns:auto 1fr;column-gap:.9rem;align-items:center;background:var(--bl);border:1px solid var(--line);border-radius:var(--r);padding:1.1rem;text-decoration:none;color:var(--tx);box-shadow:var(--sh);transition:transform .2s}
.kpi:hover{transform:translateY(-2px)}
.kpi svg{grid-row:span 2;width:46px;height:46px;padding:11px;border-radius:14px;background:var(--rl);color:var(--rt)}
.kpi b{font:600 2rem/1 var(--serif)}.kpi span{font-size:.82rem;color:var(--t2)}
.todo{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.todo li{display:grid;grid-template-columns:auto 1fr auto;gap:.8rem;align-items:center;padding:.7rem;border-radius:12px;background:var(--iv)}
.todo small{display:block;color:var(--t2)}
.dot{width:10px;height:10px;border-radius:50%}.dot--rose{background:var(--rose)}.dot--or{background:#d6a65c}
.bars{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}
.bars a{display:grid;grid-template-columns:140px 1fr 30px;gap:.7rem;align-items:center;text-decoration:none;color:var(--tx);font-size:.88rem}
.bars i{height:10px;border-radius:5px;background:var(--rl);position:relative;overflow:hidden}
.bars i::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--w);background:var(--rose);border-radius:5px}
.bars b{text-align:right}
.tbl{overflow-x:auto}
table{width:100%;border-collapse:collapse;min-width:620px}
th{text-align:left;font-size:.75rem;color:var(--t2);font-weight:600;padding:.5rem .6rem;border-bottom:1px solid var(--line)}
td{padding:.65rem .6rem;border-bottom:1px solid var(--line);vertical-align:middle}
td small{display:block;color:var(--t2);font-size:.8rem}
td a{text-decoration:none}
td.clip{max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--t2)}
td.r{text-align:right}
tr.is-off{opacity:.55}
.thumb{width:62px}.thumb img,.thumb__ph{width:48px;height:48px;border-radius:12px;object-fit:cover;display:grid;place-items:center;background:var(--rl);color:var(--rose)}
.thumb__ph svg{width:26px}
.st{display:inline-block;font-size:.75rem;font-weight:600;padding:.2rem .6rem;border-radius:999px;background:var(--sa);color:var(--br)}
.st--nouveau,.st--en_attente{background:var(--rl);color:var(--rt)}
.st--confirme,.st--adoptant{background:#e6f0ea;color:#3f6e53}
.st--rdv{background:#ece8f4;color:#62548a}
.st--echange,.st--a_contacter{background:#fbeede;color:#94602a}
.st--perdu,.st--annule{background:#eee;color:#777}
.b{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:42px;padding:.5rem 1rem;border-radius:999px;border:1.5px solid var(--br);background:var(--br);color:#fff;font:600 .88rem var(--sans);text-decoration:none;cursor:pointer;white-space:nowrap}
.b--rose{background:var(--rt);border-color:var(--rt)}.b--rose:hover{background:#934350}
.b--ghost{background:transparent;color:var(--br);border-color:rgba(88,68,61,.25)}.b--ghost:hover,.b--ghost.is-on{border-color:var(--br);background:var(--bl)}
.b--ghost.is-on{background:var(--br);color:#fff}
.b--sm{min-height:34px;padding:.3rem .8rem;font-size:.8rem}
.b--danger{background:transparent;color:#a13d3d;border-color:#e3b3b0}.b--danger:hover{background:#fbe5e3}
input,select,textarea{font:inherit;color:var(--tx);background:#fff;border:1.5px solid rgba(88,68,61,.18);border-radius:12px;padding:.55rem .75rem;min-height:42px;width:100%}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--rose);box-shadow:0 0 0 3px rgba(217,130,139,.2)}
input[type=checkbox],input[type=radio]{width:auto;min-height:0;accent-color:var(--rt)}
label{display:grid;gap:.3rem;font-size:.82rem;font-weight:600;color:var(--br)}
label.check{display:flex;align-items:center;gap:.5rem;font-weight:500}
.stack{display:grid;gap:.9rem}
.grid2,.grid3{display:grid;gap:.9rem}
@media (min-width:720px){.grid2{grid-template-columns:1fr 1fr}.grid3{grid-template-columns:repeat(3,1fr)}}
.row{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.toolbar{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-bottom:1.2rem}
.toolbar input[type=search]{max-width:260px}.toolbar select{width:auto}
.toolbar__end{margin-left:auto;display:flex;flex-wrap:wrap;gap:.5rem}
.toolbar p{margin:0}
.flash{padding:.8rem 1rem;border-radius:12px;background:#e6f0ea;color:#335c45;margin:0 0 1.2rem}
.flash--err{background:#fbe5e3;color:#8d3a3f}.flash--info{background:var(--rl);color:var(--rt)}
.back{text-decoration:none;font-weight:600}
.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,1fr);gap:.9rem;overflow-x:auto;padding-bottom:1rem;align-items:start}
.col{background:rgba(234,221,212,.45);border-radius:var(--r);padding:.8rem;min-height:200px}
.col h2{font:700 .82rem var(--sans);display:flex;justify-content:space-between;margin:.2rem .2rem .8rem;color:var(--br)}
.col h2 b{background:var(--bl);border-radius:10px;padding:0 .5rem}
.col--nouveau{background:rgba(248,228,229,.8)}.col--adoptant{background:rgba(230,240,234,.8)}
.col__empty{font-size:.8rem;color:var(--t2);text-align:center;margin-top:2rem}
.lead{background:var(--bl);border-radius:14px;padding:.8rem;margin-bottom:.6rem;box-shadow:0 4px 14px -10px rgba(88,68,61,.5)}
.lead__name{font-weight:700;text-decoration:none;color:var(--tx)}
.lead p{margin:.2rem 0;font-size:.8rem}
.lead__meta{color:var(--rt);font-weight:600}.lead__msg{color:var(--t2)}
.lead__rappel{color:#94602a}.lead__rappel.is-due{color:#a13d3d;font-weight:700}
.lead select{margin-top:.5rem;min-height:34px;font-size:.8rem;padding:.25rem .5rem}
.st-sel{width:auto;min-height:36px;font-size:.82rem;font-weight:600;border-radius:999px}
.ks--disponible{background:#e6f0ea}.ks--option{background:#fbeede}.ks--reserve{background:var(--rl)}.ks--bientot{background:#ece8f4}.ks--adopte{background:var(--sa)}
.pipe{display:flex;flex-wrap:wrap;gap:.35rem}
.pipe__st{display:block}.pipe__st input{position:absolute;opacity:0}
.pipe__st span{display:block;padding:.4rem .8rem;border-radius:999px;border:1.5px solid var(--line);font-weight:500;cursor:pointer;background:#fff}
.pipe__st input:checked+span{background:var(--br);color:#fff;border-color:var(--br)}
.pipe__st input:focus-visible+span{outline:2px solid var(--rt)}
.histo{list-style:none;margin:0;padding:0 0 0 1rem;border-left:2px solid var(--rl);display:grid;gap:.9rem}
.histo li{position:relative}.histo li::before{content:"";position:absolute;left:-1.42rem;top:.35rem;width:10px;height:10px;border-radius:50%;background:var(--rose)}
.histo__note::before{background:var(--br)!important}
.histo small{color:var(--t2)}.histo p{margin:.2rem 0 0;background:var(--iv);padding:.6rem .8rem;border-radius:10px}
.plain{list-style:none;padding:0;margin:0;display:grid;gap:.6rem}
.photos{border:1.5px dashed rgba(88,68,61,.2);border-radius:var(--r);padding:1rem;margin:0}
.photos legend{font-weight:700;color:var(--br);padding:0 .4rem}
.photos__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.8rem;margin-bottom:1rem}
.photos__it{display:grid;gap:.3rem;font-size:.75rem}
.photos__it img,.photos__miss{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;display:grid;place-items:center;background:var(--rl)}
.photos__it label{display:flex;gap:.3rem;align-items:center;font-weight:500}
.drop{padding:1rem;border-radius:12px;background:var(--iv);cursor:pointer}
.hint{font-size:.8rem;color:var(--t2);margin:.5rem 0 0}
.danger-zone{margin-top:1.5rem;padding:1rem;border:1px solid #e3b3b0;border-radius:var(--r);background:#fff8f7}
.days-adm{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.4rem 1.2rem}.days-adm legend{font-weight:700;color:var(--br);margin-bottom:.4rem;font-size:.85rem}
.mails{list-style:none;padding:0;margin:0;display:grid;gap:.5rem}
.mails summary{cursor:pointer;padding:.7rem .9rem;background:var(--iv);border-radius:12px;display:grid}
.mails summary small{color:var(--t2)}
.mails pre{white-space:pre-wrap;font:inherit;padding:.8rem;margin:0}
/* Connexion */
.login{display:grid;place-items:center;min-height:100vh;padding:1.2rem;background:radial-gradient(circle at 20% 10%,#f8e4e5,transparent 50%),radial-gradient(circle at 90% 90%,#eaddd4,transparent 45%),var(--iv)}
.login__card{width:min(430px,100%);background:var(--bl);border-radius:26px;padding:2.2rem;box-shadow:0 30px 60px -30px rgba(88,68,61,.45);text-align:center}
.login__card form{text-align:left;margin-top:1.2rem}
.login__mark{width:56px;margin:0 auto .6rem;color:var(--rose)}
.login__sub{color:var(--t2);margin:.1rem 0 0}
.login__demo{margin-top:1.4rem;text-align:left;background:var(--iv);border-radius:14px;padding:.9rem 1rem;font-size:.85rem}
.login__demo p{margin:0 0 .4rem}.login__demo ul{margin:0;padding-left:1.1rem}
.login__demo code{background:#fff;border-radius:6px;padding:0 .3rem}
.login__gw{font-size:.8rem;color:var(--t2);margin-top:1.2rem}
