.staff-hero{background:linear-gradient(135deg,rgba(139,92,246,.12),rgba(22,163,74,.10)),radial-gradient(circle at top right,rgba(236,72,153,.16),transparent 35%)}
.staff-card{background:#fff;border:1px solid rgba(17,24,39,.08);border-radius:28px;box-shadow:0 18px 45px rgba(17,24,39,.08)}
.staff-hidden-panel{display:none}.staff-hidden-panel.is-open{display:block}.btn-staff-brand{background:linear-gradient(135deg,#8b5cf6,#16a34a);border:0;color:#fff!important;box-shadow:0 12px 28px rgba(139,92,246,.26)}.staff-icon-xl{width:76px;height:76px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(135deg,#8b5cf6,#16a34a);color:#fff;font-size:2rem}.staff-form-control{border-radius:16px;padding:.9rem 1rem}.staff-tabs .btn{white-space:nowrap}.staff-stat{border-radius:24px;background:linear-gradient(135deg,rgba(139,92,246,.14),rgba(139,92,246,.04));border:1px solid rgba(139,92,246,.15);min-height:135px}.staff-stat.green{background:linear-gradient(135deg,rgba(22,163,74,.14),rgba(22,163,74,.04));border-color:rgba(22,163,74,.18)}.staff-stat.orange{background:linear-gradient(135deg,rgba(245,158,11,.18),rgba(245,158,11,.05));border-color:rgba(245,158,11,.22)}.staff-stat.pink{background:linear-gradient(135deg,rgba(236,72,153,.16),rgba(236,72,153,.04));border-color:rgba(236,72,153,.20)}.staff-stat i{font-size:1.7rem;color:#8b5cf6}.staff-stat span{display:block;margin-top:.75rem;color:#6b7280;font-weight:700}.staff-stat strong{display:block;font-size:2rem;line-height:1;margin-top:.25rem;color:#111827}.staff-avatar{width:60px;height:60px;border-radius:20px;background:linear-gradient(135deg,#8b5cf6,#ec4899);color:#fff;display:grid;place-items:center;font-weight:900;font-size:1.25rem}.staff-mini{display:inline-flex;align-items:center;gap:.5rem;background:rgba(139,92,246,.08);border:1px solid rgba(139,92,246,.12);border-radius:999px;padding:.45rem .7rem;color:#374151}.staff-status{display:inline-flex;align-items:center;border-radius:999px;padding:.35rem .65rem;font-size:.75rem;font-weight:800;background:#eef2ff;color:#4f46e5}.status-completed,.status-approved{background:#dcfce7;color:#15803d}.status-cancelled,.status-rejected,.status-declined{background:#fee2e2;color:#b91c1c}.status-overdue,.status-urgent{background:#ffedd5;color:#c2410c}.status-in_progress,.status-running{background:#dbeafe;color:#1d4ed8}.status-waiting_client,.status-waiting_admin,.status-pending{background:#fef3c7;color:#92400e}.staff-kanban{display:grid;grid-template-columns:repeat(4,minmax(270px,1fr));gap:1rem;overflow-x:auto;padding-bottom:1rem}.staff-kanban-column{background:rgba(243,244,246,.65);border:1px solid rgba(17,24,39,.08);border-radius:24px;padding:1rem;min-height:260px}.staff-kanban-column h3{font-size:1rem;display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.staff-kanban-column h3 span{background:#fff;border-radius:999px;padding:.15rem .55rem}.staff-task-card{background:#fff;border:1px solid rgba(17,24,39,.08);border-radius:20px;padding:1rem;margin-bottom:1rem;box-shadow:0 10px 25px rgba(17,24,39,.06)}.staff-task-row{display:flex;justify-content:space-between;gap:1rem;text-decoration:none;color:#111827;border-bottom:1px solid rgba(17,24,39,.08);padding:.9rem 0}.staff-task-row small{display:block;color:#6b7280}.staff-timeline{border-left:3px solid rgba(139,92,246,.18);padding-left:1rem}.staff-timeline-item{position:relative;margin-bottom:1rem;background:rgba(139,92,246,.06);border-radius:16px;padding:.8rem}.staff-timeline-item:before{content:"";position:absolute;left:-1.45rem;top:1rem;width:.75rem;height:.75rem;border-radius:50%;background:#8b5cf6}.staff-message{background:rgba(22,163,74,.08);border-radius:18px;padding:.9rem;margin:.6rem 0}.staff-message.is-client{background:rgba(139,92,246,.08)}.staff-attachment-preview{display:flex;align-items:center;gap:.7rem;background:#f8fafc;border:1px dashed rgba(17,24,39,.16);border-radius:16px;padding:.65rem;margin-top:.5rem}.progress-bar{background:linear-gradient(135deg,#8b5cf6,#16a34a)}@media(max-width:991px){.staff-kanban{grid-template-columns:repeat(2,minmax(260px,1fr))}}@media(max-width:575px){.staff-kanban{grid-template-columns:minmax(260px,1fr)}.staff-card{border-radius:22px}.staff-tabs{overflow-x:auto;flex-wrap:nowrap!important;padding-bottom:.5rem}.staff-tabs .btn{flex:0 0 auto}.staff-stat{min-height:auto}.staff-task-row{display:block}.staff-task-row .staff-status{margin-top:.5rem}}

/* Staff Portal Release B: clear, responsive information density. */
.staff-availability-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #e5e7eb;padding:.85rem 0;color:#111827}
.staff-availability-row:last-child{border-bottom:0}
.staff-card .table-responsive{max-width:100%;overflow-x:auto}
.staff-card .form-label{font-weight:600;color:#111827}
.staff-card input[readonly]{background:#f3f4f6;color:#374151}
.staff-card table th,.staff-card table td{white-space:nowrap;vertical-align:middle}
@media(max-width:575px){.staff-availability-row{flex-direction:column;align-items:flex-start;gap:.3rem}.staff-card .table{font-size:.825rem}}
