/* FitCoach advanced feature pack */
.advanced-quick{background:linear-gradient(135deg,#fff,#f8fff5);border:1px solid rgba(16,21,18,.09);border-radius:26px;box-shadow:var(--shadow-md)}
.advanced-quick-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.advanced-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.advanced-quick-grid a,.advanced-admin-card{display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid rgba(16,21,18,.09);border-radius:16px;background:#fff;color:#101512;font-weight:900;text-decoration:none;box-shadow:0 8px 20px rgba(10,20,15,.035)}
.advanced-quick-grid a:hover,.advanced-admin-card:hover{background:#111827;color:#fff}
.advanced-admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.advanced-admin-card{min-height:130px;flex-direction:column;gap:8px;background:linear-gradient(135deg,#fff,#f8fff5);border-radius:24px}
.advanced-admin-card span{font-weight:900}.advanced-admin-card strong{font-size:30px;font-weight:900}
.advanced-list{display:grid;gap:12px}.advanced-row,.advanced-details{border:1px solid rgba(16,21,18,.09);border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(10,20,15,.04);padding:14px}
.advanced-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.advanced-row p{margin:.35rem 0;color:#64748b}.advanced-row small{color:#6b7280;font-weight:700}.advanced-row.is-unread{border-color:#16a34a;background:#f0fdf4}
.advanced-details summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:900;list-style:none}.advanced-details summary::-webkit-details-marker{display:none}.advanced-details[open] summary{margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid rgba(16,21,18,.08)}
.advanced-form{display:grid;gap:12px}.advanced-form label{font-weight:900;color:#374151}.advanced-form.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.advanced-form .full{grid-column:1/-1}.inline-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.inline-form .form-control,.inline-form .form-select{width:auto;min-width:140px}
.switch-row{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid rgba(16,21,18,.09);border-radius:16px;background:#fff}.switch-row input{width:22px;height:22px}.switch-row span{font-weight:900}
.ticket-thread{display:grid;gap:10px;margin:10px 0}.ticket-msg{padding:12px;border-radius:16px;background:#f8fafc}.ticket-msg.admin{background:#ecfdf5}.ticket-msg.client{background:#f8fafc}.ticket-msg p{margin:.25rem 0;line-height:1.9}.ticket-msg small{color:#6b7280}
.timeline-box{display:grid;gap:12px}.timeline-item{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:flex-start}.timeline-item>span{width:16px;height:16px;margin-top:5px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 6px rgba(22,163,74,.12)}.timeline-item>div{border:1px solid rgba(16,21,18,.09);border-radius:18px;background:#fff;padding:14px}.timeline-item p{margin:.25rem 0;color:#64748b;line-height:1.8}
.progress-photos{display:flex;gap:8px;flex-wrap:wrap}.progress-photos img,.before-after-grid img{width:86px;height:86px;object-fit:cover;border-radius:14px;border:1px solid rgba(16,21,18,.10)}.before-after-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.before-after-grid img{width:100%;height:180px}
.kv{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed #e5e7eb;padding:8px 0}.kv span{color:#64748b;font-weight:900}.kv b{font-weight:900;word-break:break-word}
@media(max-width:991px){.advanced-quick-grid,.advanced-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.advanced-form.grid-2{grid-template-columns:1fr}.advanced-row{align-items:flex-start;flex-direction:column}.inline-form{width:100%}.inline-form .form-control,.inline-form .form-select,.inline-form .btn{width:100%}}
@media(max-width:575px){.advanced-quick-grid,.advanced-admin-grid{grid-template-columns:1fr}.advanced-quick-head{align-items:flex-start;flex-direction:column}}
