/* rapport journalier + agenda (complète pv.css) */
.panel button.save{background:#14572e;color:#fff}
.rj .coms{min-height:70mm}
.rj textarea.mini{display:block;width:100%;min-height:14mm;border:0;border-bottom:1px solid #000;resize:none;font:inherit;padding:6px 8px;background:transparent;overflow:hidden}
.rj .desc{border-bottom:1px solid #000}
.grid2{display:flex;flex-wrap:wrap;gap:6px 18px;padding:5px 8px;border-bottom:1px solid #000;align-items:center}
.grid2 label{display:inline-flex;gap:6px;align-items:center;font-variant:small-caps}
.grid2 input,.grid2 select{font:inherit;font-variant:normal;border:0;border-bottom:1px dotted #999;background:transparent;padding:2px 4px;max-width:150px}
.eff{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #000}
.eff label{display:flex;flex-direction:column;gap:2px;padding:4px 8px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;font-size:.82rem}
.eff input{font:inherit;font-size:1.05rem;border:0;border-bottom:1px dotted #999;background:transparent;width:100%;padding:2px}
.rj .coms .photos{padding-top:6px}
.rj .cachetbox{border-top:0;min-height:20mm}
.rj .sec{border-top:0}
@media(max-width:640px){.eff{grid-template-columns:repeat(2,1fr)}}
@media print{.rj textarea.mini{overflow:visible}.rj .coms{min-height:40mm}.grid2 select{appearance:none;-webkit-appearance:none}.eff input,.grid2 input{border-bottom:0}.rj .sec,.eff,.grid2{break-inside:avoid}}
/* agenda (page admin) */
.ag{max-width:1100px;margin:10px auto;padding:0 12px}
.ag .barre{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 1px 4px rgba(0,0,0,.1);margin-bottom:12px}
.ag .barre .sp{flex:1}.ag h1{font-size:1.2rem;margin:0}
.ag .nav a,.ag .btn{display:inline-block;padding:9px 14px;border-radius:9px;background:#e3e9f1;color:#12304f;text-decoration:none;font-weight:600;border:0;font:inherit;font-weight:600;cursor:pointer}
.ag .btn.pri{background:#12304f;color:#fff}.ag .btn.danger{background:#fde8e6;color:#b42318}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;background:#fff;border-radius:12px;padding:10px;box-shadow:0 1px 4px rgba(0,0,0,.1)}
.cal .j{font-size:.75rem;font-weight:700;color:#5b6775;text-align:center;padding:4px 0}
.cal a,.cal span.v{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:56px;padding:6px 2px;border-radius:8px;text-decoration:none;color:#111;background:#f6f8fb}
.cal span.v{background:transparent}
.cal a.has{background:#eaf3ff}.cal a.sel{outline:3px solid #e8a317}.cal a.auj b{color:#b42318}
.cal i{font-style:normal;font-size:.72rem;margin-top:3px;padding:1px 6px;border-radius:9px;color:#fff}
.cal i.pv{background:#12304f}.cal i.rapport{background:#14572e}
.liste{background:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 1px 4px rgba(0,0,0,.1);margin-top:12px}
.liste h2{font-size:1.05rem;margin:0 0 8px}
.liste table{width:100%;border-collapse:collapse}.liste td,.liste th{padding:8px 6px;border-bottom:1px solid #e5eaf0;text-align:left;vertical-align:middle;font-size:.92rem}
.liste th{font-size:.78rem;color:#5b6775;text-transform:uppercase}
.tag{display:inline-block;padding:2px 9px;border-radius:9px;color:#fff;font-size:.75rem;font-weight:700}.tag.pv{background:#12304f}.tag.rapport{background:#14572e}
.liste form{display:inline}.vide{color:#5b6775}

.gstat{font-size:.88rem;color:#14572e;font-weight:600;margin:0 0 10px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ag .inl{display:inline}.liste td form{display:inline}
.ut input,.ut select{font:inherit;padding:8px;border:1px solid #c3ccd7;border-radius:8px;margin:0 6px 6px 0}.ut .rowf{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
