.ttmt-wh-auth,.ttmt-wh-auth *,.ttmt-wh-app,.ttmt-wh-app *{box-sizing:border-box}.ttmt-wh-auth{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px;background:linear-gradient(135deg,#fff7ed 0%,#ffffff 52%,#fff1f2 100%);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#1f2937}.wh-auth-card{width:min(520px,100%);background:#fff;border:1px solid #fed7aa;border-radius:28px;box-shadow:0 24px 80px rgba(249,115,22,.16);padding:28px}.wh-auth-brand{display:flex;gap:14px;align-items:center;margin-bottom:22px}.wh-auth-brand h1{font-size:24px;margin:0;color:#9a3412}.wh-auth-brand p{margin:4px 0 0;color:#6b7280}.wh-logo,.wh-sun{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#fb923c,#ef4444);color:#fff;font-size:24px;box-shadow:0 12px 32px rgba(239,68,68,.22)}.wh-form{display:grid;gap:14px}.wh-form label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#374151}.wh-form input,.wh-form select,.wh-form textarea{width:100%;border:1px solid #e5e7eb;border-radius:14px;padding:12px 13px;font-size:14px;background:#fff;outline:none}.wh-form textarea{min-height:104px;resize:vertical}.wh-form input:focus,.wh-form select:focus,.wh-form textarea:focus{border-color:#fb923c;box-shadow:0 0 0 4px rgba(251,146,60,.16)}.wh-btn{border:0;border-radius:14px;padding:11px 16px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;cursor:pointer;font-size:14px;white-space:nowrap}.wh-btn-primary{background:linear-gradient(135deg,#f97316,#ef4444);color:#fff!important;box-shadow:0 12px 28px rgba(249,115,22,.22)}.wh-btn-light{background:#fff7ed;color:#9a3412!important;border:1px solid #fed7aa}.wh-btn-success{background:#16a34a;color:#fff!important}.wh-btn-warning{background:#f59e0b;color:#fff!important}.wh-auth-row{display:flex;justify-content:space-between;gap:10px;font-size:14px}.wh-auth-link{text-align:center;margin:4px 0 0}.wh-auth a{color:#ea580c;font-weight:800}.wh-hp{position:absolute!important;left:-9999px!important;opacity:0!important}.wh-alert{border-radius:16px;padding:12px 14px;margin:0 0 16px;font-weight:700}.wh-alert-success{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0}.wh-alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.ttmt-wh-app{min-height:100vh;background:#f8fafc;color:#111827;display:grid;grid-template-columns:280px 1fr;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}.wh-sidebar{background:#fff;border-right:1px solid #e5e7eb;padding:22px;position:sticky;top:0;height:100vh;overflow:auto}.wh-brand{display:flex;align-items:center;gap:12px;margin-bottom:24px}.wh-brand strong{display:block;font-size:18px;color:#9a3412}.wh-brand span{display:block;color:#6b7280;font-size:12px;margin-top:2px}.wh-sidebar nav{display:grid;gap:8px}.wh-nav-link{display:flex;align-items:center;border-radius:14px;padding:12px 14px;text-decoration:none!important;color:#374151;font-weight:800}.wh-nav-link:hover,.wh-nav-link.active{background:#fff7ed;color:#ea580c}.wh-main{min-width:0;padding:22px}.wh-topbar{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;box-shadow:0 12px 36px rgba(15,23,42,.04)}.wh-topbar strong{display:block}.wh-topbar span{display:block;color:#6b7280;font-size:13px;margin-top:3px}.wh-section{background:#fff;border:1px solid #e5e7eb;border-radius:26px;padding:22px;box-shadow:0 16px 48px rgba(15,23,42,.05);margin-bottom:18px}.wh-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.wh-section h2{margin:0;color:#111827;font-size:24px}.wh-section h3{margin:22px 0 12px;font-size:17px}.wh-section p{color:#6b7280}.wh-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.wh-card{background:linear-gradient(135deg,#fff7ed,#fff);border:1px solid #fed7aa;border-radius:20px;padding:18px}.wh-card span{display:block;color:#9a3412;font-weight:800;font-size:13px}.wh-card strong{font-size:34px;display:block;margin-top:8px}.wh-table-wrap{overflow:auto;border:1px solid #e5e7eb;border-radius:18px}.wh-table{width:100%;border-collapse:collapse;background:#fff;min-width:760px}.wh-table th,.wh-table td{border-bottom:1px solid #f1f5f9;padding:13px;text-align:left;vertical-align:top}.wh-table th{background:#f8fafc;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.wh-table tr:last-child td{border-bottom:0}.wh-table small{display:block;color:#6b7280;margin-top:4px}.wh-task-title{font-weight:900;color:#111827;text-decoration:none}.wh-task-title:hover{color:#ea580c}.wh-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;margin:2px}.wh-badge-neutral{background:#f1f5f9;color:#334155}.wh-badge-info{background:#eff6ff;color:#1d4ed8}.wh-badge-warning{background:#fffbeb;color:#b45309}.wh-badge-danger{background:#fef2f2;color:#b91c1c}.wh-badge-success{background:#ecfdf5;color:#15803d}.wh-badge-muted{background:#f3f4f6;color:#6b7280}.wh-progress{height:10px;background:#f1f5f9;border-radius:999px;overflow:hidden;min-width:90px}.wh-progress span{display:block;height:100%;background:linear-gradient(135deg,#fb923c,#ef4444);border-radius:999px}.wh-empty{background:#fff7ed;border:1px dashed #fdba74;border-radius:20px;padding:24px;color:#9a3412;font-weight:800;text-align:center}.wh-grid-form{grid-template-columns:repeat(2,minmax(0,1fr))}.wh-span-2{grid-column:1/-1}.wh-form-section{max-width:980px}.wh-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.wh-detail-head h2{margin:6px 0 4px}.wh-back{color:#ea580c;font-weight:800;text-decoration:none}.wh-detail-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.wh-panel{border:1px solid #e5e7eb;border-radius:22px;padding:18px;background:#fff}.wh-info{display:grid;grid-template-columns:120px 1fr;gap:10px;border-bottom:1px solid #f1f5f9;padding:10px 0}.wh-info span{color:#64748b;font-weight:700}.wh-info strong{font-weight:900}.wh-longtext{background:#f8fafc;border-radius:16px;padding:14px;color:#334155}.wh-longtext p{margin:0 0 10px}.wh-actions{display:flex;gap:8px;flex-wrap:wrap}.wh-timeline-panel{margin-top:16px}.wh-timeline{display:grid;gap:12px}.wh-timeline-item{border-left:4px solid #fb923c;background:#fff7ed;border-radius:14px;padding:12px 14px}.wh-timeline-item strong small{display:inline;color:#6b7280}.wh-timeline-item span{display:block;color:#6b7280;font-size:13px;margin-top:3px}.wh-timeline-item p{margin:8px 0;color:#374151}.wh-members-table .wh-inline-form{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.wh-inline-form select{border:1px solid #e5e7eb;border-radius:10px;padding:8px;max-width:140px}.wh-note{margin-top:16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:18px;padding:14px;color:#1e40af}.wh-main a{color:#ea580c}.wh-table td strong small{font-weight:400}@media(max-width:980px){.ttmt-wh-app{grid-template-columns:1fr}.wh-sidebar{height:auto;position:relative;border-right:0;border-bottom:1px solid #e5e7eb}.wh-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.wh-main{padding:14px}.wh-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.wh-detail-grid{grid-template-columns:1fr}.wh-grid-form{grid-template-columns:1fr}.wh-span-2{grid-column:auto}}@media(max-width:640px){.wh-auth-card{padding:20px;border-radius:22px}.wh-topbar,.wh-section-head,.wh-detail-head{display:grid}.wh-cards{grid-template-columns:1fr}.wh-sidebar nav{grid-template-columns:1fr}.wh-info{grid-template-columns:1fr}.wh-main{padding:10px}.wh-section{padding:16px;border-radius:20px}}

/* ===== TTMT WorkHub V2 updates ===== */
html:has(body.ttmt-workhub-blank-page),
body.ttmt-workhub-blank-page{
  margin:0!important;
  padding:0!important;
  width:100%!important;
  min-height:100vh!important;
  overflow-x:hidden!important;
  background:#f8fafc!important;
}
body.ttmt-workhub-blank-page header,
body.ttmt-workhub-blank-page footer,
body.ttmt-workhub-blank-page .site-header,
body.ttmt-workhub-blank-page .site-footer,
body.ttmt-workhub-blank-page .elementor-location-header,
body.ttmt-workhub-blank-page .elementor-location-footer,
body.ttmt-workhub-blank-page #wpadminbar{
  display:none!important;
}
body.ttmt-workhub-blank-page .entry-content,
body.ttmt-workhub-blank-page .site,
body.ttmt-workhub-blank-page #page,
body.ttmt-workhub-blank-page main{
  margin:0!important;
  padding:0!important;
  max-width:none!important;
  width:100%!important;
}
.wh-auth-brand h1.wh-auth-title-login{
  font-size:18px!important;
  line-height:1.22!important;
  letter-spacing:-.01em;
}
.wh-password-hint{
  display:block;
  margin-top:4px;
  color:#9a3412;
  font-size:12px;
  line-height:1.45;
  font-weight:700;
  background:#fff7ed;
  border:1px solid #fed7aa;
  padding:8px 10px;
  border-radius:12px;
}
.wh-topbar{
  justify-content:flex-start!important;
}
.wh-account-left{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  flex-wrap:wrap;
}
.wh-account-info strong{display:block}.wh-account-info span{display:block;color:#6b7280;font-size:13px;margin-top:3px}.wh-logout-left{padding:9px 13px;font-size:13px}
@media(max-width:640px){.wh-auth-brand h1.wh-auth-title-login{font-size:17px!important}.wh-account-left{display:grid;gap:8px}.wh-logout-left{width:max-content}}

/* V3: chặn thao tác submit lặp */
.wh-btn[disabled],
.wh-btn-disabled{
  opacity:.65 !important;
  cursor:wait !important;
  pointer-events:none !important;
}

/* V4: chat trao đổi trong từng công việc */
.wh-chat-panel{margin-top:16px;background:linear-gradient(180deg,#ffffff 0%,#fffaf5 100%)}
.wh-chat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.wh-chat-head h3{margin:0 0 6px}.wh-chat-head p{margin:0;color:#64748b}.wh-chat-head span{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;white-space:nowrap}.wh-chat-list{display:grid;gap:10px;max-height:420px;overflow:auto;padding:12px;border:1px solid #f1f5f9;background:#f8fafc;border-radius:18px;margin-bottom:14px;scroll-behavior:smooth}.wh-chat-empty{margin:0}.wh-chat-item{display:flex}.wh-chat-me{justify-content:flex-end}.wh-chat-other{justify-content:flex-start}.wh-chat-bubble{max-width:min(680px,82%);border:1px solid #e5e7eb;border-radius:18px;padding:11px 13px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}.wh-chat-me .wh-chat-bubble{background:#fff7ed;border-color:#fed7aa}.wh-chat-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.wh-chat-meta strong{font-size:13px;color:#111827}.wh-chat-meta span{font-size:12px;color:#64748b;font-weight:700}.wh-chat-bubble p{margin:0;color:#334155;line-height:1.5;white-space:pre-wrap}.wh-chat-file{display:inline-flex;margin-top:8px;font-weight:900;text-decoration:none!important}.wh-chat-form{border-top:1px solid #f1f5f9;padding-top:14px}.wh-chat-form textarea{min-height:82px}.wh-chat-input-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}@media(max-width:640px){.wh-chat-head{display:grid}.wh-chat-bubble{max-width:94%}.wh-chat-input-row{grid-template-columns:1fr}.wh-chat-input-row .wh-btn{width:100%}}

/* V5: giao việc nhóm + thông báo trên dashboard */
.wh-dashboard-head{align-items:center!important}.wh-btn-notify{background:#111827;color:#fff!important;border:1px solid #111827;box-shadow:0 12px 28px rgba(17,24,39,.16)}.wh-btn-notify span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#ef4444;color:#fff;font-size:12px}.wh-multi-select{min-height:150px}.wh-field-hint{display:block;margin-top:4px;color:#64748b;font-size:12px;line-height:1.45;font-weight:700}.wh-group-tag{display:inline-flex!important;width:max-content;margin-top:6px!important;padding:4px 8px;border-radius:999px;background:#eff6ff;color:#1d4ed8!important;font-weight:900!important}.wh-notification-list{display:grid;gap:12px}.wh-notification-item{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:14px;border:1px solid #e5e7eb;border-radius:18px;background:#fff}.wh-notification-item.is-unread{border-color:#fed7aa;background:#fff7ed}.wh-notification-icon{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:#f8fafc;border:1px solid #e5e7eb}.wh-notification-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wh-notification-title strong{color:#111827}.wh-notification-title span{font-size:11px;text-transform:uppercase;letter-spacing:.05em;background:#ef4444;color:#fff;border-radius:999px;padding:3px 7px;font-weight:900}.wh-notification-body p{margin:8px 0;color:#334155;line-height:1.5}.wh-notification-body small{display:block;color:#64748b;font-weight:700;margin-bottom:8px}.wh-notification-link{font-weight:900;text-decoration:none!important}.wh-notify-read-form{justify-content:flex-end}@media(max-width:640px){.wh-dashboard-head{display:grid!important}.wh-btn-notify{width:100%}.wh-notification-item{grid-template-columns:1fr}.wh-notification-icon{display:none}.wh-multi-select{min-height:180px}}

/* V6: tách rõ tên và email trong thông tin người giao/người nhận */
.wh-member-display{display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px;line-height:1.35;min-width:0}
.wh-member-name{display:block;font-weight:900;color:#111827;word-break:break-word}
.wh-member-email{display:block!important;color:#64748b!important;font-size:12px!important;font-weight:600!important;margin-top:0!important;word-break:break-all}
.wh-info-value{font-weight:900;min-width:0}
.wh-info strong .wh-member-display{font-weight:900}
.wh-info strong .wh-member-email{font-weight:600!important}

/* V7: dropdown tích chọn người nhận + căn chỉnh form tạo công việc */
.wh-grid-form{align-items:start!important}
.wh-form .wh-field{display:grid;gap:7px;font-size:13px;font-weight:700;color:#374151;align-self:start;min-width:0}
.wh-label{font-size:13px;font-weight:800;color:#374151;line-height:1.35}
.wh-recipient-field,.wh-department-field{align-self:start!important}
.wh-department-field select{min-height:46px;height:46px;padding:0 13px!important;line-height:46px;align-self:start;background:#fff}
.wh-recipient-picker{position:relative;width:100%;min-width:0;z-index:5}
.wh-recipient-toggle{width:100%;min-height:46px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;cursor:pointer;color:#111827;font-size:14px;font-weight:700;outline:none}
.wh-recipient-toggle:hover{border-color:#fed7aa;background:#fffaf5}
.wh-recipient-picker.is-open .wh-recipient-toggle,.wh-recipient-toggle:focus{border-color:#fb923c;box-shadow:0 0 0 4px rgba(251,146,60,.16)}
.wh-recipient-summary{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:#374151}
.wh-recipient-summary.is-placeholder{color:#7c8798;font-weight:600}
.wh-recipient-caret{flex:0 0 auto;color:#9a3412;font-weight:900;transition:transform .18s ease}.wh-recipient-picker.is-open .wh-recipient-caret{transform:rotate(180deg)}
.wh-recipient-panel{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:1000;background:#fff;border:1px solid #fed7aa;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.16);padding:10px;max-height:370px;overflow:hidden}
.wh-recipient-picker.is-open .wh-recipient-panel{display:block}
.wh-recipient-search{width:100%;height:42px;border:1px solid #e5e7eb!important;border-radius:12px!important;padding:0 12px!important;font-size:14px!important;background:#f8fafc!important;margin:0 0 8px!important}
.wh-recipient-toolbar{display:flex;gap:8px;justify-content:flex-end;margin:0 0 8px}.wh-recipient-mini{border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;cursor:pointer}.wh-recipient-mini:hover{background:#ffedd5}
.wh-recipient-list{max-height:245px;overflow:auto;display:grid;gap:6px;padding:2px 2px 4px}.wh-recipient-option{display:grid!important;grid-template-columns:20px 24px 1fr!important;align-items:center!important;gap:9px!important;margin:0!important;padding:9px 10px!important;border:1px solid #f1f5f9;border-radius:14px;background:#fff;cursor:pointer;font-size:14px!important;font-weight:700!important;color:#111827!important}.wh-recipient-option:hover{background:#fff7ed;border-color:#fed7aa}.wh-recipient-option input{width:18px!important;height:18px!important;margin:0!important;accent-color:#f97316}.wh-recipient-checkmark{width:24px;height:24px;border-radius:9px;background:#fff7ed;display:grid;place-items:center;color:#f97316;font-weight:900}.wh-recipient-checkmark:before{content:'+'}.wh-recipient-option:has(input:checked){background:#fff7ed;border-color:#fb923c}.wh-recipient-option:has(input:checked) .wh-recipient-checkmark:before{content:'✓'}
.wh-recipient-person{display:grid;gap:2px;min-width:0}.wh-recipient-person strong{font-size:14px;color:#111827;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wh-recipient-person small{display:block!important;color:#64748b!important;font-size:12px!important;font-weight:600!important;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wh-recipient-option.is-hidden{display:none!important}.wh-field-error{border-color:#ef4444!important;box-shadow:0 0 0 4px rgba(239,68,68,.12)!important}
@media(max-width:980px){.wh-recipient-panel{position:relative;top:auto;margin-top:8px;max-height:none}.wh-recipient-picker.is-open .wh-recipient-panel{display:block}.wh-recipient-list{max-height:280px}.wh-department-field select{height:46px;min-height:46px}}
@media(max-width:640px){.wh-recipient-toolbar{justify-content:flex-start;flex-wrap:wrap}.wh-recipient-option{grid-template-columns:20px 22px 1fr!important}.wh-recipient-person strong,.wh-recipient-person small{white-space:normal;word-break:break-word}}


/* V8: thêm người cùng phụ trách + bố cục chi tiết công việc */
.wh-detail-grid-v8{align-items:start}.wh-inline-update-panel{margin-top:18px;border-top:1px solid #f1f5f9;padding-top:2px}.wh-timeline-panel-v8{margin-top:0!important;position:sticky;top:18px;max-height:calc(100vh - 36px);overflow:auto}.wh-group-members{display:grid;gap:8px}.wh-group-member-card{display:block;text-decoration:none!important;border:1px solid #f1f5f9;border-radius:16px;padding:10px 12px;background:#fff;color:#111827}.wh-group-member-card:hover,.wh-group-member-card.is-current{border-color:#fed7aa;background:#fff7ed}.wh-group-member-card span{display:block;margin-top:4px;color:#64748b;font-size:12px;font-weight:800}.wh-add-assignees-form .wh-recipient-panel{left:0;right:auto;width:min(420px,calc(100vw - 40px))}.wh-add-assignees-form .wh-field-hint{display:block;color:#64748b;font-size:12px;font-weight:700;line-height:1.45;margin-top:4px}.wh-task-main-panel hr,.wh-timeline-panel-v8 hr{border:0;border-top:1px solid #f1f5f9;margin:18px 0}
@media(max-width:980px){.wh-timeline-panel-v8{position:relative;top:auto;max-height:none;overflow:visible}.wh-add-assignees-form .wh-recipient-panel{width:100%}}

/* V9: tài khoản + đăng xuất đưa hẳn sang sidebar trái, mobile menu dạng dropdown */
.wh-sidebar{display:flex;flex-direction:column;gap:18px}
.wh-sidebar-top{display:grid;gap:14px}
.wh-sidebar .wh-brand{margin-bottom:0}
.wh-sidebar-account{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;background:linear-gradient(135deg,#fff7ed,#ffffff);border:1px solid #fed7aa;border-radius:18px;padding:12px;box-shadow:0 10px 28px rgba(249,115,22,.08)}
.wh-account-avatar{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#fb923c,#ef4444);color:#fff;font-weight:900;font-size:18px;box-shadow:0 10px 24px rgba(239,68,68,.18)}
.wh-account-meta{min-width:0}.wh-account-meta strong{display:block;color:#111827;font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wh-account-meta span{display:block;color:#9a3412;font-size:12px;font-weight:900;margin-top:3px}.wh-account-meta small{display:block;color:#64748b;font-size:11px;font-weight:700;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wh-sidebar-logout{grid-column:1/-1;display:flex;align-items:center;justify-content:center;text-decoration:none!important;border:1px solid #fed7aa;background:#fff;color:#9a3412!important;border-radius:13px;padding:9px 11px;font-size:13px;font-weight:900}.wh-sidebar-logout:hover{background:#ffedd5;color:#ea580c!important}
.wh-mobile-menu-toggle{display:none;width:100%;border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;border-radius:16px;padding:10px 12px;align-items:center;justify-content:space-between;gap:10px;text-align:left;cursor:pointer}.wh-mobile-menu-toggle span{font-size:12px;font-weight:800;color:#9a3412}.wh-mobile-menu-toggle strong{flex:1;color:#111827;font-size:14px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wh-mobile-menu-toggle b{font-size:14px;transition:transform .18s ease}.wh-sidebar.is-menu-open .wh-mobile-menu-toggle b{transform:rotate(180deg)}
.wh-sidebar-nav{display:grid;gap:8px}

@media(max-width:980px){
  .ttmt-wh-app{grid-template-columns:1fr!important}
  .wh-sidebar{position:sticky;top:0;z-index:50;height:auto!important;overflow:visible!important;border-right:0!important;border-bottom:1px solid #e5e7eb!important;padding:12px!important;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.06)}
  .wh-sidebar-top{grid-template-columns:1fr;gap:10px}
  .wh-sidebar-account{grid-template-columns:38px 1fr auto;padding:10px;border-radius:16px}.wh-account-avatar{width:38px;height:38px;border-radius:13px;font-size:16px}.wh-sidebar-logout{grid-column:auto;padding:8px 10px;font-size:12px;white-space:nowrap}.wh-account-meta strong{font-size:13px}.wh-account-meta small{max-width:44vw}
  .wh-mobile-menu-toggle{display:flex}
  .wh-sidebar-nav{display:none!important;grid-template-columns:1fr!important;gap:6px;margin-top:0;padding:8px;border:1px solid #fed7aa;border-radius:18px;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.12)}
  .wh-sidebar.is-menu-open .wh-sidebar-nav{display:grid!important}
  .wh-sidebar-nav .wh-nav-link{padding:11px 12px;border-radius:13px}
  .wh-main{padding-top:14px!important}
}
@media(max-width:640px){
  .wh-sidebar{padding:10px!important}.wh-brand .wh-sun{width:42px;height:42px;border-radius:14px;font-size:21px}.wh-brand strong{font-size:16px}.wh-brand span{font-size:11px}
  .wh-sidebar-account{grid-template-columns:36px 1fr;gap:8px}.wh-account-avatar{width:36px;height:36px}.wh-sidebar-logout{grid-column:1/-1;width:100%}.wh-account-meta small{max-width:72vw;word-break:break-all;white-space:normal}
  .wh-mobile-menu-toggle{padding:10px}.wh-mobile-menu-toggle strong{font-size:13px}
}

/* =========================================================
   TTMT WorkHub V9.1
   - Tài khoản cố định dưới cùng sidebar trái trên desktop
   - Desktop không hiện nút Chọn chức năng
   - Mobile ẩn menu, chỉ xổ menu khi bấm dropdown
   - Phối màu nhạt để phân biệt: thông tin / cập nhật / timeline / chat
========================================================= */
@media(min-width:981px){
  .wh-sidebar{height:100vh!important;display:flex!important;flex-direction:column!important}
  .wh-mobile-menu-toggle{display:none!important}
  .wh-sidebar-nav{display:grid!important}
  .wh-sidebar-account-bottom{margin-top:auto!important}
}
.wh-sidebar-account-bottom{margin-top:auto}
.wh-sidebar-nav{flex:0 0 auto}

/* Mobile: chỉ hiện nút dropdown, ẩn danh sách chức năng cho tới khi bấm */
@media(max-width:980px){
  .wh-mobile-menu-toggle{display:flex!important}
  .wh-sidebar-nav{display:none!important}
  .wh-sidebar.is-menu-open .wh-sidebar-nav{display:grid!important}
  .wh-sidebar-account-bottom{margin-top:0!important}
}

/* Khung thông tin công việc - cam nhạt */
.wh-task-main-panel{
  background:linear-gradient(180deg,#fff7ed 0%,#ffffff 42%)!important;
  border-color:#fed7aa!important;
  box-shadow:0 16px 44px rgba(249,115,22,.08)!important;
}
.wh-task-main-panel>h3:first-child{
  color:#9a3412!important;
}
.wh-task-main-panel .wh-info{
  border-bottom-color:#ffedd5!important;
}
.wh-task-main-panel .wh-longtext{
  background:#fffaf5!important;
  border:1px solid #ffedd5!important;
  color:#475569!important;
}

/* Khung cập nhật tiến độ - xanh dương nhạt */
.wh-inline-update-panel{
  background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%)!important;
  border:1px solid #bfdbfe!important;
  border-radius:22px!important;
  padding:16px!important;
  margin-top:18px!important;
  box-shadow:0 12px 32px rgba(37,99,235,.06)!important;
}
.wh-inline-update-panel h3{
  margin-top:0!important;
  color:#1d4ed8!important;
}
.wh-inline-update-panel .wh-form input,
.wh-inline-update-panel .wh-form select,
.wh-inline-update-panel .wh-form textarea{
  border-color:#dbeafe!important;
}
.wh-inline-update-panel .wh-form input:focus,
.wh-inline-update-panel .wh-form select:focus,
.wh-inline-update-panel .wh-form textarea:focus{
  border-color:#60a5fa!important;
  box-shadow:0 0 0 4px rgba(96,165,250,.16)!important;
}

/* Khung timeline - xanh lá nhạt */
.wh-timeline-panel-v8{
  background:linear-gradient(180deg,#f0fdf4 0%,#ffffff 50%)!important;
  border-color:#bbf7d0!important;
  box-shadow:0 16px 44px rgba(22,163,74,.07)!important;
}
.wh-timeline-panel-v8 h3{
  color:#166534!important;
}
.wh-timeline-item{
  border-left-color:#22c55e!important;
  background:#f0fdf4!important;
  border-top:1px solid #dcfce7!important;
  border-right:1px solid #dcfce7!important;
  border-bottom:1px solid #dcfce7!important;
}
.wh-group-member-card:hover,
.wh-group-member-card.is-current{
  border-color:#bbf7d0!important;
  background:#f0fdf4!important;
}

/* Khung chat trao đổi - tím nhạt */
.wh-chat-panel{
  background:linear-gradient(180deg,#f5f3ff 0%,#ffffff 58%)!important;
  border-color:#ddd6fe!important;
  box-shadow:0 16px 44px rgba(124,58,237,.07)!important;
}
.wh-chat-head h3{
  color:#6d28d9!important;
}
.wh-chat-head span{
  background:#ede9fe!important;
  border-color:#ddd6fe!important;
  color:#6d28d9!important;
}
.wh-chat-list{
  background:#faf5ff!important;
  border-color:#ede9fe!important;
}
.wh-chat-bubble{
  border-color:#ede9fe!important;
}
.wh-chat-me .wh-chat-bubble{
  background:#ede9fe!important;
  border-color:#c4b5fd!important;
}
.wh-chat-other .wh-chat-bubble{
  background:#ffffff!important;
}

/* =========================================================
   TTMT WorkHub V9.2
   - Mobile: ẩn tài khoản trong dropdown Chọn chức năng
   - Highlight nhẹ menu đang chọn
   - Đồng bộ dropdown chọn người cùng phụ trách
   - Hover màu nhạt hơn
   - Heading chi tiết công việc chữ hoa
========================================================= */
.wh-nav-link{
  position:relative;
  border:1px solid transparent;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.wh-nav-link:hover{
  background:#fffaf5!important;
  border-color:#ffedd5!important;
  color:#c2410c!important;
}
.wh-nav-link.active{
  background:linear-gradient(135deg,#fff7ed,#ffffff)!important;
  border-color:#fed7aa!important;
  color:#c2410c!important;
  box-shadow:0 10px 24px rgba(249,115,22,.08)!important;
}
.wh-nav-link.active:before{
  content:'';
  width:4px;
  height:22px;
  border-radius:999px;
  background:#fb923c;
  position:absolute;
  left:6px;
  top:50%;
  transform:translateY(-50%);
  opacity:.72;
}
.wh-nav-link.active{padding-left:18px!important}

.wh-inline-update-panel h3,
.wh-timeline-panel-v8 h3{
  text-transform:uppercase;
  letter-spacing:.025em;
}

.wh-add-assignees-box{
  background:#ffffff;
  border:1px solid #dcfce7;
  border-radius:18px;
  padding:14px;
  box-shadow:0 12px 30px rgba(22,163,74,.045);
}
.wh-add-assignees-form{
  gap:12px!important;
}
.wh-add-assignees-form .wh-recipient-toggle{
  min-height:46px!important;
  border-radius:14px!important;
  background:#fff!important;
  border-color:#e5e7eb!important;
}
.wh-add-assignees-form .wh-recipient-toggle:hover{
  background:#fbfffc!important;
  border-color:#bbf7d0!important;
}
.wh-add-assignees-form .wh-recipient-picker.is-open .wh-recipient-toggle,
.wh-add-assignees-form .wh-recipient-toggle:focus{
  border-color:#86efac!important;
  box-shadow:0 0 0 4px rgba(134,239,172,.18)!important;
}
.wh-add-assignees-form .wh-recipient-panel{
  border-color:#bbf7d0!important;
  box-shadow:0 24px 70px rgba(22,163,74,.13)!important;
}
.wh-add-assignees-form .wh-recipient-mini{
  background:#f0fdf4!important;
  border-color:#bbf7d0!important;
  color:#166534!important;
}
.wh-add-assignees-form .wh-recipient-mini:hover{
  background:#f7fff9!important;
}
.wh-recipient-option:hover{
  background:#fffaf5!important;
  border-color:#ffedd5!important;
}
.wh-add-assignees-form .wh-recipient-option:hover{
  background:#fbfffc!important;
  border-color:#dcfce7!important;
}
.wh-recipient-option:has(input:checked){
  background:#fff7ed!important;
}
.wh-add-assignees-form .wh-recipient-option:has(input:checked){
  background:#f0fdf4!important;
  border-color:#86efac!important;
}
.wh-group-member-card:hover{
  background:#fbfffc!important;
  border-color:#dcfce7!important;
}
.wh-group-member-card.is-current{
  background:#f0fdf4!important;
  border-color:#bbf7d0!important;
}

@media(max-width:980px){
  .wh-sidebar-account-bottom{
    display:none!important;
    margin-top:0!important;
  }
  .wh-sidebar.is-menu-open .wh-sidebar-account-bottom{
    display:grid!important;
    margin-top:8px!important;
  }
  .wh-sidebar.is-menu-open .wh-sidebar-nav{
    margin-bottom:0!important;
  }
  .wh-sidebar-account{
    box-shadow:0 14px 36px rgba(249,115,22,.08)!important;
  }
  .wh-nav-link.active:before{
    left:7px;
    height:20px;
  }
  .wh-recipient-panel{
    border-radius:16px!important;
  }
}

/* =========================================================
   TTMT WorkHub V10.0
   - Sửa dropdown thêm người cùng phụ trách bị chìm trong khung timeline
   - Làm lại nút Chọn chức năng trên mobile để rõ nền/chữ
   - Ẩn hẳn chức năng thêm người cùng phụ trách khi không còn nhân sự phù hợp
   - Làm lại nút chọn người nhận/nhóm nhận việc trong form tạo công việc
   - Đồng bộ tiêu đề TIMELINE CÔNG VIỆC, bỏ cảm giác bị highlight
========================================================= */
.wh-timeline-panel-v8{
  overflow:visible!important;
}
.wh-timeline-panel-v8 > h3,
.wh-inline-update-panel > h3{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  background:transparent!important;
  color:inherit;
  text-decoration:none!important;
  box-shadow:none!important;
  padding:0!important;
  border:0!important;
}
.wh-timeline-panel-v8 > h3{
  color:#166534!important;
}
.wh-timeline-panel-v8 > h3::selection,
.wh-inline-update-panel > h3::selection{
  background:rgba(187,247,208,.55);
}

/* Dropdown thêm người cùng phụ trách: mở xuống trong chính khung, không bị cắt */
.wh-add-assignees-box{
  position:relative!important;
  overflow:visible!important;
  background:#ffffff!important;
  border-color:#dcfce7!important;
}
.wh-add-assignees-form,
.wh-add-assignees-form .wh-recipient-field,
.wh-add-assignees-form .wh-recipient-picker{
  overflow:visible!important;
  position:relative!important;
  z-index:30!important;
}
.wh-add-assignees-form .wh-recipient-panel{
  position:relative!important;
  display:none;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  width:100%!important;
  max-width:100%!important;
  max-height:none!important;
  overflow:visible!important;
  margin-top:10px!important;
  z-index:60!important;
  box-shadow:0 16px 42px rgba(22,163,74,.10)!important;
}
.wh-add-assignees-form .wh-recipient-picker.is-open .wh-recipient-panel{
  display:block!important;
}
.wh-add-assignees-form .wh-recipient-list{
  max-height:260px!important;
  overflow:auto!important;
  padding-right:4px!important;
}
.wh-add-assignees-form .wh-recipient-option:hover{
  background:#f8fffb!important;
  border-color:#dcfce7!important;
}

/* Form tạo công việc: nút chọn người nhận/nhóm nhận việc mềm và chuyên nghiệp hơn */
.wh-create-task-form .wh-recipient-field{
  position:relative!important;
  z-index:20!important;
}
.wh-create-task-form .wh-recipient-picker{
  z-index:40!important;
}
.wh-create-task-form .wh-recipient-picker.is-open{
  z-index:999!important;
}
.wh-create-task-form .wh-recipient-toggle{
  min-height:54px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  border:1px solid #dbe3ee!important;
  color:#1f2937!important;
  box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
  padding:12px 14px!important;
}
.wh-create-task-form .wh-recipient-toggle:hover{
  background:#ffffff!important;
  border-color:#cbd5e1!important;
  box-shadow:0 12px 30px rgba(15,23,42,.07)!important;
}
.wh-create-task-form .wh-recipient-picker.is-open .wh-recipient-toggle,
.wh-create-task-form .wh-recipient-toggle:focus{
  border-color:#fdba74!important;
  box-shadow:0 0 0 4px rgba(253,186,116,.18),0 12px 30px rgba(15,23,42,.07)!important;
}
.wh-create-task-form .wh-recipient-summary{
  color:#334155!important;
  font-weight:800!important;
}
.wh-create-task-form .wh-recipient-summary.is-placeholder{
  color:#64748b!important;
  font-weight:700!important;
}
.wh-create-task-form .wh-recipient-caret,
.wh-add-assignees-form .wh-recipient-caret{
  width:28px!important;
  height:28px!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  background:#fff7ed!important;
  color:#ea580c!important;
  font-size:13px!important;
  line-height:1!important;
}
.wh-create-task-form .wh-recipient-panel{
  border-color:#e2e8f0!important;
  box-shadow:0 24px 70px rgba(15,23,42,.13)!important;
}
.wh-create-task-form .wh-recipient-option:hover{
  background:#f8fafc!important;
  border-color:#e2e8f0!important;
}
.wh-create-task-form .wh-recipient-option:has(input:checked){
  background:#fff7ed!important;
  border-color:#fed7aa!important;
}

/* Mobile: nút Chọn chức năng rõ hơn, không bị chìm màu chữ */
@media(max-width:980px){
  .wh-mobile-menu-toggle{
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
    border:1px solid #cbd5e1!important;
    color:#0f172a!important;
    box-shadow:0 12px 28px rgba(15,23,42,.10)!important;
    border-radius:18px!important;
  }
  .wh-mobile-menu-toggle:hover,
  .wh-sidebar.is-menu-open .wh-mobile-menu-toggle{
    background:#ffffff!important;
    border-color:#fdba74!important;
    box-shadow:0 0 0 4px rgba(253,186,116,.18),0 12px 28px rgba(15,23,42,.10)!important;
  }
  .wh-mobile-menu-toggle span{
    color:#64748b!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.045em!important;
  }
  .wh-mobile-menu-toggle strong{
    color:#0f172a!important;
    font-weight:950!important;
  }
  .wh-mobile-menu-toggle b{
    width:28px!important;
    height:28px!important;
    border-radius:999px!important;
    display:grid!important;
    place-items:center!important;
    background:#fff7ed!important;
    color:#ea580c!important;
    flex:0 0 auto!important;
  }
  .wh-sidebar-nav{
    border-color:#e2e8f0!important;
    box-shadow:0 18px 48px rgba(15,23,42,.10)!important;
  }
}

/* =========================================================
   V10 STABLE - Filters, pagination, departments, logs
========================================================= */
.wh-task-filter-form{
  display:grid!important;
  grid-template-columns: minmax(180px,1.5fr) minmax(150px,.9fr) minmax(150px,.9fr) minmax(160px,.9fr) auto auto!important;
  gap:10px!important;
  align-items:center!important;
  padding:14px!important;
  margin:0 0 16px!important;
  border:1px solid #e5e7eb!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.04)!important;
}
.wh-task-filter-form input,
.wh-task-filter-form select{
  width:100%!important;
  min-height:42px!important;
  border:1px solid #e2e8f0!important;
  border-radius:13px!important;
  padding:9px 12px!important;
  background:#fff!important;
  color:#0f172a!important;
  font-weight:700!important;
  font-size:13px!important;
  outline:none!important;
}
.wh-task-filter-form input:focus,
.wh-task-filter-form select:focus{
  border-color:#fdba74!important;
  box-shadow:0 0 0 4px rgba(253,186,116,.18)!important;
}
.wh-btn-ghost{
  background:#fff!important;
  color:#64748b!important;
  border:1px solid #e5e7eb!important;
}
.wh-pagination{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:16px!important;
  justify-content:flex-end!important;
}
.wh-pagination a{
  min-width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #e5e7eb!important;
  border-radius:12px!important;
  color:#475569!important;
  text-decoration:none!important;
  background:#fff!important;
  font-weight:800!important;
}
.wh-pagination a.active,
.wh-pagination a:hover{
  background:#fff7ed!important;
  color:#ea580c!important;
  border-color:#fed7aa!important;
}
.wh-dept-add-form{
  margin-bottom:18px!important;
}
.wh-dept-row-form{
  display:grid!important;
  grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) 120px auto!important;
  gap:8px!important;
}
.wh-dept-row-form input,
.wh-dept-row-form select{
  min-height:38px!important;
  border:1px solid #e2e8f0!important;
  border-radius:12px!important;
  padding:8px 10px!important;
  background:#fff!important;
}
.wh-checkbox-line{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:46px!important;
  padding:12px 14px!important;
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
  background:#fff!important;
  font-weight:800!important;
}
.wh-checkbox-line input{
  width:auto!important;
  min-height:auto!important;
}
.wh-table code{
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  border-radius:8px!important;
  padding:3px 6px!important;
  font-size:12px!important;
  color:#334155!important;
}
@media(max-width:1100px){
  .wh-task-filter-form{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:680px){
  .wh-task-filter-form,
  .wh-dept-row-form{
    grid-template-columns:1fr!important;
  }
  .wh-task-filter-form .wh-btn,
  .wh-dept-row-form .wh-btn{
    width:100%!important;
  }
}

/* =========================================================
   TTMT WorkHub V10.1
   - Sidebar gọn hơn, không mất chữ
   - Timeline chứa trọn phần thêm người phụ trách
   - Filter thêm người nhận + phòng ban
   - Bổ sung cộng tác viên ngay trong công việc cũ, không sinh task mới
========================================================= */
.ttmt-wh-app{
  grid-template-columns:minmax(236px,280px) minmax(0,1fr)!important;
}
.wh-sidebar{
  width:auto!important;
  max-width:280px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:18px!important;
}
.wh-sidebar-nav,
.wh-sidebar nav{
  gap:6px!important;
  min-width:0!important;
}
.wh-nav-link,
.wh-sidebar-nav .wh-nav-link{
  font-size:14px!important;
  line-height:1.25!important;
  padding:9px 11px!important;
  min-height:40px!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:break-word!important;
  border-radius:12px!important;
}
.wh-nav-link.active{
  padding-left:17px!important;
}
.wh-nav-link.active:before{
  left:5px!important;
  height:18px!important;
}
.wh-sidebar-account{
  min-width:0!important;
}
.wh-account-meta,
.wh-account-meta strong,
.wh-account-meta span,
.wh-account-meta small{
  min-width:0!important;
  max-width:100%!important;
}
.wh-account-meta strong{
  font-size:14px!important;
  line-height:1.25!important;
  white-space:normal!important;
}
.wh-sidebar-logout{
  min-height:38px!important;
  font-size:13px!important;
}
.wh-timeline-panel-v8{
  position:relative!important;
  top:auto!important;
  max-height:none!important;
  overflow:visible!important;
  display:block!important;
  contain:initial!important;
}
.wh-timeline-panel-v8 > h3:first-child{
  margin-top:0!important;
}
.wh-timeline-panel-v8 hr{
  clear:both!important;
}
.wh-add-assignees-box{
  position:relative!important;
  z-index:20!important;
  clear:both!important;
  width:100%!important;
  max-width:100%!important;
  margin:10px 0 0!important;
  overflow:visible!important;
}
.wh-add-assignees-form,
.wh-add-assignees-form .wh-recipient-field,
.wh-add-assignees-form .wh-recipient-picker{
  width:100%!important;
  max-width:100%!important;
}
.wh-add-assignees-form .wh-recipient-panel{
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:100%!important;
  z-index:9999!important;
}
.wh-group-collaborator-card{
  cursor:default!important;
  background:#f8fafc!important;
  border-color:#dbeafe!important;
}
.wh-group-collaborator-card:hover{
  background:#eff6ff!important;
  border-color:#bfdbfe!important;
}
.wh-task-filter-form{
  grid-template-columns:minmax(180px,1.35fr) repeat(4,minmax(138px,.85fr)) auto auto!important;
}
.wh-task-filter-form select,
.wh-task-filter-form input[type="search"]{
  min-height:42px!important;
  border-radius:13px!important;
}
.wh-table{
  min-width:900px!important;
}
@media(max-width:1200px){
  .wh-task-filter-form{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .wh-task-filter-form .wh-btn{
    width:100%!important;
  }
}
@media(max-width:980px){
  .ttmt-wh-app{
    grid-template-columns:1fr!important;
  }
  .wh-sidebar{
    max-width:none!important;
    width:100%!important;
    padding:10px!important;
  }
  .wh-sidebar-nav .wh-nav-link{
    font-size:13px!important;
    min-height:38px!important;
    padding:9px 10px!important;
  }
  .wh-sidebar-account-bottom{
    display:none!important;
  }
  .wh-sidebar.is-menu-open .wh-sidebar-account-bottom{
    display:grid!important;
  }
}
@media(max-width:640px){
  .wh-task-filter-form{
    grid-template-columns:1fr!important;
    padding:12px!important;
  }
  .wh-nav-link,
  .wh-sidebar-nav .wh-nav-link{
    font-size:13px!important;
  }
}

/* =========================================================
   TTMT WorkHub V10.2
   - Xóa người cùng phụ trách
   - Khóa mọi thao tác khi công việc đã hủy
   - Thêm cột cập nhật mới nhất trong danh sách việc
   - Làm rộng dropdown thêm người cùng phụ trách
   - Ẩn caret trong nút chọn người nhận/nhóm nhận việc khi tạo việc
========================================================= */
.wh-table{min-width:980px!important}
.wh-latest-update{display:grid;gap:2px;min-width:160px;max-width:260px;color:#334155;font-size:12px;line-height:1.35}
.wh-latest-update strong{display:block;font-size:12px;color:#111827;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wh-latest-update small{display:block!important;margin:0!important;color:#94a3b8!important;font-size:11px!important;font-weight:700!important}
.wh-latest-update span{display:block;color:#64748b;font-weight:700;word-break:break-word}
.wh-latest-empty{display:inline-flex;align-items:center;justify-content:center;background:#f8fafc;border:1px dashed #e2e8f0;border-radius:999px;padding:6px 10px;color:#94a3b8;font-weight:800;min-width:auto;max-width:none}
.wh-collaborator-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.wh-collaborator-card-main{min-width:0}.wh-remove-collaborator-form{margin:0;display:flex;align-items:center}.wh-btn-remove{background:#fff!important;color:#b91c1c!important;border:1px solid #fecaca!important;padding:7px 10px!important;border-radius:999px!important;font-size:12px!important;box-shadow:none!important}.wh-btn-remove:hover{background:#fef2f2!important;border-color:#fca5a5!important;color:#991b1b!important}
.wh-cancelled-note{background:#f8fafc!important;border-color:#cbd5e1!important;color:#64748b!important;text-align:left!important}
.wh-add-assignees-box{padding:16px!important;width:100%!important;max-width:100%!important;margin-top:8px!important}
.wh-add-assignees-form{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
.wh-add-assignees-form .wh-recipient-field{width:100%!important;max-width:100%!important;display:block!important;grid-column:1/-1!important;margin:0!important}
.wh-add-assignees-form .wh-recipient-picker{width:100%!important;max-width:100%!important}
.wh-add-assignees-form .wh-recipient-toggle{width:100%!important;min-height:58px!important;padding:14px 16px!important;border-radius:18px!important;font-size:15px!important}
.wh-add-assignees-form .wh-recipient-panel{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.wh-add-assignees-form .wh-btn-primary{width:100%!important;min-height:46px!important}
.wh-create-task-form .wh-recipient-caret{display:none!important}
.wh-create-task-form .wh-recipient-toggle{justify-content:flex-start!important}
.wh-create-task-form .wh-recipient-summary{width:100%!important}
@media(max-width:640px){.wh-table{min-width:960px!important}.wh-collaborator-card{grid-template-columns:1fr}.wh-remove-collaborator-form{justify-content:flex-start}.wh-btn-remove{width:auto!important}.wh-add-assignees-form .wh-recipient-toggle{min-height:54px!important}.wh-latest-update{max-width:220px}}

/* =========================================================
   TTMT WorkHub V10.3
   - Chuẩn hóa tên nhân sự
   - Logo tùy chỉnh
   - Ảnh đại diện + hồ sơ cá nhân
   - Đề xuất công việc chờ duyệt
========================================================= */
.wh-brand-logo-img,
.wh-auth-logo-inner{
  overflow:hidden!important;
  background:#fff7ed!important;
  border:1px solid #fed7aa!important;
}
.wh-brand-logo-img img,
.wh-auth-logo-inner img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
}
.wh-account-avatar-img{overflow:hidden!important;padding:0!important;background:#fff!important}
.wh-account-avatar-img img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:inherit!important}
.wh-profile-form{align-items:start!important}
.wh-profile-avatar-box{
  grid-row:span 3;
  display:grid!important;
  gap:12px!important;
  padding:18px!important;
  border:1px solid #e2e8f0!important;
  background:#f8fafc!important;
  border-radius:22px!important;
}
.wh-profile-avatar{width:96px!important;height:96px!important;font-size:34px!important}
.wh-profile-avatar-box label{display:grid!important;gap:8px!important;margin:0!important}
.wh-profile-avatar-box small{color:#64748b!important;font-weight:700!important;line-height:1.4!important}
.wh-logo-preview{display:flex!important;align-items:center!important;gap:12px!important;padding:12px!important;border:1px solid #e2e8f0!important;border-radius:18px!important;background:#f8fafc!important}
.wh-logo-preview span{font-weight:900!important;color:#475569!important}
.wh-logo-preview img{max-height:48px!important;max-width:180px!important;object-fit:contain!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:12px!important;padding:6px!important}
.wh-member-admin-cell{display:flex!important;align-items:center!important;gap:10px!important;min-width:220px!important}
.wh-member-table-avatar{width:40px!important;height:40px!important;min-width:40px!important;font-size:16px!important}
.wh-member-admin-form input[type="text"]{min-width:130px!important}
.wh-badge-warning,
.wh-badge .wh-badge-warning{background:#fff7ed!important;color:#9a3412!important;border-color:#fed7aa!important}
.wh-note b{color:#9a3412!important}
.wh-task-main-panel .wh-badge-warning{box-shadow:none!important}
.wh-recipient-toggle-no-caret .wh-recipient-caret{display:none!important}
.wh-recipient-toggle-no-caret{padding-right:16px!important}
@media(max-width:720px){
  .wh-profile-form{grid-template-columns:1fr!important}
  .wh-profile-avatar-box{grid-row:auto!important}
  .wh-profile-avatar{width:82px!important;height:82px!important}
  .wh-logo-preview{align-items:flex-start!important;flex-direction:column!important}
}

/* =========================================================
   TTMT WorkHub V10.4 - Breadcrumb + active context polish
========================================================= */
.wh-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
  padding:10px 12px;
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:linear-gradient(135deg,#f8fafc,#ffffff);
  color:#64748b;
  font-size:13px;
  font-weight:800;
}
.wh-breadcrumb a{
  color:#ea580c!important;
  text-decoration:none!important;
}
.wh-breadcrumb a:hover{
  color:#c2410c!important;
  text-decoration:underline!important;
}
.wh-breadcrumb span:last-child{
  color:#334155;
}
.wh-breadcrumb-sep{
  color:#cbd5e1!important;
  font-weight:900;
}
.wh-nav-link.active{
  background:linear-gradient(135deg,#fff7ed,#fff1f2)!important;
  color:#c2410c!important;
  box-shadow:inset 3px 0 0 #f97316, 0 8px 22px rgba(249,115,22,.08)!important;
}
.wh-detail-head .wh-back{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-bottom:8px;
}
@media(max-width:640px){
  .wh-breadcrumb{
    font-size:12px;
    padding:9px 10px;
    margin-bottom:12px;
  }
  .wh-detail-head .wh-back{
    font-size:13px;
  }
}

/* V10.7: khóa công việc đã hoàn thành + con dấu hoàn thành */
.wh-task-main-panel{position:relative;overflow:hidden}
.wh-completed-stamp{position:absolute;right:20px;top:18px;width:118px;height:118px;border:4px solid rgba(22,163,74,.78);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-12deg);background:rgba(240,253,244,.72);color:#15803d;text-align:center;z-index:2;box-shadow:0 10px 28px rgba(22,163,74,.12);pointer-events:none}
.wh-completed-stamp span{font-size:15px;font-weight:1000;line-height:1.05;letter-spacing:.04em;text-transform:uppercase;max-width:92px}
.wh-completed-stamp small{font-size:10px;font-weight:900;line-height:1.1;margin-top:5px;color:#166534;text-transform:uppercase;letter-spacing:.03em}
.wh-locked-note{background:#f0fdf4!important;border-color:#86efac!important;color:#166534!important}
.wh-status-done-mini{font-size:11px!important;padding:4px 8px!important;line-height:1!important;white-space:nowrap;border:1px solid #bbf7d0!important;box-shadow:none!important}
.wh-table td:nth-child(6){min-width:108px}
@media(max-width:780px){.wh-completed-stamp{position:relative;right:auto;top:auto;margin:0 0 14px auto;width:96px;height:96px;border-width:3px}.wh-completed-stamp span{font-size:12px;max-width:76px}.wh-completed-stamp small{font-size:9px}.wh-status-done-mini{font-size:10px!important;padding:4px 7px!important}}

/* =========================================================
   TTMT WorkHub V10.9
   - Tổng quan chỉ hiển thị thống kê theo tháng
   - Mở full chiều ngang các màn hình quản trị trên desktop
   - Logo admin rõ hơn
   - Nền thông báo mới đổi màu dịu hơn
========================================================= */
.ttmt-wh-app .wh-main{
  width:100%!important;
  max-width:none!important;
}
.ttmt-wh-app .wh-section,
.ttmt-wh-app .wh-form-section,
.ttmt-wh-app .wh-dashboard-summary-section{
  width:100%!important;
  max-width:none!important;
}
.ttmt-wh-app .wh-section > .wh-form,
.ttmt-wh-app .wh-section > .wh-table-wrap,
.ttmt-wh-app .wh-section > .wh-task-filter-form{
  width:100%!important;
  max-width:none!important;
}
.wh-dashboard-actions{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:flex-end!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
.wh-month-filter-form{
  display:flex!important;
  align-items:flex-end!important;
  gap:10px!important;
  margin:0!important;
}
.wh-month-filter-form label{
  display:grid!important;
  gap:6px!important;
  font-size:12px!important;
  color:#475569!important;
  font-weight:900!important;
}
.wh-month-filter-form select{
  min-width:180px!important;
  height:44px!important;
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
  padding:0 12px!important;
  background:#fff!important;
  color:#334155!important;
  font-weight:800!important;
}
.wh-dashboard-period{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  margin:-4px 0 16px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  color:#64748b!important;
  font-size:13px!important;
  font-weight:800!important;
}
.wh-dashboard-period strong{color:#0f172a!important}
.wh-dashboard-stats-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  margin-bottom:16px!important;
}
.wh-stat-card{
  min-height:132px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
}
.wh-stat-card small{
  display:block!important;
  margin-top:10px!important;
  color:#64748b!important;
  font-weight:800!important;
  line-height:1.35!important;
}
.wh-rate-panel{
  margin-top:4px!important;
  border:1px solid #e2e8f0!important;
  border-radius:22px!important;
  padding:18px!important;
  background:linear-gradient(135deg,#f8fafc,#ffffff)!important;
}
.wh-rate-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:10px!important;
}
.wh-rate-head strong{font-size:16px!important;color:#0f172a!important}
.wh-rate-head span{font-size:24px!important;font-weight:1000!important;color:#15803d!important}
.wh-rate-bar{
  height:14px!important;
  border-radius:999px!important;
  overflow:hidden!important;
  background:#e2e8f0!important;
}
.wh-rate-bar i{
  display:block!important;
  height:100%!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#22c55e,#16a34a)!important;
}
.wh-rate-panel p{
  margin:10px 0 0!important;
  color:#64748b!important;
  font-weight:700!important;
}
.wh-dept-add-form,
.wh-dept-row-form,
.wh-settings-form,
.wh-grid-form{
  max-width:none!important;
}
.wh-dept-row-form{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(180px,1fr) minmax(220px,2fr) minmax(130px,.6fr) auto!important;
  gap:8px!important;
}
.wh-dept-row-form input,
.wh-dept-row-form select{max-width:none!important;width:100%!important}
.wh-notification-item.is-unread{
  border-color:#bfdbfe!important;
  background:linear-gradient(135deg,#eff6ff,#f8fafc)!important;
  box-shadow:0 10px 28px rgba(37,99,235,.08)!important;
}
.wh-notification-item.is-unread .wh-notification-icon{
  background:#dbeafe!important;
  border-color:#bfdbfe!important;
}
.wh-logo-upload-field small{
  color:#64748b!important;
  font-weight:700!important;
  line-height:1.45!important;
}
.wh-logo-preview{
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
}
.wh-logo-remove{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin-left:auto!important;
  font-size:13px!important;
  font-weight:900!important;
  color:#9a3412!important;
}
.wh-logo-remove input{width:auto!important}
@media(max-width:1180px){
  .wh-dashboard-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .wh-dept-row-form{grid-template-columns:1fr 1fr!important}
  .wh-dept-row-form .wh-btn{width:100%!important}
}
@media(max-width:720px){
  .wh-dashboard-head{display:grid!important}
  .wh-dashboard-actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important}
  .wh-month-filter-form{width:100%!important;display:grid!important}
  .wh-month-filter-form select{width:100%!important;min-width:0!important}
  .wh-dashboard-stats-grid{grid-template-columns:1fr!important}
  .wh-stat-card{min-height:110px!important}
  .wh-rate-head span{font-size:20px!important}
  .wh-dept-add-form{grid-template-columns:1fr!important}
  .wh-dept-row-form{grid-template-columns:1fr!important}
  .wh-logo-remove{margin-left:0!important;width:100%!important}
}


/* V10.10: nền thông báo xanh nhạt + card thống kê có thể nhấp */
.wh-btn-notify{
  background:linear-gradient(135deg,#dbeafe 0%,#eff6ff 100%)!important;
  color:#1e3a8a!important;
  border:1px solid #bfdbfe!important;
  box-shadow:0 12px 26px rgba(37,99,235,.12)!important;
}
.wh-btn-notify:hover{
  background:linear-gradient(135deg,#bfdbfe 0%,#dbeafe 100%)!important;
  color:#1e40af!important;
  border-color:#93c5fd!important;
  transform:translateY(-1px);
}
.wh-btn-notify span{
  background:#ef4444!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(239,68,68,.22)!important;
}
.wh-stat-link{
  text-decoration:none!important;
  color:inherit!important;
  position:relative!important;
  cursor:pointer!important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease!important;
}
.wh-stat-link:hover,
.wh-stat-link:focus-visible{
  transform:translateY(-3px)!important;
  border-color:#93c5fd!important;
  box-shadow:0 18px 42px rgba(37,99,235,.14)!important;
  background:linear-gradient(135deg,#ffffff 0%,#eff6ff 100%)!important;
  outline:none!important;
}
.wh-stat-link:hover span,
.wh-stat-link:focus-visible span{color:#1d4ed8!important}
.wh-stat-link::after{
  content:"Xem danh sách →";
  display:inline-flex;
  width:max-content;
  max-width:100%;
  margin-top:12px;
  padding:5px 9px;
  border-radius:999px;
  background:#eff6ff;
  color:#2563eb;
  font-size:11px;
  line-height:1;
  font-weight:900;
  opacity:0;
  transform:translateY(4px);
  transition:opacity .18s ease, transform .18s ease;
}
.wh-stat-link:hover::after,
.wh-stat-link:focus-visible::after{
  opacity:1;
  transform:translateY(0);
}
@media(max-width:640px){
  .wh-stat-link::after{opacity:1;transform:none;font-size:10px;margin-top:8px}
  .wh-btn-notify{color:#1e3a8a!important;background:linear-gradient(135deg,#dbeafe,#eff6ff)!important}
}

/* TTMT WorkHub V11.0 Stable refinements */
.wh-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 16px;
  padding:8px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:18px;
  background:#f8fafc;
}
.wh-tabs a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 14px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  color:#64748b;
  background:transparent;
  transition:.18s ease;
}
.wh-tabs a:hover{
  background:#eef6ff;
  color:#1d4ed8;
}
.wh-tabs a.active{
  background:#dbeafe;
  color:#1e3a8a;
  box-shadow:0 8px 20px rgba(59,130,246,.12);
}
.wh-secure-file{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:8px;
  padding:8px 12px;
  border-radius:12px;
  background:#eff6ff;
  color:#1d4ed8 !important;
  text-decoration:none;
  font-weight:800;
}
.wh-secure-file:hover{
  background:#dbeafe;
}
.wh-reopen-form{
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-radius:18px;
  padding:16px;
}
@media (max-width: 768px){
  .wh-tabs{display:grid;grid-template-columns:1fr;gap:8px;padding:8px}
  .wh-tabs a{width:100%}
}

/* =========================================================
   TTMT WORKHUB V12.0 - UX & REPORTING STABLE
========================================================= */
.wh-detail-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0;
  padding:10px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:18px;
}
.wh-detail-tabs button{
  border:1px solid #dbe6f3;
  background:#fff;
  color:#334155;
  border-radius:14px;
  padding:11px 16px;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}
.wh-detail-tabs button:hover{
  background:#eff6ff;
  border-color:#bfdbfe;
  transform:translateY(-1px);
}
.wh-detail-tabs button.active{
  background:#e0f2fe;
  color:#075985;
  border-color:#7dd3fc;
  box-shadow:0 8px 20px rgba(14,165,233,.12);
}
.wh-detail-tab-panel{display:none;}
.wh-detail-tab-panel.active{display:block;}
.wh-detail-tab-panels .wh-panel{margin-bottom:18px;}
.wh-quiet-empty{background:#f8fafc!important;border-color:#e2e8f0!important;color:#64748b!important;}
.wh-dashboard-insights{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:20px;
}
.wh-insight-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:22px;
  padding:20px;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.wh-insight-card h3{margin:0 0 16px;color:#0f172a;font-size:18px;}
.wh-span-2{grid-column:1 / -1;}
.wh-mini-chart{display:grid;gap:12px;}
.wh-mini-chart-row{display:grid;grid-template-columns:110px 1fr 40px;gap:12px;align-items:center;font-weight:700;color:#475569;}
.wh-mini-chart-row i{height:12px;background:#eef2ff;border-radius:999px;overflow:hidden;display:block;}
.wh-mini-chart-row i b{height:100%;display:block;border-radius:999px;background:linear-gradient(90deg,#60a5fa,#f97316);}
.wh-mini-chart-row strong{text-align:right;color:#0f172a;}
.wh-ranking-list{list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.wh-ranking-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;}
.wh-ranking-list li strong{background:#fee2e2;color:#991b1b;border-radius:999px;padding:4px 10px;}
.wh-upcoming-list{display:grid;gap:10px;}
.wh-upcoming-list a{display:grid;gap:4px;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;text-decoration:none;color:#0f172a;transition:.18s ease;}
.wh-upcoming-list a:hover{background:#eff6ff;border-color:#bfdbfe;transform:translateY(-1px);}
.wh-upcoming-list span{font-size:13px;color:#64748b;}
.wh-muted{color:#64748b;margin:0;}
.wh-btn-export{background:#e0f2fe!important;border-color:#7dd3fc!important;color:#075985!important;}

@media (max-width: 760px){
  .wh-detail-tabs{position:sticky;top:0;z-index:8;overflow-x:auto;flex-wrap:nowrap;border-radius:16px;margin:12px 0;-webkit-overflow-scrolling:touch;}
  .wh-detail-tabs button{white-space:nowrap;padding:10px 13px;font-size:14px;}
  .wh-dashboard-insights{grid-template-columns:1fr;}
  .wh-mini-chart-row{grid-template-columns:92px 1fr 34px;font-size:13px;}
  .wh-table-wrap{overflow:visible;}
  .wh-table thead{display:none;}
  .wh-table, .wh-table tbody, .wh-table tr, .wh-table td{display:block;width:100%;}
  .wh-table tr{background:#fff;border:1px solid #e2e8f0;border-radius:18px;margin:0 0 14px;padding:12px;box-shadow:0 8px 18px rgba(15,23,42,.04);}
  .wh-table td{border:0!important;padding:10px 0!important;display:grid;grid-template-columns:118px 1fr;gap:10px;align-items:start;}
  .wh-table td:before{content:attr(data-label);font-weight:900;color:#64748b;text-transform:uppercase;font-size:11px;letter-spacing:.04em;}
  .wh-table td[data-label="Công việc"]{display:block;}
  .wh-table td[data-label="Công việc"]:before{display:block;margin-bottom:6px;}
  .wh-latest-update{max-width:none;}
}


/* ===== TTMT WorkHub V12.1 - cân bằng màu sắc & khóa duyệt khi chọn Hủy ===== */
.ttmt-wh-app,
.ttmt-wh-auth{
  --wh-primary:#2563eb;
  --wh-primary-dark:#1d4ed8;
  --wh-primary-soft:#eff6ff;
  --wh-primary-soft-2:#dbeafe;
  --wh-accent:#f97316;
  --wh-accent-soft:#fff7ed;
  --wh-accent-border:#fed7aa;
  --wh-text:#0f172a;
  --wh-muted:#64748b;
  --wh-border:#e2e8f0;
  --wh-surface:#ffffff;
  --wh-bg:#f6f8fc;
  --wh-danger:#dc2626;
  --wh-success:#16a34a;
}
.ttmt-wh-app{background:var(--wh-bg)!important;color:var(--wh-text)!important;}
.ttmt-wh-auth{background:linear-gradient(135deg,#eff6ff 0%,#ffffff 48%,#fff7ed 100%)!important;}
.wh-auth-card,.wh-section,.wh-panel,.wh-topbar,.wh-sidebar{border-color:var(--wh-border)!important;box-shadow:0 18px 50px rgba(15,23,42,.055)!important;}
.wh-logo,.wh-sun{background:linear-gradient(135deg,var(--wh-primary),var(--wh-accent))!important;box-shadow:0 14px 34px rgba(37,99,235,.18)!important;}
.wh-auth-brand h1,.wh-brand strong{color:#1e3a8a!important;}
.wh-auth a,.wh-main a,.wh-back,.wh-task-title:hover{color:var(--wh-primary)!important;}
.wh-form input:focus,.wh-form select:focus,.wh-form textarea:focus{border-color:#93c5fd!important;box-shadow:0 0 0 4px rgba(37,99,235,.12)!important;}
.wh-btn-primary{background:linear-gradient(135deg,var(--wh-primary),var(--wh-primary-dark))!important;color:#fff!important;box-shadow:0 12px 28px rgba(37,99,235,.20)!important;}
.wh-btn-primary:hover{filter:brightness(1.02);transform:translateY(-1px);}
.wh-btn-light{background:#f8fafc!important;color:#334155!important;border:1px solid var(--wh-border)!important;}
.wh-btn-light:hover{background:var(--wh-primary-soft)!important;color:var(--wh-primary-dark)!important;border-color:#bfdbfe!important;}
.wh-btn-success{background:linear-gradient(135deg,#16a34a,#15803d)!important;}
.wh-btn-warning{background:linear-gradient(135deg,#f59e0b,#d97706)!important;}
.wh-nav-link{color:#334155!important;}
.wh-nav-link:hover,.wh-nav-link.active{background:var(--wh-primary-soft)!important;color:var(--wh-primary-dark)!important;box-shadow:inset 3px 0 0 var(--wh-primary)!important;}
.wh-sidebar-account{background:linear-gradient(135deg,#eff6ff,#ffffff)!important;border-color:#bfdbfe!important;box-shadow:0 10px 28px rgba(37,99,235,.08)!important;}
.wh-sidebar-logout{border-color:#bfdbfe!important;color:#1d4ed8!important;background:#fff!important;}
.wh-sidebar-logout:hover{background:#eff6ff!important;color:#1e40af!important;}
.wh-mobile-menu-toggle{background:linear-gradient(135deg,#dbeafe,#eff6ff)!important;border-color:#bfdbfe!important;color:#1e3a8a!important;}
.wh-mobile-menu-toggle span{color:#1e40af!important}.wh-mobile-menu-toggle strong{color:#0f172a!important;}
.wh-card,.wh-stat-card{background:linear-gradient(135deg,#eff6ff,#ffffff)!important;border-color:#bfdbfe!important;}
.wh-card span,.wh-stat-card span{color:#1e40af!important;}
.wh-stat-link:hover,.wh-stat-link:focus-visible{border-color:#93c5fd!important;box-shadow:0 18px 46px rgba(37,99,235,.14)!important;}
.wh-progress span{background:linear-gradient(135deg,var(--wh-primary),var(--wh-accent))!important;}
.wh-timeline-item{border-left-color:var(--wh-primary)!important;background:#f8fbff!important;}
.wh-note{background:var(--wh-primary-soft)!important;border-color:#bfdbfe!important;color:#1e40af!important;}
.wh-empty{background:#f8fbff!important;border-color:#bfdbfe!important;color:#1e40af!important;}
.wh-chat-panel{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;}
.wh-chat-head span{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1e40af!important;}
.wh-chat-me .wh-chat-bubble{background:#eff6ff!important;border-color:#bfdbfe!important;}
.wh-notification-item.is-unread{border-color:#93c5fd!important;background:linear-gradient(135deg,#eff6ff,#f8fbff)!important;}
.wh-notification-item.is-unread .wh-notification-icon{background:#dbeafe!important;border-color:#93c5fd!important;color:#1e40af!important;}
.wh-btn-notify{color:#1e3a8a!important;background:linear-gradient(135deg,#dbeafe,#eff6ff)!important;border-color:#bfdbfe!important;box-shadow:0 12px 28px rgba(37,99,235,.12)!important;}
.wh-btn-notify:hover{background:linear-gradient(135deg,#bfdbfe,#dbeafe)!important;}
.wh-btn-disabled-soft{background:#e5e7eb!important;border-color:#cbd5e1!important;color:#64748b!important;box-shadow:none!important;filter:none!important;transform:none!important;}
.wh-btn-disabled-soft::after{content:'Đang chọn Hủy';font-size:10px;font-weight:900;background:#fff;color:#64748b;border:1px solid #cbd5e1;border-radius:999px;padding:2px 6px;margin-left:2px;}
.wh-status-done-mini{background:#ecfdf5!important;color:#15803d!important;border-color:#bbf7d0!important;}
.wh-badge-info{background:#eff6ff!important;color:#1d4ed8!important;}.wh-badge-warning{background:#fffbeb!important;color:#b45309!important;}.wh-badge-danger{background:#fef2f2!important;color:#b91c1c!important;}.wh-badge-success{background:#ecfdf5!important;color:#15803d!important;}
@media(max-width:640px){.wh-btn-disabled-soft::after{display:none}.wh-btn-primary:hover{transform:none}}


/* =========================================================
   TTMT WorkHub V12.2
   - Logo/brand trước TTMT WorkHub bấm về Tổng quan
   - Nút Chọn chức năng trên mobile thiết kế lại chuyên nghiệp hơn
   - Chống tràn khung công việc sang phải trên mobile
========================================================= */
.wh-brand-link{
  text-decoration:none!important;
  color:inherit!important;
  border-radius:18px;
  padding:6px;
  margin:-6px;
  transition:background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.wh-brand-link:hover{
  background:#eff6ff!important;
  box-shadow:0 10px 26px rgba(37,99,235,.08)!important;
  transform:translateY(-1px);
}
.wh-brand-link:focus-visible{
  outline:3px solid rgba(37,99,235,.22);
  outline-offset:3px;
}
.wh-brand-link .wh-sun{flex:0 0 auto;}

@media(max-width:980px){
  .wh-sidebar-top{
    gap:12px!important;
  }
  .wh-mobile-menu-toggle{
    min-height:62px!important;
    padding:12px 14px!important;
    border-radius:22px!important;
    border:1px solid #bfdbfe!important;
    background:linear-gradient(135deg,#eff6ff 0%,#ffffff 62%,#fff7ed 100%)!important;
    box-shadow:0 14px 34px rgba(15,23,42,.10)!important;
    position:relative!important;
    overflow:hidden!important;
  }
  .wh-mobile-menu-toggle::before{
    content:'☰';
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    font-size:18px;
    font-weight:900;
    box-shadow:0 10px 22px rgba(37,99,235,.22);
    flex:0 0 auto;
  }
  .wh-mobile-menu-toggle span{
    display:block!important;
    font-size:10px!important;
    line-height:1.1!important;
    color:#2563eb!important;
    text-transform:uppercase!important;
    letter-spacing:.085em!important;
    font-weight:950!important;
    margin-bottom:3px!important;
  }
  .wh-mobile-menu-toggle strong{
    display:block!important;
    color:#0f172a!important;
    font-size:14px!important;
    line-height:1.25!important;
    font-weight:950!important;
    min-width:0!important;
  }
  .wh-mobile-menu-toggle b{
    width:34px!important;
    height:34px!important;
    border-radius:999px!important;
    background:#dbeafe!important;
    color:#1d4ed8!important;
    border:1px solid #bfdbfe!important;
    box-shadow:none!important;
    flex:0 0 auto!important;
  }
  .wh-sidebar.is-menu-open .wh-mobile-menu-toggle{
    border-color:#93c5fd!important;
    box-shadow:0 0 0 4px rgba(37,99,235,.12),0 14px 34px rgba(15,23,42,.10)!important;
  }
  .wh-sidebar-nav{
    margin-top:2px!important;
    padding:10px!important;
    border-radius:22px!important;
    border:1px solid #dbeafe!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  }
  .wh-sidebar-nav .wh-nav-link{
    min-height:44px!important;
    font-size:14px!important;
    border:1px solid transparent!important;
  }
  .wh-sidebar-nav .wh-nav-link.active{
    border-color:#bfdbfe!important;
  }
}

@media(max-width:760px){
  html,body{
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  .ttmt-wh-app,
  .wh-main,
  .wh-section,
  .wh-panel,
  .wh-topbar,
  .wh-table-wrap,
  .wh-dashboard-insights,
  .wh-detail-tab-panel,
  .wh-v12-detail{
    max-width:100%!important;
    min-width:0!important;
  }
  .ttmt-wh-app{
    overflow-x:hidden!important;
  }
  .wh-main{
    width:100%!important;
    padding-left:10px!important;
    padding-right:10px!important;
    overflow-x:hidden!important;
  }
  .wh-section,
  .wh-panel,
  .wh-topbar{
    width:100%!important;
    overflow-wrap:anywhere!important;
  }
  .wh-table-wrap{
    overflow-x:hidden!important;
    border:0!important;
  }
  .wh-table,
  .wh-table tbody,
  .wh-table tr,
  .wh-table td{
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  .wh-table tr{
    overflow:hidden!important;
  }
  .wh-table td{
    grid-template-columns:minmax(86px,34%) minmax(0,1fr)!important;
  }
  .wh-table td > *,
  .wh-task-title,
  .wh-latest-update,
  .wh-person,
  .wh-person-inline,
  .wh-longtext,
  .wh-chat-bubble,
  .wh-timeline-item{
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  .wh-actions,
  .wh-section-head,
  .wh-detail-head{
    max-width:100%!important;
  }
  .wh-actions .wh-btn,
  .wh-section-head .wh-btn{
    white-space:normal!important;
  }
  .wh-detail-tabs{
    max-width:100%!important;
  }
}

@media(max-width:420px){
  .wh-mobile-menu-toggle{
    grid-template-columns:auto minmax(0,1fr) auto!important;
    gap:10px!important;
  }
  .wh-mobile-menu-toggle strong{font-size:13px!important;}
  .wh-table td{grid-template-columns:1fr!important;gap:5px!important;}
  .wh-table td:before{margin-bottom:2px;}
}

/* =========================================================
   V13 - Performance, Realtime, Mobile Smart List, Project roles
========================================================= */
.wh-infinite-loader{
  margin:18px 0 4px;
  padding:14px 16px;
  border:1px dashed #bfdbfe;
  background:#eff6ff;
  color:#1d4ed8;
  border-radius:16px;
  text-align:center;
  font-weight:700;
}
.wh-realtime-hint{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  padding:12px 14px;
  border:1px solid #bae6fd;
  background:#e0f2fe;
  color:#075985;
  border-radius:14px;
  font-weight:700;
}
.wh-realtime-hint button{
  border:0;
  border-radius:999px;
  padding:8px 12px;
  background:#0284c7;
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.wh-project-chip{
  display:inline-flex;
  align-items:center;
  margin-top:6px;
  padding:4px 8px;
  border-radius:999px;
  background:#f0f9ff;
  border:1px solid #bae6fd;
  color:#0369a1;
  font-size:11px;
  font-weight:800;
}
.wh-project-card{margin:16px 0;padding:16px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.wh-project-row-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1.5fr) 160px auto;gap:10px;align-items:center}
.wh-project-members-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px;margin-top:16px}
.wh-project-member-list{display:grid;gap:10px}
.wh-project-member-item{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #eef2f7;border-radius:14px;padding:10px;background:#f8fafc}
.wh-project-member-item small{display:block;color:#64748b;margin-top:2px;font-weight:700}
.wh-project-assign-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:14px}
.wh-swipe-th,.wh-mobile-swipe-actions{display:none}
@media (max-width:782px){
  .wh-smart-list-wrap{overflow:visible!important}
  .wh-smart-task-list,.wh-smart-task-list tbody,.wh-smart-task-list tr,.wh-smart-task-list td{display:block;width:100%}
  .wh-smart-task-list thead{display:none}
  .wh-smart-task-list tr{
    position:relative;
    overflow:hidden;
    margin:0 0 14px!important;
    padding:14px!important;
    border:1px solid #e2e8f0!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 10px 26px rgba(15,23,42,.06);
    transition:transform .18s ease, box-shadow .18s ease;
  }
  .wh-smart-task-list tr.wh-swiped-left{transform:translateX(-8px);box-shadow:0 12px 30px rgba(34,197,94,.15)}
  .wh-smart-task-list tr.wh-swiped-right{transform:translateX(8px);box-shadow:0 12px 30px rgba(239,68,68,.15)}
  .wh-smart-task-list td{border:0!important;padding:7px 0!important;min-width:0!important;word-break:break-word}
  .wh-smart-task-list td:before{content:attr(data-label);display:block;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.03em;margin-bottom:3px}
  .wh-mobile-swipe-actions{display:flex!important;gap:8px;margin-top:10px;padding-top:10px!important;border-top:1px dashed #e2e8f0!important}
  .wh-mobile-swipe-actions:before{content:'Vuốt trái để hoàn thành · Vuốt phải để hủy';display:block;width:100%;font-size:11px;color:#64748b;font-weight:800;margin-bottom:4px}
  .wh-quick-action-form{display:none;flex:1}
  .wh-swiped-left .wh-swipe-action-left,.wh-swiped-right .wh-swipe-action-right{display:block}
  .wh-quick-action-form button{width:100%;border:0;border-radius:14px;padding:11px 10px;color:#fff;font-weight:900}
  .wh-swipe-action-left button{background:#16a34a}
  .wh-swipe-action-right button{background:#ef4444}
  .wh-project-row-form,.wh-project-members-grid{grid-template-columns:1fr}
  .wh-project-member-item{align-items:flex-start;flex-direction:column}
  .wh-realtime-hint{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   V13.1 - Admin unlock login + Mobile App Experience
========================================================= */
.wh-btn-info{
  background:#0ea5e9!important;
  color:#fff!important;
  border:1px solid #0284c7!important;
}
.wh-btn-info:hover{background:#0284c7!important;color:#fff!important;}
.wh-login-lock-note{
  display:block;
  margin-top:6px;
  color:#b45309;
  font-weight:800;
  font-size:11px;
  line-height:1.35;
}

@media (max-width:782px){
  html,body{background:#f8fafc!important;overscroll-behavior-y:contain;}
  .ttmt-wh-app{
    display:block!important;
    min-height:100svh!important;
    background:linear-gradient(180deg,#f8fbff 0%,#ffffff 44%,#f8fafc 100%)!important;
    overflow-x:hidden!important;
    width:100%!important;
    max-width:100%!important;
  }
  .wh-sidebar{
    position:sticky!important;
    top:0!important;
    z-index:999!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    padding:calc(10px + env(safe-area-inset-top,0px)) 14px 12px!important;
    background:rgba(255,255,255,.94)!important;
    border:0!important;
    border-bottom:1px solid rgba(191,219,254,.8)!important;
    box-shadow:0 12px 34px rgba(15,23,42,.10)!important;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
  }
  .wh-sidebar-top{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
  }
  .wh-brand{
    min-width:0!important;
    margin:0!important;
    padding:2px 2px!important;
  }
  .wh-brand .wh-sun,
  .wh-brand-logo{
    width:46px!important;
    height:46px!important;
    border-radius:16px!important;
    flex:0 0 46px!important;
  }
  .wh-brand strong{
    font-size:18px!important;
    line-height:1.15!important;
  }
  .wh-brand span{
    font-size:12px!important;
  }
  .wh-mobile-menu-toggle{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 38px!important;
    align-items:center!important;
    width:100%!important;
    min-height:60px!important;
    padding:9px 10px!important;
    border-radius:24px!important;
    background:linear-gradient(135deg,#eff6ff 0%,#ffffff 58%,#f0f9ff 100%)!important;
    border:1px solid #bfdbfe!important;
    box-shadow:0 12px 30px rgba(37,99,235,.12)!important;
  }
  .wh-mobile-menu-toggle::before{
    content:'☰'!important;
    width:40px!important;
    height:40px!important;
    border-radius:16px!important;
    display:grid!important;
    place-items:center!important;
    color:#fff!important;
    font-weight:950!important;
    background:linear-gradient(135deg,#2563eb,#0ea5e9)!important;
    box-shadow:0 10px 24px rgba(37,99,235,.24)!important;
  }
  .wh-mobile-menu-toggle > span,
  .wh-mobile-menu-toggle > strong{
    grid-column:2!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .wh-mobile-menu-toggle > span{
    align-self:end!important;
    font-size:10px!important;
    letter-spacing:.12em!important;
    text-transform:uppercase!important;
    color:#64748b!important;
    font-weight:950!important;
  }
  .wh-mobile-menu-toggle > strong{
    align-self:start!important;
    font-size:17px!important;
    color:#0f172a!important;
    font-weight:950!important;
  }
  .wh-mobile-menu-toggle > b{
    grid-column:3!important;
    grid-row:1 / span 2!important;
    justify-self:end!important;
    width:36px!important;
    height:36px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:999px!important;
    color:#1d4ed8!important;
    background:#dbeafe!important;
    border:1px solid #bfdbfe!important;
  }
  .wh-sidebar-nav{
    position:absolute!important;
    left:14px!important;
    right:14px!important;
    top:calc(100% + 8px)!important;
    max-height:min(68svh,560px)!important;
    overflow:auto!important;
    padding:12px!important;
    border-radius:26px!important;
    background:#fff!important;
    border:1px solid #dbeafe!important;
    box-shadow:0 24px 70px rgba(15,23,42,.20)!important;
    display:none!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .wh-sidebar.is-menu-open .wh-sidebar-nav{display:grid!important;}
  .wh-sidebar-nav .wh-nav-link{
    min-height:48px!important;
    padding:13px 15px!important;
    border-radius:17px!important;
    font-size:15px!important;
    background:#f8fafc!important;
    border:1px solid #eef2f7!important;
  }
  .wh-sidebar-nav .wh-nav-link.active{
    background:#eff6ff!important;
    color:#1d4ed8!important;
    border-color:#bfdbfe!important;
    box-shadow:inset 4px 0 0 #2563eb!important;
  }
  .wh-sidebar-account-bottom{
    display:none!important;
    position:absolute!important;
    left:14px!important;
    right:14px!important;
    top:calc(100% + min(68svh,560px) + 18px)!important;
    z-index:1001!important;
    border-color:#dbeafe!important;
    background:linear-gradient(135deg,#eff6ff,#ffffff)!important;
  }
  .wh-sidebar.is-menu-open .wh-sidebar-account-bottom{display:grid!important;}
  .wh-main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:14px 12px calc(28px + env(safe-area-inset-bottom,0px))!important;
    overflow-x:hidden!important;
  }
  .wh-section,
  .wh-panel,
  .wh-topbar,
  .wh-table-wrap,
  .wh-dashboard-insights,
  .wh-v12-detail,
  .wh-detail-tab-panel{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    border-radius:24px!important;
  }
  .wh-section{padding:18px 14px!important;}
  .wh-section h2{font-size:26px!important;line-height:1.15!important;}
  .wh-table-wrap{overflow:visible!important;}
  .wh-smart-task-list tr,
  .wh-table tr{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .wh-btn{min-height:44px!important;border-radius:15px!important;}
}

@media (max-width:420px){
  .wh-brand strong{font-size:16px!important;}
  .wh-brand span{font-size:11px!important;}
  .wh-mobile-menu-toggle{grid-template-columns:38px minmax(0,1fr) 34px!important;min-height:56px!important;}
  .wh-mobile-menu-toggle::before{width:36px!important;height:36px!important;border-radius:14px!important;}
  .wh-mobile-menu-toggle > strong{font-size:15px!important;}
  .wh-main{padding-left:10px!important;padding-right:10px!important;}
}

/* =========================================================
   TTMT WorkHub V13.2 - Nhân sự gọn hơn + Mobile app polish
   ========================================================= */
.wh-mobile-notification-bell{display:none;text-decoration:none!important;}
.wh-members-section .wh-section-head{align-items:center;}
.wh-members-summary{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;}
.wh-members-summary span{display:inline-flex;align-items:center;gap:6px;border:1px solid #dbeafe;background:#eff6ff;color:#1e3a8a;border-radius:999px;padding:8px 12px;font-weight:900;font-size:12px;}
.wh-members-summary span.is-warning{border-color:#fed7aa;background:#fff7ed;color:#9a3412;}
.wh-members-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.wh-member-admin-card{border:1px solid #e2e8f0;background:#fff;border-radius:24px;padding:16px;box-shadow:0 14px 36px rgba(15,23,42,.05);display:grid;gap:14px;}
.wh-member-card-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;}
.wh-member-card-id{min-width:0;}
.wh-member-card-id strong{display:block;color:#0f172a;font-size:16px;line-height:1.25;word-break:break-word;}
.wh-member-card-id small{display:block;color:#64748b;font-weight:750;font-size:12px;margin-top:3px;word-break:break-word;}
.wh-member-card-status{display:grid;justify-items:end;gap:6px;}
.wh-member-card-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#f8fafc;border:1px solid #edf2f7;border-radius:18px;padding:12px;}
.wh-member-card-meta span{display:grid;gap:4px;color:#0f172a;font-weight:850;min-width:0;word-break:break-word;}
.wh-member-card-meta b{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;}
.wh-member-edit-form{border-top:1px solid #eef2f7;padding-top:14px;display:grid;gap:12px;}
.wh-member-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.wh-member-edit-grid label{display:grid;gap:6px;color:#475569;font-size:12px;font-weight:900;}
.wh-member-edit-grid input,.wh-member-edit-grid select{width:100%;border:1px solid #dbe3ef;background:#fff;border-radius:14px;padding:10px 11px;font-size:14px;min-width:0;}
.wh-member-actions{display:flex;flex-wrap:wrap;gap:8px;}
.wh-member-actions .wh-btn{min-height:40px;padding:9px 12px;}
.wh-info-team-block{margin-top:18px;border-top:1px solid #edf2f7;padding-top:14px;}
.wh-add-assignees-box-inline{margin-top:12px;}
.wh-cancel-reason .wh-info-value{color:#9a3412;font-weight:850;}
.wh-cancel-reason .wh-info-value p{margin:0;}

@media(max-width:1180px){
  .wh-members-admin-grid{grid-template-columns:1fr;}
}

@media(max-width:782px){
  .wh-sidebar-top{grid-template-columns:1fr auto!important;align-items:center!important;gap:10px!important;}
  .wh-brand{grid-column:1 / -1!important;justify-content:center!important;text-align:center!important;gap:10px!important;}
  .wh-brand > div{min-width:0;text-align:left;}
  .wh-brand strong{font-size:20px!important;}
  .wh-brand span{font-size:12px!important;}
  .wh-mobile-menu-toggle{grid-column:1!important;grid-template-columns:42px minmax(0,1fr)!important;min-height:62px!important;text-align:left!important;}
  .wh-mobile-menu-toggle > b{display:none!important;}
  .wh-mobile-menu-toggle > span{grid-column:2!important;grid-row:1!important;align-self:end!important;margin-bottom:1px!important;}
  .wh-mobile-menu-toggle > strong{grid-column:2!important;grid-row:2!important;align-self:start!important;}
  .wh-mobile-notification-bell{grid-column:2!important;display:grid!important;place-items:center!important;position:relative!important;width:54px!important;height:54px!important;border-radius:20px!important;background:linear-gradient(135deg,#eff6ff,#dbeafe)!important;border:1px solid #bfdbfe!important;box-shadow:0 12px 28px rgba(37,99,235,.14)!important;color:#1d4ed8!important;}
  .wh-mobile-bell-icon{font-size:22px;line-height:1;}
  .wh-mobile-notification-bell em{position:absolute;right:-5px;top:-5px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-style:normal;font-size:11px;font-weight:950;display:grid;place-items:center;border:2px solid #fff;}
  .wh-sidebar.is-menu-open .wh-sidebar-nav{top:calc(100% + 10px)!important;}
  .wh-sidebar.is-menu-open .wh-sidebar-account-bottom{top:calc(100% + min(68svh,560px) + 18px)!important;}

  .wh-members-head{display:grid!important;gap:12px!important;}
  .wh-members-summary{justify-content:flex-start;}
  .wh-member-admin-card{padding:14px;border-radius:22px;}
  .wh-member-card-top{grid-template-columns:auto minmax(0,1fr);}
  .wh-member-card-status{grid-column:1 / -1;justify-items:start;display:flex;flex-wrap:wrap;align-items:center;}
  .wh-member-card-meta{grid-template-columns:1fr;}
  .wh-member-edit-grid{grid-template-columns:1fr;}
  .wh-member-edit-grid .wh-span-2{grid-column:auto!important;}
  .wh-member-actions .wh-btn{flex:1 1 auto;}

  .wh-smart-task-list tr{cursor:pointer;padding:14px 14px 16px!important;}
  .wh-smart-task-list tr::after{content:'Chạm để xem thêm';display:block;margin-top:8px;color:#64748b;font-size:11px;font-weight:900;text-align:right;}
  .wh-smart-task-list tr.wh-card-expanded::after{content:'Chạm để thu gọn';}
  .wh-smart-task-list td{display:none!important;}
  .wh-smart-task-list td[data-label="Công việc"],
  .wh-smart-task-list td[data-label="Hạn"],
  .wh-smart-task-list td[data-label="Trạng thái"],
  .wh-smart-task-list td[data-label="Tiến độ"]{display:block!important;}
  .wh-smart-task-list tr.wh-card-expanded td{display:block!important;}
  .wh-smart-task-list td[data-label="Công việc"]:before{content:''!important;display:none!important;}
  .wh-smart-task-list td[data-label="Hạn"]:before{content:'Thời gian'!important;}
  .wh-smart-task-list td[data-label="Trạng thái"]:before{content:'Trạng thái mới nhất'!important;}
  .wh-smart-task-list td[data-label="Tiến độ"]{padding-top:10px!important;}
  .wh-smart-task-list td[data-label="Tiến độ"]:before{content:''!important;display:none!important;}
  .wh-smart-task-list .wh-task-title{display:block;font-size:16px;line-height:1.35;margin-bottom:4px;}
  .wh-smart-task-list td[data-label="Công việc"] small{font-size:11px;opacity:.75;}
  .wh-smart-task-list td[data-label="Hạn"],.wh-smart-task-list td[data-label="Trạng thái"]{font-size:13px;font-weight:850;color:#334155;}
  .wh-smart-task-list .wh-progress{height:8px;min-width:0;width:100%;margin-top:4px;}
  .wh-mobile-swipe-actions{display:none!important;}
  .wh-smart-task-list tr.wh-card-expanded .wh-mobile-swipe-actions{display:flex!important;}
}

@media(max-width:420px){
  .wh-sidebar{padding-left:10px!important;padding-right:10px!important;}
  .wh-brand{justify-content:center!important;}
  .wh-brand > div{text-align:left;}
  .wh-mobile-menu-toggle{min-height:58px!important;grid-template-columns:38px minmax(0,1fr)!important;}
  .wh-mobile-notification-bell{width:50px!important;height:50px!important;border-radius:18px!important;}
}

/* =========================================================
   TTMT WorkHub V13.3 - Mobile function bar polish
   - Chuông nằm trong khung chọn chức năng
   - Chỉ hiển thị chức năng gốc đang chọn, không hiển thị luồng truy cập
   - Canh giữa nhãn CHỌN CHỨC NĂNG và chức năng đang chọn
   ========================================================= */
.wh-mobile-function-bar{display:none;}

@media(max-width:782px){
  .wh-sidebar-top{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
    gap:12px!important;
  }
  .wh-brand{
    grid-column:1!important;
    justify-content:center!important;
    text-align:center!important;
    margin:0!important;
  }
  .wh-brand > div{
    text-align:left!important;
    min-width:0!important;
  }
  .wh-mobile-function-bar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 58px!important;
    align-items:stretch!important;
    gap:10px!important;
    width:100%!important;
    padding:0!important;
  }
  .wh-mobile-menu-toggle{
    grid-column:auto!important;
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr)!important;
    grid-template-rows:1fr!important;
    align-items:center!important;
    min-height:70px!important;
    width:100%!important;
    padding:10px 14px 10px 12px!important;
    border-radius:26px!important;
    background:linear-gradient(135deg,#f8fbff 0%,#ffffff 48%,#eef6ff 100%)!important;
    border:1px solid #bfdbfe!important;
    box-shadow:0 16px 42px rgba(37,99,235,.12)!important;
    text-align:center!important;
    overflow:hidden!important;
  }
  .wh-mobile-menu-toggle::before{
    content:'☰'!important;
    grid-column:1!important;
    width:42px!important;
    height:42px!important;
    border-radius:17px!important;
    display:grid!important;
    place-items:center!important;
    color:#fff!important;
    font-weight:950!important;
    background:linear-gradient(135deg,#2563eb,#0ea5e9)!important;
    box-shadow:0 10px 24px rgba(37,99,235,.22)!important;
    justify-self:start!important;
  }
  .wh-mobile-menu-toggle > span,
  .wh-mobile-menu-toggle > strong{
    grid-column:2!important;
    grid-row:auto!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:center!important;
    align-self:center!important;
    justify-self:center!important;
    width:100%!important;
    line-height:1.15!important;
  }
  .wh-mobile-menu-toggle > span{
    display:block!important;
    margin:0 0 4px!important;
    font-size:11px!important;
    letter-spacing:.13em!important;
    text-transform:uppercase!important;
    color:#64748b!important;
    font-weight:950!important;
  }
  .wh-mobile-menu-toggle > strong{
    display:block!important;
    font-size:20px!important;
    color:#0f172a!important;
    font-weight:950!important;
  }
  .wh-mobile-menu-toggle > b{display:none!important;}
  .wh-mobile-notification-bell{
    grid-column:auto!important;
    display:grid!important;
    place-items:center!important;
    position:relative!important;
    width:58px!important;
    height:70px!important;
    border-radius:26px!important;
    background:linear-gradient(135deg,#eff6ff,#dbeafe)!important;
    border:1px solid #bfdbfe!important;
    box-shadow:0 16px 42px rgba(37,99,235,.12)!important;
    color:#1d4ed8!important;
    text-decoration:none!important;
  }
  .wh-mobile-notification-bell:hover,
  .wh-mobile-notification-bell:focus{
    background:linear-gradient(135deg,#dbeafe,#bfdbfe)!important;
    outline:none!important;
  }
  .wh-mobile-bell-icon{
    font-size:25px!important;
    line-height:1!important;
  }
  .wh-mobile-notification-bell em{
    position:absolute!important;
    right:7px!important;
    top:8px!important;
    min-width:22px!important;
    height:22px!important;
    padding:0 6px!important;
    border-radius:999px!important;
    background:#ef4444!important;
    color:#fff!important;
    font-style:normal!important;
    font-size:11px!important;
    font-weight:950!important;
    display:grid!important;
    place-items:center!important;
    border:2px solid #fff!important;
  }
  .wh-sidebar-nav{
    top:calc(100% + 10px)!important;
  }
}

@media(max-width:420px){
  .wh-mobile-function-bar{
    grid-template-columns:minmax(0,1fr) 52px!important;
    gap:8px!important;
  }
  .wh-mobile-menu-toggle{
    min-height:64px!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    padding:9px 11px!important;
    border-radius:22px!important;
  }
  .wh-mobile-menu-toggle::before{
    width:38px!important;
    height:38px!important;
    border-radius:15px!important;
  }
  .wh-mobile-menu-toggle > span{font-size:10px!important;margin-bottom:3px!important;}
  .wh-mobile-menu-toggle > strong{font-size:17px!important;}
  .wh-mobile-notification-bell{
    width:52px!important;
    height:64px!important;
    border-radius:22px!important;
  }
  .wh-mobile-bell-icon{font-size:22px!important;}
}

/* =========================================================
   TTMT WorkHub V13.4 - Mobile function bar + notification popup + department cards
========================================================= */
@media(max-width:980px){
  .ttmt-wh-app.has-mobile-menu-open .wh-main,
  .ttmt-wh-app.has-mobile-notification-open .wh-main{
    filter:blur(2px);
    opacity:.42;
    pointer-events:none;
    transition:filter .18s ease, opacity .18s ease;
  }
  .ttmt-wh-app.has-mobile-menu-open .wh-sidebar,
  .ttmt-wh-app.has-mobile-notification-open .wh-sidebar{
    z-index:1000!important;
  }
  .wh-mobile-function-bar{
    position:relative!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 58px!important;
    gap:10px!important;
    align-items:stretch!important;
    width:100%!important;
  }
  .wh-mobile-menu-toggle{
    grid-column:1!important;
    width:100%!important;
    min-height:64px!important;
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    padding:10px 16px!important;
    border-radius:24px!important;
    background:linear-gradient(135deg,#f8fbff,#eef7ff)!important;
    border:1px solid #bfdbfe!important;
    box-shadow:0 14px 34px rgba(37,99,235,.10)!important;
    text-align:center!important;
  }
  .wh-mobile-menu-toggle::before{
    content:'☰'!important;
    width:44px!important;
    height:44px!important;
    border-radius:17px!important;
    display:grid!important;
    place-items:center!important;
    background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;
    color:#fff!important;
    font-size:22px!important;
    font-weight:950!important;
    line-height:1!important;
    box-shadow:0 12px 28px rgba(37,99,235,.22)!important;
  }
  .wh-mobile-menu-toggle > span,
  .wh-mobile-menu-toggle > b{
    display:none!important;
  }
  .wh-mobile-menu-toggle > strong{
    grid-column:2!important;
    color:#b45309!important;
    font-size:20px!important;
    font-weight:950!important;
    line-height:1.15!important;
    letter-spacing:-.02em!important;
    text-align:center!important;
    align-self:center!important;
    justify-self:center!important;
    width:100%!important;
    display:block!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .wh-sidebar.is-menu-open .wh-mobile-menu-toggle > strong{
    color:#ea580c!important;
  }
  .wh-mobile-notification-bell{
    grid-column:2!important;
    display:grid!important;
    place-items:center!important;
    align-self:stretch!important;
    width:58px!important;
    height:auto!important;
    min-height:64px!important;
    border:1px solid #bfdbfe!important;
    border-radius:24px!important;
    background:linear-gradient(135deg,#eff6ff,#dbeafe)!important;
    box-shadow:0 14px 34px rgba(37,99,235,.11)!important;
    color:#1d4ed8!important;
    text-decoration:none!important;
    cursor:pointer!important;
    padding:0!important;
  }
  .wh-mobile-notification-bell:hover,
  .wh-mobile-notification-bell:focus,
  .ttmt-wh-app.has-mobile-notification-open .wh-mobile-notification-bell{
    background:linear-gradient(135deg,#dbeafe,#bfdbfe)!important;
    transform:translateY(-1px);
  }
  .wh-mobile-bell-icon{font-size:25px!important;line-height:1!important;}
  .wh-mobile-notification-bell em{
    position:absolute!important;
    right:-5px!important;
    top:-5px!important;
    min-width:23px!important;
    height:23px!important;
    padding:0 6px!important;
    border-radius:999px!important;
    background:#ef4444!important;
    color:#fff!important;
    font-style:normal!important;
    font-size:11px!important;
    font-weight:950!important;
    display:grid!important;
    place-items:center!important;
    border:2px solid #fff!important;
  }
  .wh-mobile-notification-popover{
    display:none;
    position:absolute!important;
    z-index:1200!important;
    top:calc(100% + 10px)!important;
    right:0!important;
    width:min(100%, 360px)!important;
    max-height:70vh!important;
    overflow:auto!important;
    border:1px solid #bfdbfe!important;
    border-radius:24px!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 26px 70px rgba(15,23,42,.20)!important;
    padding:12px!important;
    backdrop-filter:blur(14px)!important;
  }
  .ttmt-wh-app.has-mobile-notification-open .wh-mobile-notification-popover{
    display:block!important;
  }
  .wh-mobile-notification-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;padding:4px 4px 8px;border-bottom:1px solid #e0f2fe;}
  .wh-mobile-notification-head strong{font-size:15px;font-weight:950;color:#0f172a;}
  .wh-mobile-notification-head span{min-width:25px;height:25px;border-radius:999px;background:#ef4444;color:#fff;display:grid;place-items:center;font-weight:950;font-size:12px;}
  .wh-mobile-notification-empty{padding:16px;border-radius:18px;background:#f8fafc;color:#64748b;font-weight:800;text-align:center;}
  .wh-mobile-notification-list{display:grid;gap:8px;}
  .wh-mobile-notification-row{display:grid;gap:4px;text-decoration:none!important;border:1px solid #e2e8f0;border-radius:18px;padding:10px 12px;background:#fff;color:#0f172a!important;}
  .wh-mobile-notification-row.is-unread{background:#eff6ff;border-color:#bfdbfe;}
  .wh-mobile-notification-row strong{font-size:13px;font-weight:950;line-height:1.25;color:#0f172a;}
  .wh-mobile-notification-row small{color:#64748b;font-size:12px;font-weight:700;line-height:1.35;}
  .wh-mobile-notification-row em{color:#94a3b8;font-size:11px;font-style:normal;font-weight:800;}
  .wh-mobile-notification-all{display:flex;justify-content:center;margin-top:10px;padding:10px 12px;border-radius:16px;background:#0ea5e9;color:#fff!important;text-decoration:none!important;font-weight:950;}
  .wh-sidebar-nav{
    position:relative!important;
    z-index:1100!important;
    margin-top:10px!important;
    border-color:#bfdbfe!important;
    box-shadow:0 28px 72px rgba(15,23,42,.20)!important;
  }
}
@media(max-width:640px){
  .wh-mobile-function-bar{grid-template-columns:minmax(0,1fr) 54px!important;gap:8px!important;}
  .wh-mobile-menu-toggle{min-height:58px!important;grid-template-columns:40px minmax(0,1fr)!important;padding:8px 12px!important;border-radius:21px!important;}
  .wh-mobile-menu-toggle::before{width:38px!important;height:38px!important;border-radius:15px!important;font-size:20px!important;}
  .wh-mobile-menu-toggle > strong{font-size:17px!important;}
  .wh-mobile-notification-bell{width:54px!important;min-height:58px!important;border-radius:21px!important;}
  .wh-mobile-notification-popover{left:0!important;right:0!important;width:100%!important;}
}

/* Department admin: mobile-first card layout */
.wh-departments-section .wh-dept-add-form{
  align-items:end;
}
@media(max-width:782px){
  .wh-departments-section .wh-section-head{margin-bottom:14px!important;}
  .wh-departments-section .wh-dept-add-form{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:14px!important;
    border:1px solid #dbeafe!important;
    border-radius:22px!important;
    background:linear-gradient(180deg,#eff6ff,#ffffff)!important;
    box-shadow:0 12px 30px rgba(37,99,235,.07)!important;
  }
  .wh-departments-section .wh-table-wrap{border:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important;}
  .wh-departments-section .wh-table,
  .wh-departments-section .wh-table tbody,
  .wh-departments-section .wh-table tr,
  .wh-departments-section .wh-table td{display:block!important;width:100%!important;}
  .wh-departments-section .wh-table thead{display:none!important;}
  .wh-departments-section .wh-table tr{
    margin:0 0 14px!important;
    padding:14px!important;
    border:1px solid #e2e8f0!important;
    border-radius:24px!important;
    background:#fff!important;
    box-shadow:0 14px 34px rgba(15,23,42,.07)!important;
  }
  .wh-departments-section .wh-table td{border:0!important;padding:6px 0!important;}
  .wh-departments-section .wh-table td::before{content:attr(data-label);display:block;color:#64748b;font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;}
  .wh-departments-section .wh-table td:first-child strong{font-size:18px;color:#0f172a;}
  .wh-departments-section .wh-dept-row-form{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:6px!important;}
  .wh-departments-section .wh-dept-row-form input,
  .wh-departments-section .wh-dept-row-form select,
  .wh-departments-section .wh-dept-row-form button{width:100%!important;min-height:44px!important;}
}

/* V13.5: sticky mobile function bar + My Team */
.wh-my-team-summary{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.wh-my-team-grid{display:grid;gap:14px}.wh-my-team-card{border:1px solid #e2e8f0;border-radius:22px;background:#fff;box-shadow:0 14px 36px rgba(15,23,42,.05);overflow:hidden}.wh-my-team-card[open]{border-color:#bfdbfe;box-shadow:0 20px 54px rgba(37,99,235,.11)}.wh-my-team-card summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(260px,1.2fr) minmax(220px,.9fr) auto;align-items:center;gap:14px;padding:16px}.wh-my-team-card summary::-webkit-details-marker{display:none}.wh-my-team-card summary::after{content:'›';font-size:24px;color:#94a3b8;transform:rotate(90deg);transition:.18s ease}.wh-my-team-card[open] summary::after{transform:rotate(270deg);color:#2563eb}.wh-my-team-primary{display:flex;align-items:center;gap:12px;min-width:0}.wh-my-team-primary strong{display:block;color:#0f172a;font-weight:950;line-height:1.25}.wh-my-team-primary small{display:block;color:#64748b;font-size:12px;line-height:1.35;word-break:break-word}.wh-my-team-basic{display:flex;gap:8px;flex-wrap:wrap}.wh-my-team-basic span,.wh-my-team-relation{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:900}.wh-my-team-status{display:grid;justify-items:end;gap:4px}.wh-my-team-status small{font-size:11px;color:#b45309;font-weight:900}.wh-my-team-more{border-top:1px solid #e2e8f0;padding:16px;background:linear-gradient(180deg,#f8fafc,#fff)}.wh-my-team-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.wh-my-team-stats span{border:1px solid #e2e8f0;background:#fff;border-radius:18px;padding:12px;color:#64748b;font-weight:800}.wh-my-team-stats b{display:block;color:#0f172a;font-size:22px;margin-bottom:4px}.wh-my-team-stats .is-danger{border-color:#fecaca;background:#fef2f2;color:#991b1b}.wh-my-team-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wh-my-team-detail-grid span{border:1px solid #eef2f7;border-radius:16px;padding:10px 12px;background:#fff;color:#334155}.wh-my-team-detail-grid b{display:block;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}.wh-my-team-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
@media(max-width:782px){.wh-sidebar{position:sticky!important;top:0!important;z-index:999!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(14px)!important;box-shadow:0 10px 28px rgba(15,23,42,.08)!important}.wh-mobile-function-bar{position:sticky!important;top:0!important;z-index:1200!important}.wh-main{overflow:hidden}.wh-my-team-head{display:grid!important}.wh-my-team-summary{justify-content:flex-start}.wh-my-team-card summary{grid-template-columns:1fr;gap:10px;padding:14px}.wh-my-team-card summary::after{position:absolute;right:18px;top:18px}.wh-my-team-primary{padding-right:30px}.wh-my-team-basic{padding-right:30px}.wh-my-team-status{justify-items:start}.wh-my-team-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wh-my-team-detail-grid{grid-template-columns:1fr}.wh-my-team-actions .wh-btn{width:100%}.wh-brand span{font-size:12px!important;color:#64748b!important}}
@media(max-width:420px){.wh-my-team-stats{grid-template-columns:1fr}.wh-my-team-card summary{padding:12px}.wh-my-team-more{padding:12px}.wh-sidebar{top:0!important}}


/* =========================================================
   TTMT WorkHub V15.6 - Đội ngũ tôi + sticky mobile function/notification bar
========================================================= */
.wh-breadcrumb + .wh-section-head{margin-top:12px;}
@media(max-width:782px){
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-function-bar{
    position:fixed!important;
    top:calc(env(safe-area-inset-top, 0px) + 8px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    z-index:5000!important;
    margin:0!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-main{
    padding-top:92px!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-notification-popover{
    position:fixed!important;
    top:calc(env(safe-area-inset-top, 0px) + 78px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-height:70vh!important;
    z-index:5100!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-sidebar-nav{
    position:fixed!important;
    top:calc(env(safe-area-inset-top, 0px) + 78px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-height:72vh!important;
    overflow:auto!important;
    z-index:5050!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-menu-toggle,
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-notification-bell{
    box-shadow:0 16px 46px rgba(15,23,42,.16)!important;
  }
}


/* =========================================================
   TTMT WorkHub V13.7 - Fixed mobile brand + function/notification bar
   - Giữ cả khu vực logo và khung chọn chức năng/chuông khi cuộn
   - Đồng bộ vị trí dropdown menu và popup thông báo dưới header cố định
========================================================= */
@media(max-width:782px){
  .ttmt-wh-app .wh-sidebar{
    position:sticky!important;
    top:0!important;
    z-index:4500!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:6000!important;
    padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px!important;
    background:rgba(255,255,255,.96)!important;
    border-bottom:1px solid rgba(191,219,254,.82)!important;
    box-shadow:0 12px 34px rgba(15,23,42,.10)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar-top{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    width:100%!important;
    max-width:100%!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-brand{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    margin:0!important;
    padding:0!important;
    min-height:48px!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-brand .wh-sun,
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-brand-logo{
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
    border-radius:14px!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-brand strong{
    font-size:18px!important;
    line-height:1.15!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-brand span{
    font-size:11px!important;
    line-height:1.2!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-function-bar{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    width:100%!important;
    z-index:6100!important;
    margin:0!important;
    display:grid!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-main{
    padding-top:168px!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-sidebar-nav{
    position:fixed!important;
    top:calc(env(safe-area-inset-top, 0px) + 130px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-height:calc(100svh - 150px)!important;
    overflow:auto!important;
    z-index:6200!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-notification-popover{
    position:fixed!important;
    top:calc(env(safe-area-inset-top, 0px) + 130px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-height:calc(100svh - 150px)!important;
    z-index:6300!important;
  }
}
@media(max-width:420px){
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-main{padding-top:160px!important;}
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-sidebar-nav,
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-notification-popover{top:calc(env(safe-area-inset-top, 0px) + 122px)!important;}
}

/* =========================================================
   TTMT WorkHub V13.8 - Giữ mạch Đội ngũ tôi + auto-hide mobile header
========================================================= */
@media(max-width:782px){
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar{
    transition:transform .24s ease, opacity .2s ease, box-shadow .2s ease!important;
    will-change:transform!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-sidebar{
    transform:translateY(calc(-100% - 12px))!important;
    opacity:.04!important;
    pointer-events:none!important;
    box-shadow:none!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-mobile-function-bar,
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-brand{
    pointer-events:none!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-sidebar,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-notification-open .wh-sidebar{
    transform:none!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
}


/* =========================================================
   TTMT WorkHub V13.9 - Smooth mobile header motion
   - Dùng transform GPU, giữ padding nội dung ổn định để không giật
   - Không dùng opacity gần 0 để tránh cảm giác lóe/nhấp nháy
========================================================= */
@media(max-width:782px){
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar{
    transform:translate3d(0,0,0)!important;
    opacity:1!important;
    visibility:visible!important;
    transition:
      transform .34s cubic-bezier(.22,.61,.36,1),
      box-shadow .24s ease,
      background-color .24s ease!important;
    will-change:transform!important;
    backface-visibility:hidden!important;
    -webkit-backface-visibility:hidden!important;
    contain:layout paint!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-sidebar{
    transform:translate3d(0,calc(-100% - 16px),0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:none!important;
    box-shadow:none!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-main{
    padding-top:168px!important;
    transition:padding-top .01s linear!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-main{
    padding-top:18px!important;
    transition:padding-top .28s cubic-bezier(.22,.61,.36,1)!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-notification-open .wh-main{
    padding-top:168px!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-function-bar,
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-brand{
    transform:translateZ(0)!important;
    backface-visibility:hidden!important;
    -webkit-backface-visibility:hidden!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-sidebar-nav,
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-notification-popover{
    transition:opacity .18s ease, transform .22s cubic-bezier(.22,.61,.36,1)!important;
  }
}
@media(max-width:420px){
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-main{padding-top:160px!important;}
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-main{padding-top:16px!important;}
}


/* =========================================================
   TTMT WorkHub V13.9.1 - Professional mobile header auto-hide
   - Header được fixed ổn định ngay từ mobile để tránh nhảy layout
   - Ẩn/hiện chỉ bằng transform GPU, không co/giãn padding khi cuộn
   - Dùng biến chiều cao header để dropdown/popup luôn bám đúng vị trí
========================================================= */
@media(max-width:782px){
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:7000!important;
    padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px!important;
    background:rgba(255,255,255,.965)!important;
    border-bottom:1px solid rgba(191,219,254,.82)!important;
    box-shadow:0 14px 38px rgba(15,23,42,.10)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    transform:translate3d(0,0,0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    will-change:transform!important;
    backface-visibility:hidden!important;
    -webkit-backface-visibility:hidden!important;
    transform-style:preserve-3d!important;
    transition:transform .26s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease!important;
    contain:paint!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar-top{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    width:100%!important;
    max-width:100%!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-brand{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    margin:0!important;
    padding:0!important;
    min-height:48px!important;
    transform:translateZ(0)!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-function-bar{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    width:100%!important;
    z-index:7100!important;
    margin:0!important;
    display:grid!important;
    transform:translateZ(0)!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-sidebar{
    transform:translate3d(0,calc(-1 * var(--wh-mobile-header-height, 150px) - 18px),0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:none!important;
    box-shadow:none!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-mobile-function-bar,
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-brand{
    pointer-events:none!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-sidebar,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-notification-open .wh-sidebar{
    transform:translate3d(0,0,0)!important;
    pointer-events:auto!important;
    box-shadow:0 14px 38px rgba(15,23,42,.12)!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-notification-open .wh-main{
    padding-top:calc(var(--wh-mobile-header-height, 150px) + 14px)!important;
    transition:none!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-sidebar-nav{
    position:fixed!important;
    top:calc(var(--wh-mobile-header-height, 150px) + env(safe-area-inset-top,0px) + 8px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-height:calc(100svh - var(--wh-mobile-header-height, 150px) - 28px)!important;
    overflow:auto!important;
    z-index:7200!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-notification-popover{
    position:fixed!important;
    top:calc(var(--wh-mobile-header-height, 150px) + env(safe-area-inset-top,0px) + 8px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-height:calc(100svh - var(--wh-mobile-header-height, 150px) - 28px)!important;
    z-index:7300!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-menu-toggle,
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-notification-bell{
    -webkit-tap-highlight-color:transparent!important;
  }
}
@media(max-width:420px){
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-main{
    padding-top:calc(var(--wh-mobile-header-height, 142px) + 12px)!important;
  }
}


/* =========================================================
   TTMT WorkHub V14.0.0 - Mobile header/menu stabilization
   - Khôi phục dropdown chọn chức năng bị xung đột ở V13.9.1
   - Header fixed ổn định, không giật layout khi ẩn/hiện
   - Popup thông báo và dropdown luôn nổi trên nội dung
========================================================= */
@media(max-width:782px){
  html{scroll-padding-top:calc(var(--wh-mobile-header-height, 150px) + 10px)!important;}

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:9000!important;
    padding:calc(10px + env(safe-area-inset-top,0px)) 12px 10px!important;
    background:rgba(255,255,255,.965)!important;
    border-bottom:1px solid rgba(191,219,254,.85)!important;
    box-shadow:0 14px 38px rgba(15,23,42,.10)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    transform:translate3d(0,0,0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    overflow:visible!important;
    contain:none!important;
    will-change:transform!important;
    backface-visibility:hidden!important;
    -webkit-backface-visibility:hidden!important;
    transition:transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-sidebar{
    transform:translate3d(0,calc(-1 * var(--wh-mobile-header-height, 150px) - 18px),0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:none!important;
    box-shadow:none!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-sidebar,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-notification-open .wh-sidebar{
    transform:translate3d(0,0,0)!important;
    pointer-events:auto!important;
    box-shadow:0 14px 38px rgba(15,23,42,.13)!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar-top{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    width:100%!important;
    max-width:100%!important;
    position:relative!important;
    z-index:9100!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-brand{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    margin:0!important;
    padding:0!important;
    min-height:48px!important;
    transform:translateZ(0)!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-function-bar{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    width:100%!important;
    z-index:9150!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 58px!important;
    gap:10px!important;
    align-items:stretch!important;
    overflow:visible!important;
    transform:translateZ(0)!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-menu-toggle{
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    min-height:64px!important;
    padding:10px 16px!important;
    border-radius:24px!important;
    background:linear-gradient(135deg,#f8fbff,#eef7ff)!important;
    border:1px solid #bfdbfe!important;
    box-shadow:0 14px 34px rgba(37,99,235,.10)!important;
    cursor:pointer!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-menu-toggle::before{
    content:'☰'!important;
    width:44px!important;
    height:44px!important;
    border-radius:17px!important;
    display:grid!important;
    place-items:center!important;
    background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;
    color:#fff!important;
    font-size:22px!important;
    font-weight:950!important;
    box-shadow:0 12px 28px rgba(37,99,235,.22)!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-menu-toggle > span,
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-menu-toggle > b{
    display:none!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-menu-toggle > strong{
    grid-column:2!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    color:#ea580c!important;
    font-size:20px!important;
    font-weight:950!important;
    line-height:1.15!important;
    letter-spacing:-.02em!important;
    text-align:center!important;
    justify-self:center!important;
    align-self:center!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-notification-bell{
    display:grid!important;
    place-items:center!important;
    position:relative!important;
    width:58px!important;
    min-height:64px!important;
    height:auto!important;
    border:1px solid #bfdbfe!important;
    border-radius:24px!important;
    background:linear-gradient(135deg,#eff6ff,#dbeafe)!important;
    box-shadow:0 14px 34px rgba(37,99,235,.11)!important;
    color:#1d4ed8!important;
    cursor:pointer!important;
    padding:0!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-notification-open .wh-main{
    padding-top:calc(var(--wh-mobile-header-height, 150px) + 14px)!important;
    transition:none!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar-nav{
    display:none!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-sidebar-nav,
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar.is-menu-open .wh-sidebar-nav{
    display:grid!important;
    position:fixed!important;
    top:calc(var(--wh-mobile-header-height, 150px) + env(safe-area-inset-top,0px) + 8px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-height:calc(100svh - var(--wh-mobile-header-height, 150px) - 28px)!important;
    overflow:auto!important;
    z-index:9300!important;
    padding:10px!important;
    border:1px solid #bfdbfe!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 26px 70px rgba(15,23,42,.20)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translate3d(0,0,0)!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-notification-popover{
    display:none!important;
    position:fixed!important;
    top:calc(var(--wh-mobile-header-height, 150px) + env(safe-area-inset-top,0px) + 8px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-height:calc(100svh - var(--wh-mobile-header-height, 150px) - 28px)!important;
    overflow:auto!important;
    z-index:9400!important;
    border:1px solid #bfdbfe!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 26px 70px rgba(15,23,42,.20)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
  }

  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-notification-open .wh-mobile-notification-popover{
    display:block!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  .ttmt-wh-app.has-mobile-menu-open .wh-main,
  .ttmt-wh-app.has-mobile-notification-open .wh-main{
    filter:blur(2px)!important;
    opacity:.42!important;
    pointer-events:none!important;
    transition:filter .18s ease, opacity .18s ease!important;
  }
}

@media(max-width:420px){
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-function-bar{
    grid-template-columns:minmax(0,1fr) 52px!important;
    gap:8px!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-menu-toggle{
    min-height:62px!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    padding:9px 12px!important;
    border-radius:22px!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-menu-toggle::before{
    width:38px!important;
    height:38px!important;
    border-radius:15px!important;
    font-size:20px!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-menu-toggle > strong{
    font-size:17px!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-notification-bell{
    width:52px!important;
    min-height:62px!important;
    border-radius:22px!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-main{
    padding-top:calc(var(--wh-mobile-header-height, 142px) + 12px)!important;
  }
}

/* =========================================================
   TTMT WorkHub V14.3.0 - Desktop notification popup + stable mobile header
========================================================= */
.wh-desktop-notification-wrap{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  overflow:visible!important;
  z-index:60!important;
}
.wh-desktop-notification-trigger{
  user-select:none!important;
  -webkit-tap-highlight-color:transparent!important;
}
.wh-desktop-notification-popover{
  position:absolute!important;
  top:calc(100% + 12px)!important;
  right:0!important;
  width:min(390px, calc(100vw - 48px))!important;
  max-height:min(520px, calc(100vh - 150px))!important;
  overflow:auto!important;
  border:1px solid rgba(191,219,254,.95)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.985)!important;
  box-shadow:0 28px 80px rgba(15,23,42,.22)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translate3d(0,-8px,0) scale(.985)!important;
  transform-origin:top right!important;
  transition:opacity .20s ease, transform .24s cubic-bezier(.22,.61,.36,1), visibility 0s linear .24s!important;
  z-index:9999!important;
}
.wh-desktop-notification-wrap.is-open .wh-desktop-notification-popover{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translate3d(0,0,0) scale(1)!important;
  transition:opacity .18s ease, transform .24s cubic-bezier(.22,.61,.36,1), visibility 0s!important;
}
.wh-desktop-notification-popover::before{
  content:''!important;
  position:absolute!important;
  top:-7px!important;
  right:26px!important;
  width:14px!important;
  height:14px!important;
  background:rgba(255,255,255,.985)!important;
  border-left:1px solid rgba(191,219,254,.95)!important;
  border-top:1px solid rgba(191,219,254,.95)!important;
  transform:rotate(45deg)!important;
}
.wh-desktop-notification-head{
  position:sticky!important;
  top:0!important;
  z-index:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:16px 16px 12px!important;
  background:linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,255,255,.94))!important;
  border-bottom:1px solid #e5eefc!important;
}
.wh-desktop-notification-head strong{
  color:#0f172a!important;
  font-size:16px!important;
  font-weight:950!important;
}
.wh-desktop-notification-head span{
  display:inline-grid!important;
  place-items:center!important;
  min-width:26px!important;
  height:26px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:#ef4444!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:950!important;
}
.wh-desktop-notification-list{
  display:grid!important;
  gap:8px!important;
  padding:10px!important;
}
.wh-desktop-notification-row{
  display:grid!important;
  gap:5px!important;
  padding:12px 12px!important;
  border-radius:16px!important;
  border:1px solid #e5e7eb!important;
  background:#fff!important;
  text-decoration:none!important;
  color:#0f172a!important;
  transition:background .16s ease, border-color .16s ease, transform .16s ease!important;
}
.wh-desktop-notification-row:hover{
  background:#f8fbff!important;
  border-color:#bfdbfe!important;
  transform:translateY(-1px)!important;
}
.wh-desktop-notification-row.is-unread{
  border-color:#fed7aa!important;
  background:#fff7ed!important;
}
.wh-desktop-notification-row strong{
  font-size:13px!important;
  font-weight:950!important;
  line-height:1.35!important;
}
.wh-desktop-notification-row small{
  color:#475569!important;
  font-size:12px!important;
  line-height:1.45!important;
}
.wh-desktop-notification-row em{
  color:#64748b!important;
  font-size:11px!important;
  font-style:normal!important;
  font-weight:800!important;
}
.wh-desktop-notification-empty{
  padding:22px 16px!important;
  color:#64748b!important;
  text-align:center!important;
  font-weight:800!important;
}
.wh-desktop-notification-all{
  display:flex!important;
  justify-content:center!important;
  margin:0 10px 12px!important;
  padding:12px!important;
  border-radius:16px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  font-weight:950!important;
  text-decoration:none!important;
}
.wh-desktop-notification-all:hover{background:#dbeafe!important;}
@media(min-width:783px){
  .wh-nav-view-notifications{display:flex!important;}
  .wh-dashboard-notification-row{display:none!important;}
}
@media(max-width:782px){
  .wh-desktop-notification-wrap{display:none!important;}
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar{
    transition:transform .34s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease!important;
    will-change:transform!important;
    transform:translate3d(0,0,0)!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-sidebar{
    transform:translate3d(0,calc(-1 * var(--wh-mobile-header-height, 150px) - 20px),0)!important;
    box-shadow:none!important;
    pointer-events:none!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-sidebar,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-notification-open .wh-sidebar{
    transform:translate3d(0,0,0)!important;
    pointer-events:auto!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.wh-mobile-header-hidden:not(.has-mobile-menu-open):not(.has-mobile-notification-open) .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-main,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-notification-open .wh-main{
    padding-top:calc(var(--wh-mobile-header-height, 150px) + 14px)!important;
    transition:none!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-menu-open .wh-sidebar-nav,
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar.is-menu-open .wh-sidebar-nav,
  .ttmt-wh-app.wh-mobile-bar-fixed.has-mobile-notification-open .wh-mobile-notification-popover{
    animation:whV143PopoverIn .18s cubic-bezier(.22,.61,.36,1) both!important;
  }
}
@keyframes whV143PopoverIn{
  from{opacity:0; transform:translate3d(0,-6px,0) scale(.992);}
  to{opacity:1; transform:translate3d(0,0,0) scale(1);}
}


/* =========================================================
   TTMT WorkHub V14.5
   - Nổi bật danh sách công việc theo mức độ ưu tiên
   - Làm rõ hàng tiêu đề bảng danh sách
   - Sửa trường chọn người nhận/nhóm nhận việc cùng bề ngang và có nút xổ xuống
========================================================= */
.wh-task-list-section .wh-table thead th,
.wh-table-wrap .wh-table thead th{
  text-align:center!important;
  vertical-align:middle!important;
  font-weight:950!important;
  color:#0f172a!important;
  background:linear-gradient(180deg,#fff7ed 0%,#ffedd5 100%)!important;
  border-bottom:1px solid #fed7aa!important;
  letter-spacing:.075em!important;
}
.wh-task-list-section .wh-table thead tr,
.wh-table-wrap .wh-table thead tr{
  box-shadow:inset 0 -1px 0 #fed7aa!important;
}
.wh-task-list-section .wh-table tbody td,
.wh-smart-task-list tbody td{
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
.wh-task-row.wh-priority-row{
  position:relative!important;
  border-left:6px solid transparent!important;
}
.wh-smart-task-list tbody tr.wh-priority-low td{background:linear-gradient(90deg,rgba(240,253,244,.82),#fff 54%)!important;}
.wh-smart-task-list tbody tr.wh-priority-normal td{background:linear-gradient(90deg,rgba(239,246,255,.78),#fff 54%)!important;}
.wh-smart-task-list tbody tr.wh-priority-high td{background:linear-gradient(90deg,rgba(255,247,237,.94),#fff 54%)!important;}
.wh-smart-task-list tbody tr.wh-priority-urgent td{background:linear-gradient(90deg,rgba(254,242,242,.98),#fff 54%)!important;}
.wh-smart-task-list tbody tr.wh-priority-low td:first-child{border-left:6px solid #22c55e!important;}
.wh-smart-task-list tbody tr.wh-priority-normal td:first-child{border-left:6px solid #3b82f6!important;}
.wh-smart-task-list tbody tr.wh-priority-high td:first-child{border-left:6px solid #f97316!important;}
.wh-smart-task-list tbody tr.wh-priority-urgent td:first-child{border-left:6px solid #ef4444!important;}
.wh-smart-task-list tbody tr.wh-priority-high .wh-task-title,
.wh-smart-task-list tbody tr.wh-priority-urgent .wh-task-title{font-weight:950!important;}
.wh-smart-task-list tbody tr.wh-priority-high .wh-badge-warning{background:#ffedd5!important;color:#9a3412!important;border:1px solid #fdba74!important;}
.wh-smart-task-list tbody tr.wh-priority-urgent .wh-badge-danger{background:#fee2e2!important;color:#991b1b!important;border:1px solid #fca5a5!important;box-shadow:0 8px 18px rgba(239,68,68,.12)!important;}
.wh-smart-task-list tbody tr.wh-priority-row:hover td{box-shadow:inset 0 0 0 999px rgba(255,255,255,.20)!important;}
.wh-create-task-form .wh-recipient-field{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  align-self:start!important;
}
.wh-create-task-form .wh-recipient-picker{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.wh-create-task-form .wh-recipient-toggle{
  width:100%!important;
  min-height:46px!important;
  justify-content:space-between!important;
  padding:12px 12px 12px 14px!important;
}
.wh-create-task-form .wh-recipient-summary{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
}
.wh-create-task-form .wh-recipient-caret,
.wh-create-task-form .wh-recipient-toggle-no-caret .wh-recipient-caret{
  display:grid!important;
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  margin-left:10px!important;
  border-radius:999px!important;
  place-items:center!important;
  background:linear-gradient(135deg,#fff7ed,#ffedd5)!important;
  color:#ea580c!important;
  border:1px solid #fed7aa!important;
  box-shadow:0 6px 14px rgba(249,115,22,.10)!important;
}
.wh-create-task-form .wh-recipient-picker.is-open .wh-recipient-caret{transform:rotate(180deg)!important;}
.wh-create-task-form .wh-recipient-toggle-no-caret{padding-right:12px!important;}
@media(max-width:760px){
  .wh-smart-task-list tbody tr.wh-priority-row{
    border-left:0!important;
    overflow:hidden!important;
  }
  .wh-smart-task-list tbody tr.wh-priority-low{border-color:#bbf7d0!important;background:linear-gradient(135deg,#f0fdf4,#fff)!important;}
  .wh-smart-task-list tbody tr.wh-priority-normal{border-color:#bfdbfe!important;background:linear-gradient(135deg,#eff6ff,#fff)!important;}
  .wh-smart-task-list tbody tr.wh-priority-high{border-color:#fed7aa!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;}
  .wh-smart-task-list tbody tr.wh-priority-urgent{border-color:#fecaca!important;background:linear-gradient(135deg,#fef2f2,#fff)!important;box-shadow:0 12px 28px rgba(239,68,68,.10)!important;}
  .wh-smart-task-list tbody tr.wh-priority-row td:first-child{border-left:0!important;}
  .wh-create-task-form .wh-recipient-toggle{min-height:50px!important;}
}

/* =========================================================
   TTMT WorkHub V14.6
   - Đồng bộ chiều cao trường Người nhận / nhóm nhận việc với Phòng ban
   - Cải thiện hiển thị dự án cho thành viên được thêm vào dự án
========================================================= */
.wh-create-task-form .wh-recipient-toggle,
.wh-create-task-form .wh-department-field select{
  height:48px!important;
  min-height:48px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  display:flex!important;
  align-items:center!important;
}
.wh-create-task-form .wh-recipient-toggle{
  padding-left:14px!important;
  padding-right:12px!important;
}
.wh-create-task-form .wh-department-field select{
  line-height:48px!important;
}
.wh-project-readonly-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:4px 0 16px;
  border-bottom:1px solid #ffedd5;
  margin-bottom:16px;
}
.wh-project-readonly-head h3{
  margin:0 0 6px!important;
  color:#111827;
  font-size:18px;
  font-weight:950;
}
.wh-project-readonly-head p{
  margin:0!important;
  color:#64748b!important;
  font-size:13px;
  font-weight:650;
  line-height:1.45;
}
.wh-project-readonly-head > span{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:7px 11px;
  background:#fff7ed;
  color:#c2410c;
  border:1px solid #fed7aa;
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
}
.wh-project-member-note{
  align-self:start;
  border:1px dashed #bfdbfe;
  background:#eff6ff;
  border-radius:18px;
  padding:14px;
  color:#1e3a8a;
  display:grid;
  gap:6px;
}
.wh-project-member-note strong{
  font-size:14px;
  font-weight:950;
}
.wh-project-member-note span{
  color:#475569;
  font-size:13px;
  line-height:1.45;
}
@media(max-width:760px){
  .wh-create-task-form .wh-recipient-toggle,
  .wh-create-task-form .wh-department-field select{
    height:50px!important;
    min-height:50px!important;
  }
  .wh-project-readonly-head{
    display:grid;
    gap:10px;
  }
  .wh-project-readonly-head > span{
    justify-self:start;
  }
}

/* ===== TTMT WorkHub V15 - Project Workspace ===== */
.wh-project-hub-section .wh-project-add-form{
  margin-bottom:18px;
}
.wh-project-hub-list{
  display:grid;
  gap:22px;
}
.wh-project-hub-card{
  overflow:hidden;
  border:1px solid rgba(37,99,235,.18);
  box-shadow:0 20px 48px rgba(15,23,42,.07);
}
.wh-project-hub-card.is-focused{
  border-color:rgba(249,115,22,.46);
  box-shadow:0 22px 56px rgba(249,115,22,.14);
}
.wh-project-hero{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(255,247,237,.92));
  border:1px solid rgba(191,219,254,.75);
  margin-bottom:14px;
}
.wh-project-kicker{
  display:inline-flex;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:900;
  color:#ea580c;
  font-size:12px;
  margin-bottom:8px;
}
.wh-project-hero h3{
  margin:0 0 6px;
  font-size:24px;
  color:#0f172a;
}
.wh-project-hero p{
  margin:0;
  color:#64748b;
}
.wh-project-title-form{
  display:grid !important;
  grid-template-columns:1.1fr 1.3fr 150px auto;
  gap:10px;
  align-items:center;
  width:100%;
}
.wh-project-title-form input,
.wh-project-title-form select{
  min-height:44px;
}
.wh-project-role-badge{
  flex:0 0 auto;
  border-radius:999px;
  padding:10px 14px;
  background:#fff;
  color:#1d4ed8;
  font-weight:900;
  border:1px solid rgba(37,99,235,.18);
  box-shadow:0 10px 24px rgba(37,99,235,.08);
}
.wh-project-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 16px;
}
.wh-project-stats span{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:72px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e2e8f0;
  color:#64748b;
  font-weight:800;
  text-align:center;
}
.wh-project-stats strong{
  display:block;
  font-size:22px;
  color:#0f172a;
}
.wh-project-stats .is-danger strong{color:#dc2626;}
.wh-project-workspace-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:16px;
  align-items:start;
}
.wh-project-workspace-block{
  border:1px solid #e2e8f0;
  background:#fff;
  border-radius:22px;
  padding:16px;
  box-shadow:0 10px 26px rgba(15,23,42,.045);
}
.wh-project-task-block{grid-row:span 2;}
.wh-project-block-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:12px;
}
.wh-project-block-head h3{
  margin:0 0 4px;
  color:#0f172a;
  font-size:18px;
}
.wh-project-block-head p,
.wh-project-block-head span{
  margin:0;
  color:#64748b;
  font-size:13px;
  font-weight:700;
}
.wh-project-task-list,
.wh-project-message-list,
.wh-project-file-list{
  display:grid;
  gap:10px;
}
.wh-project-task-item{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:13px 14px;
  border-radius:18px;
  text-decoration:none;
  color:#0f172a;
  border:1px solid #e2e8f0;
  background:#f8fafc;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.wh-project-task-item:hover{
  transform:translateY(-1px);
  border-color:#bfdbfe;
  box-shadow:0 10px 24px rgba(37,99,235,.08);
}
.wh-project-task-item.priority-high{background:#fff7ed;border-color:#fed7aa;}
.wh-project-task-item.priority-urgent{background:#fef2f2;border-color:#fecaca;}
.wh-project-task-item strong{display:block;font-size:15px;}
.wh-project-task-item small{display:block;margin-top:4px;color:#64748b;}
.wh-project-task-right{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;
  min-width:180px;
}
.wh-mini-progress{
  flex:1 0 100%;
  height:8px;
  border-radius:999px;
  background:#e2e8f0;
  overflow:hidden;
}
.wh-mini-progress i{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#60a5fa,#f97316);
}
.wh-project-create-details{
  margin-top:14px;
  border-radius:18px;
  border:1px dashed rgba(249,115,22,.42);
  background:#fff7ed;
  padding:12px;
}
.wh-project-create-details summary{
  cursor:pointer;
  font-weight:900;
  color:#c2410c;
  list-style:none;
}
.wh-project-create-details summary::-webkit-details-marker{display:none;}
.wh-project-task-create-form{
  margin-top:12px;
  background:#fff;
  border-radius:18px;
  padding:14px;
  border:1px solid #fed7aa;
}
.wh-project-task-create-form select[multiple]{
  min-height:132px;
}
.wh-project-message{
  padding:12px 14px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}
.wh-project-message.is-me{
  background:#eff6ff;
  border-color:#bfdbfe;
}
.wh-project-message-meta{
  display:flex;
  justify-content:space-between;
  gap:8px;
  color:#64748b;
  font-size:12px;
  margin-bottom:6px;
}
.wh-project-message-meta strong{color:#0f172a;font-size:13px;}
.wh-project-message p{margin:0 0 8px;white-space:pre-wrap;}
.wh-project-chat-form,.wh-project-file-form,.wh-project-assign-form{margin-top:12px;}
.wh-project-file-item{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  padding:11px 12px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}
.wh-project-file-item small{display:block;color:#64748b;margin-top:3px;}
.wh-project-file-item > span{
  flex:0 0 auto;
  font-size:12px;
  font-weight:800;
  color:#1d4ed8;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  padding:5px 8px;
  border-radius:999px;
}
.wh-project-member-block .wh-project-member-list{max-height:360px;overflow:auto;padding-right:4px;}

@media (max-width: 900px){
  .wh-project-hero{flex-direction:column;}
  .wh-project-title-form{grid-template-columns:1fr;}
  .wh-project-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .wh-project-workspace-grid{grid-template-columns:1fr;}
  .wh-project-task-block{grid-row:auto;}
  .wh-project-block-head{align-items:stretch;flex-direction:column;}
  .wh-project-task-item{align-items:flex-start;flex-direction:column;}
  .wh-project-task-right{width:100%;min-width:0;justify-content:flex-start;}
  .wh-project-file-item{align-items:flex-start;flex-direction:column;}
}

/* ===== TTMT WorkHub V15.1 - Project workspace tabs ===== */
.wh-project-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:10px;
  margin:0 0 14px;
  border:1px solid rgba(226,232,240,.95);
  border-radius:20px;
  background:linear-gradient(135deg,#ffffff,#f8fafc);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.wh-project-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:42px;
  padding:9px 13px;
  border-radius:999px;
  border:1px solid transparent;
  color:#475569;
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  line-height:1;
  background:transparent;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease,color .18s ease;
}
.wh-project-tab:hover{
  transform:translateY(-1px);
  color:#0f172a;
  background:#fff7ed;
  border-color:#fed7aa;
}
.wh-project-tab.is-active{
  color:#c2410c;
  background:linear-gradient(135deg,#fff7ed,#ffedd5);
  border-color:#fdba74;
  box-shadow:0 10px 22px rgba(249,115,22,.14);
}
.wh-project-tab span{font-size:15px;line-height:1;}
.wh-project-tab-panels.wh-project-workspace-grid{
  display:block;
}
.wh-project-tab-panel{
  display:none;
}
.wh-project-tab-panel.is-active{
  display:block;
  animation:whProjectTabFade .18s ease both;
}
@keyframes whProjectTabFade{
  from{opacity:.55;transform:translateY(4px)}
  to{opacity:1;transform:translateY(0)}
}
.wh-project-overview-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);
  gap:14px;
  align-items:stretch;
}
.wh-project-overview-card{
  padding:16px;
  border-radius:18px;
  border:1px solid #e2e8f0;
  background:linear-gradient(135deg,#f8fafc,#fff);
}
.wh-project-overview-card h4{
  margin:0 0 7px;
  font-size:16px;
  color:#0f172a;
}
.wh-project-overview-card p{
  margin:0 0 10px;
  color:#64748b;
  line-height:1.55;
}
.wh-project-overview-card small{
  color:#475569;
  font-weight:800;
}
.wh-project-stats-in-tab{
  margin:0;
}
.wh-project-quick-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px dashed #e2e8f0;
}
.wh-project-create-block .wh-project-task-create-form{
  margin-top:0;
  border-color:#e2e8f0;
  box-shadow:none;
}
@media (max-width: 900px){
  .wh-project-tabs{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    padding:8px;
    margin-left:-2px;
    margin-right:-2px;
  }
  .wh-project-tabs::-webkit-scrollbar{display:none;}
  .wh-project-tab{
    flex:0 0 auto;
    min-height:40px;
    padding:9px 12px;
    scroll-snap-align:start;
  }
  .wh-project-overview-grid{
    grid-template-columns:1fr;
  }
  .wh-project-quick-actions .wh-btn{
    flex:1 1 140px;
  }
}


/* =========================================================
   TTMT WORKHUB V15.1.1 - Project tabs refined like task detail tabs
   - Override .wh-card strong/span inheritance inside project tabs
   - Smaller, cleaner, professional tab style consistent with task detail
========================================================= */
.wh-project-card .wh-project-tabs{
  display:flex!important;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0 18px!important;
  padding:10px!important;
  border:1px solid #e2e8f0!important;
  border-radius:18px!important;
  background:#f8fafc!important;
  box-shadow:none!important;
}
.wh-project-card .wh-project-tab{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:40px!important;
  padding:10px 14px!important;
  border-radius:14px!important;
  border:1px solid #dbe6f3!important;
  background:#fff!important;
  color:#334155!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:0!important;
  box-shadow:none!important;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease,color .18s ease!important;
}
.wh-project-card .wh-project-tab:hover{
  transform:translateY(-1px)!important;
  background:#eff6ff!important;
  border-color:#bfdbfe!important;
  color:#075985!important;
  box-shadow:0 8px 18px rgba(14,165,233,.10)!important;
}
.wh-project-card .wh-project-tab.is-active{
  background:#e0f2fe!important;
  color:#075985!important;
  border-color:#7dd3fc!important;
  box-shadow:0 8px 20px rgba(14,165,233,.12)!important;
}
.wh-project-card .wh-project-tab span,
.wh-project-card .wh-project-tab strong{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  background:transparent!important;
  box-shadow:none!important;
}
.wh-project-card .wh-project-tab span{
  flex:0 0 auto!important;
  font-size:15px!important;
  width:auto!important;
  height:auto!important;
  border:0!important;
  border-radius:0!important;
  color:inherit!important;
  font-weight:800!important;
}
.wh-project-card .wh-project-tab strong{
  flex:0 0 auto!important;
  font-size:14px!important;
  font-weight:800!important;
  color:inherit!important;
  letter-spacing:0!important;
}
.wh-project-card .wh-project-tab-panel{
  border-radius:20px!important;
}
@media (max-width: 900px){
  .wh-project-card .wh-project-tabs{
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x proximity!important;
    gap:8px!important;
    padding:8px!important;
    margin:14px -2px 16px!important;
    border-radius:16px!important;
  }
  .wh-project-card .wh-project-tabs::-webkit-scrollbar{display:none!important;}
  .wh-project-card .wh-project-tab{
    flex:0 0 auto!important;
    min-height:38px!important;
    padding:9px 12px!important;
    font-size:13px!important;
    scroll-snap-align:start!important;
    white-space:nowrap!important;
  }
  .wh-project-card .wh-project-tab strong{font-size:13px!important;}
  .wh-project-card .wh-project-tab span{font-size:14px!important;}
}

/* =========================================================
   TTMT WORKHUB V15.1.2 - Project detail polish + safer visual hierarchy
   - Fix project action buttons blending into background
   - Highlight project name, move description visually below name
   - Reduce inherited oversized text inside project cards
========================================================= */
.wh-project-card .wh-project-hero{
  padding:16px!important;
  border-radius:20px!important;
}
.wh-project-card .wh-project-kicker{
  font-size:11px!important;
  letter-spacing:.14em!important;
  color:#1d4ed8!important;
  margin-bottom:10px!important;
}
.wh-project-card .wh-project-title-form{
  display:grid!important;
  grid-template-columns:minmax(260px,1fr) 170px auto!important;
  grid-template-rows:auto auto!important;
  gap:8px 12px!important;
  align-items:center!important;
  width:100%!important;
}
.wh-project-card .wh-project-title-form input[name="name"]{
  grid-column:1/2!important;
  grid-row:1!important;
  min-height:46px!important;
  padding:11px 14px!important;
  font-size:16px!important;
  font-weight:900!important;
  color:#0f172a!important;
  background:linear-gradient(135deg,#fff7ed,#ffffff)!important;
  border:1px solid #fdba74!important;
  border-radius:14px!important;
  box-shadow:0 8px 20px rgba(249,115,22,.08)!important;
}
.wh-project-card .wh-project-title-form input[name="description"]{
  grid-column:1/2!important;
  grid-row:2!important;
  min-height:42px!important;
  padding:10px 14px!important;
  font-size:14px!important;
  font-weight:700!important;
  color:#64748b!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
}
.wh-project-card .wh-project-title-form select[name="status"]{
  grid-column:2/3!important;
  grid-row:1/3!important;
  min-height:44px!important;
  align-self:center!important;
  font-size:14px!important;
  font-weight:800!important;
  color:#0f172a!important;
  background:#fff!important;
  border:1px solid #dbe6f3!important;
  border-radius:14px!important;
}
.wh-project-card .wh-project-title-form .wh-btn{
  grid-column:3/4!important;
  grid-row:1/3!important;
  align-self:center!important;
  min-height:44px!important;
  font-size:14px!important;
  padding:10px 16px!important;
}
.wh-project-card .wh-project-role-badge{
  font-size:13px!important;
  padding:9px 13px!important;
}
.wh-project-card .wh-project-block-head h3{
  font-size:17px!important;
}
.wh-project-card .wh-project-block-head p,
.wh-project-card .wh-project-block-head span{
  font-size:13px!important;
}
.wh-project-card .wh-project-overview-card h4{
  font-size:16px!important;
  font-weight:850!important;
}
.wh-project-card .wh-project-overview-card p{
  font-size:14px!important;
  line-height:1.55!important;
}
.wh-project-card .wh-project-overview-card small,
.wh-project-card .wh-project-overview-card small strong{
  display:inline!important;
  font-size:13px!important;
  line-height:1.4!important;
  margin:0!important;
  padding:0!important;
}
.wh-project-card .wh-project-overview-card small strong{
  color:#16a34a!important;
  font-weight:900!important;
}
.wh-project-card .wh-project-stats span{
  min-height:64px!important;
  font-size:13px!important;
}
.wh-project-card .wh-project-stats strong{
  font-size:22px!important;
  line-height:1.1!important;
  margin:0 0 4px!important;
  color:#0f172a!important;
}
.wh-project-card .wh-project-quick-actions{
  gap:10px!important;
}
.wh-project-card .wh-project-quick-actions .wh-btn{
  min-height:42px!important;
  padding:10px 14px!important;
  border-radius:14px!important;
  font-size:14px!important;
  font-weight:850!important;
  opacity:1!important;
  text-decoration:none!important;
}
.wh-project-card .wh-project-quick-actions .wh-btn-primary{
  background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;
  color:#fff!important;
  border:1px solid #1d4ed8!important;
  box-shadow:0 10px 22px rgba(37,99,235,.18)!important;
}
.wh-project-card .wh-project-quick-actions .wh-btn-primary:hover{
  color:#fff!important;
  filter:brightness(1.04)!important;
}
.wh-project-card .wh-project-quick-actions .wh-btn-light{
  background:#ffffff!important;
  color:#1d4ed8!important;
  border:1px solid #dbeafe!important;
  box-shadow:none!important;
}
.wh-project-card .wh-project-file-form .wh-chat-input-row{
  align-items:end!important;
}
.wh-project-card .wh-project-file-form .wh-btn{
  min-height:44px!important;
}
@media (max-width: 900px){
  .wh-project-card .wh-project-title-form{
    grid-template-columns:1fr!important;
    grid-template-rows:auto!important;
  }
  .wh-project-card .wh-project-title-form input[name="name"],
  .wh-project-card .wh-project-title-form input[name="description"],
  .wh-project-card .wh-project-title-form select[name="status"],
  .wh-project-card .wh-project-title-form .wh-btn{
    grid-column:1/-1!important;
    grid-row:auto!important;
    width:100%!important;
  }
  .wh-project-card .wh-project-overview-card,
  .wh-project-card .wh-project-workspace-block{
    padding:14px!important;
  }
  .wh-project-card .wh-project-quick-actions .wh-btn{
    flex:1 1 calc(50% - 8px)!important;
    min-width:130px!important;
  }
}


/* TTMT WorkHub V15.3.1: CSS cascade kept intact after PHP refactor to avoid UI regressions; JS duplicate mobile controllers removed. */

/* =========================================================
   TTMT WORKHUB V15.3.1 - Project workspace layout polish
   - Project name/status/save aligned on one row
   - Full project description under the name row
   - File upload area separated from uploaded file list
========================================================= */
.wh-project-card .wh-project-title-form{
  display:grid!important;
  grid-template-columns:minmax(340px,1fr) 190px auto!important;
  grid-template-rows:auto auto!important;
  gap:12px 14px!important;
  align-items:start!important;
  width:100%!important;
  max-width:100%!important;
}
.wh-project-card .wh-project-title-form input[name="name"]{
  grid-column:1/2!important;
  grid-row:1!important;
  min-width:0!important;
}
.wh-project-card .wh-project-title-form select[name="status"]{
  grid-column:2/3!important;
  grid-row:1!important;
  align-self:stretch!important;
  min-height:48px!important;
}
.wh-project-card .wh-project-title-form .wh-btn{
  grid-column:3/4!important;
  grid-row:1!important;
  align-self:stretch!important;
  min-height:48px!important;
  white-space:nowrap!important;
}
.wh-project-card .wh-project-title-form textarea[name="description"]{
  grid-column:1/4!important;
  grid-row:2!important;
  width:100%!important;
  min-height:58px!important;
  max-height:none!important;
  resize:vertical!important;
  padding:12px 14px!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.45!important;
  color:#64748b!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
  box-shadow:none!important;
  white-space:pre-wrap!important;
  overflow:visible!important;
}
.wh-project-card .wh-project-file-form{
  display:grid!important;
  gap:14px!important;
  margin:0 0 18px!important;
  padding:0 0 18px!important;
  border-bottom:1px dashed #dbe6f3!important;
}
.wh-project-card .wh-project-file-form > label{
  display:block!important;
  margin:0!important;
}
.wh-project-card .wh-project-file-form .wh-chat-input-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:end!important;
  margin:0!important;
  clear:both!important;
}
.wh-project-card .wh-project-file-form .wh-chat-input-row label{
  display:block!important;
  min-width:0!important;
  margin:0!important;
}
.wh-project-card .wh-project-file-form input[type="file"]{
  display:block!important;
  width:100%!important;
  min-height:48px!important;
  padding:10px 12px!important;
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
.wh-project-card .wh-project-file-form .wh-btn{
  align-self:end!important;
  min-height:48px!important;
  margin:0!important;
  white-space:nowrap!important;
}
.wh-project-card .wh-project-file-list{
  margin-top:16px!important;
  padding-top:0!important;
  clear:both!important;
}
.wh-project-card .wh-project-file-block .wh-project-block-head{
  margin-bottom:16px!important;
}
@media (max-width: 900px){
  .wh-project-card .wh-project-title-form{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .wh-project-card .wh-project-title-form input[name="name"],
  .wh-project-card .wh-project-title-form textarea[name="description"],
  .wh-project-card .wh-project-title-form select[name="status"],
  .wh-project-card .wh-project-title-form .wh-btn{
    grid-column:1/-1!important;
    grid-row:auto!important;
    width:100%!important;
  }
  .wh-project-card .wh-project-title-form textarea[name="description"]{
    min-height:74px!important;
  }
  .wh-project-card .wh-project-file-form .wh-chat-input-row{
    grid-template-columns:1fr!important;
  }
  .wh-project-card .wh-project-file-form .wh-btn{
    width:100%!important;
  }
}

.wh-notification-clickable{display:flex;text-decoration:none;color:inherit}.wh-notification-clickable:hover{border-color:#2563eb;box-shadow:0 12px 28px rgba(37,99,235,.10)}


/* V15.4.7 task files + notification link refinements */
.wh-brand-link{cursor:pointer}
.wh-chat-actions{display:flex;justify-content:flex-end;margin-top:8px}
.wh-file-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin-top:12px}
.wh-file-card{display:grid;gap:8px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;text-decoration:none!important;color:#111827!important;padding:12px;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.wh-file-card:hover{border-color:#fed7aa;box-shadow:0 14px 30px rgba(249,115,22,.10)}
.wh-file-thumb{height:112px;border-radius:14px;background:#f8fafc;display:grid;place-items:center;font-size:28px;overflow:hidden}
.wh-file-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.wh-file-card strong{font-size:14px;line-height:1.3;word-break:break-word}
.wh-file-card small{font-size:12px;color:#6b7280;line-height:1.35}
.wh-file-card em{font-style:normal;color:#ea580c;font-weight:800;font-size:12px}
@media(max-width:640px){.wh-file-gallery{grid-template-columns:1fr 1fr}.wh-file-thumb{height:104px}.wh-chat-actions .wh-btn{width:100%}}


/* V15.4.8 - Mobile web dashboard giống PWA + chat/file form spacing */
.wh-chat-form label,
.wh-file-upload-form label{display:grid!important;gap:7px!important;width:100%!important}
.wh-chat-form .wh-chat-actions,
.wh-file-upload-form .wh-chat-actions{display:flex!important;justify-content:flex-end!important;width:100%!important;margin-top:10px!important;clear:both!important}
@media(max-width:760px){
  .ttmt-wh-app .wh-dashboard-summary-section{background:linear-gradient(180deg,#eef5ff 0%,#ffffff 100%)!important;border:0!important;box-shadow:none!important;padding:0!important}
  .wh-dashboard-head{display:grid!important;gap:12px!important;background:linear-gradient(135deg,#ffffff,#f7fbff)!important;border:1px solid #bfdbfe!important;border-radius:24px!important;padding:16px!important;box-shadow:0 18px 46px rgba(37,99,235,.08)!important;margin-bottom:12px!important}
  .wh-dashboard-head h2{font-size:26px!important;letter-spacing:-.05em!important;color:#1d4ed8!important;margin:0!important}
  .wh-dashboard-head p{display:none!important}
  .wh-dashboard-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important}
  .wh-month-filter-form label{display:grid!important;gap:6px!important;font-size:12px!important;font-weight:900!important;color:#64748b!important}
  .wh-month-filter-form select{width:100%!important;border-radius:14px!important;border:1px solid #dbeafe!important;background:#fff!important;padding:11px 12px!important;font-weight:800!important}
  .wh-btn-notify{width:100%!important;justify-content:center!important;background:#eff6ff!important;color:#1d4ed8!important;border-color:#bfdbfe!important;border-radius:16px!important;box-shadow:0 10px 22px rgba(37,99,235,.08)!important}
  .wh-dashboard-period{display:inline-flex!important;width:max-content!important;max-width:100%!important;border-radius:999px!important;background:#fff7ed!important;border:1px solid #fed7aa!important;color:#ea580c!important;padding:8px 12px!important;margin:0 0 12px!important;font-size:12px!important;font-weight:950!important}
  .wh-dashboard-stats-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .wh-dashboard-stats-grid .wh-stat-card{border:1px solid #bfdbfe!important;background:linear-gradient(135deg,#ffffff,#f7fbff)!important;border-radius:20px!important;padding:14px!important;box-shadow:0 10px 24px rgba(37,99,235,.05)!important;min-height:116px!important}
  .wh-dashboard-stats-grid .wh-stat-card span{display:block!important;color:#1d4ed8!important;font-size:12px!important;font-weight:950!important;margin-bottom:8px!important}
  .wh-dashboard-stats-grid .wh-stat-card strong{display:block!important;color:#0f172a!important;font-size:30px!important;line-height:1!important;letter-spacing:-.05em!important;margin:0 0 6px!important}
  .wh-dashboard-stats-grid .wh-stat-card small{display:block!important;color:#64748b!important;font-size:11px!important;line-height:1.35!important;font-weight:750!important}
  .wh-rate-panel{border-radius:20px!important;border-color:#dbeafe!important;background:#fff!important;margin-top:12px!important;box-shadow:0 10px 24px rgba(37,99,235,.04)!important}
  .wh-dashboard-insights{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-top:12px!important}
}
@media(max-width:380px){.wh-dashboard-stats-grid{grid-template-columns:1fr!important}}


/* V15.4.9 - File delete permission + dashboard notification placement */
.wh-dashboard-notification-row{display:flex!important;justify-content:flex-start!important;align-items:center!important;margin:-4px 0 12px!important;position:relative!important;z-index:70!important;overflow:visible!important;}
.wh-dashboard-notification-row .wh-desktop-notification-popover{left:0!important;right:auto!important;transform-origin:top left!important;}
.wh-dashboard-notification-row .wh-desktop-notification-popover::before{left:26px!important;right:auto!important;}
.wh-dashboard-actions .wh-desktop-notification-wrap{display:none!important;}
.wh-file-card-link{display:grid!important;gap:8px!important;text-decoration:none!important;color:#111827!important;}
.wh-file-delete-form{margin-top:8px!important;display:flex!important;justify-content:flex-end!important;}
.wh-btn-file-delete{width:100%!important;justify-content:center!important;border-radius:12px!important;padding:9px 10px!important;font-size:12px!important;}
.wh-project-file-item{grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:10px!important;}
.wh-project-file-item .wh-file-delete-form{margin:0!important;}
@media(max-width:782px){.wh-dashboard-notification-row{display:none!important}.wh-project-file-item{grid-template-columns:1fr!important}.wh-project-file-item .wh-file-delete-form{justify-content:flex-start!important}.wh-btn-file-delete{width:100%!important}}


/* V15.5.0 - Add member form refinement */
.wh-create-member-box{border:1px solid #dbeafe;background:linear-gradient(135deg,#eff6ff,#fff);border-radius:20px;padding:14px;margin:0 0 18px;}
.wh-create-member-box>summary{list-style:none;}
.wh-create-member-box>summary::-webkit-details-marker{display:none;}
.wh-create-member-form .wh-note{margin-top:0;}
@media(max-width:640px){.wh-create-member-box{padding:12px;border-radius:18px}.wh-create-member-box>summary{width:100%;}}

/* V15.5.1 - Desktop notification in left function menu */
@media(min-width:783px){.wh-nav-view-notifications{display:flex!important}.wh-dashboard-notification-row{display:none!important}}

/* V15.5.2.3 - Task list stats */
.wh-task-list-stats-grid{margin:12px 0 14px!important;}
.wh-task-list-stats-grid .wh-stat-card{min-height:106px!important;}
@media(max-width:640px){.wh-task-list-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.wh-task-list-stats-grid .wh-stat-card strong{font-size:26px!important}}


/* V15.5.2.4 - Task stats responsive layout
   Desktop: 3 chỉ số / hàng.
   Mobile web: 2 chỉ số / hàng.
*/
.wh-task-list-stats-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
  margin:12px 0 14px!important;
}
.wh-task-list-stats-grid .wh-stat-card{
  min-height:104px!important;
  padding:14px!important;
}
.wh-task-list-stats-grid .wh-stat-card strong{
  font-size:28px!important;
  line-height:1.05!important;
}
.wh-task-list-stats-grid .wh-stat-card small{
  font-size:12px!important;
  line-height:1.3!important;
}
@media(max-width:782px){
  .wh-task-list-stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .wh-task-list-stats-grid .wh-stat-card{
    min-height:96px!important;
    padding:12px!important;
  }
  .wh-task-list-stats-grid .wh-stat-card strong{
    font-size:25px!important;
  }
  .wh-task-list-stats-grid .wh-stat-card span,
  .wh-task-list-stats-grid .wh-stat-card small{
    font-size:11px!important;
  }
}
@media(max-width:360px){
  .wh-task-list-stats-grid{
    gap:8px!important;
  }
  .wh-task-list-stats-grid .wh-stat-card{
    padding:10px!important;
    border-radius:16px!important;
  }
  .wh-task-list-stats-grid .wh-stat-card strong{
    font-size:22px!important;
  }
}


/* V15.5.2.5 - Compact statistic cards
   Desktop: bỏ dòng "Xem danh sách", vẫn giữ link trên toàn bộ ô.
   Mobile web: bỏ dòng mô tả dưới số, giảm chiều cao nhưng giữ nhãn + số.
*/
.wh-stat-link::after,
.wh-stat-link:hover::after,
.wh-stat-link:focus-visible::after{
  content:none!important;
  display:none!important;
  opacity:0!important;
  margin:0!important;
  padding:0!important;
}
.wh-task-list-stats-grid .wh-stat-card{
  min-height:88px!important;
  padding:12px 14px!important;
  justify-content:center!important;
  gap:5px!important;
}
.wh-task-list-stats-grid .wh-stat-card strong{
  margin-top:4px!important;
  font-size:26px!important;
  line-height:1!important;
}
.wh-task-list-stats-grid .wh-stat-card small{
  margin-top:4px!important;
  font-size:11px!important;
  line-height:1.25!important;
}
@media(max-width:782px){
  .wh-task-list-stats-grid .wh-stat-card{
    min-height:76px!important;
    padding:10px 11px!important;
    border-radius:16px!important;
  }
  .wh-task-list-stats-grid .wh-stat-card span{
    font-size:11px!important;
    line-height:1.15!important;
    white-space:normal!important;
    overflow:visible!important;
  }
  .wh-task-list-stats-grid .wh-stat-card strong{
    font-size:24px!important;
    line-height:1!important;
    margin-top:5px!important;
  }
  .wh-task-list-stats-grid .wh-stat-card small{
    display:none!important;
  }
}
@media(max-width:360px){
  .wh-task-list-stats-grid .wh-stat-card{
    min-height:72px!important;
    padding:9px 9px!important;
  }
  .wh-task-list-stats-grid .wh-stat-card strong{
    font-size:22px!important;
  }
  .wh-task-list-stats-grid .wh-stat-card span{
    font-size:10.5px!important;
  }
}


/* V15.5.2.6 - Remove statistic card description lines
   Desktop + Mobile web: ô thống kê chỉ còn tên chỉ số + số liệu.
   Vẫn giữ chức năng nhấp vào toàn bộ ô để lọc danh sách.
*/
.wh-dashboard-stats-grid .wh-stat-card small,
.wh-task-list-stats-grid .wh-stat-card small{
  display:none!important;
}
.wh-dashboard-stats-grid .wh-stat-card,
.wh-task-list-stats-grid .wh-stat-card{
  min-height:78px!important;
  padding:12px 14px!important;
  justify-content:center!important;
  gap:6px!important;
}
.wh-dashboard-stats-grid .wh-stat-card strong,
.wh-task-list-stats-grid .wh-stat-card strong{
  margin-top:4px!important;
  line-height:1!important;
}
.wh-dashboard-stats-grid .wh-stat-card span,
.wh-task-list-stats-grid .wh-stat-card span{
  line-height:1.2!important;
}
@media(max-width:782px){
  .wh-dashboard-stats-grid .wh-stat-card,
  .wh-task-list-stats-grid .wh-stat-card{
    min-height:70px!important;
    padding:10px 11px!important;
    border-radius:16px!important;
  }
  .wh-dashboard-stats-grid .wh-stat-card strong,
  .wh-task-list-stats-grid .wh-stat-card strong{
    font-size:24px!important;
  }
}


/* V15.5.2.7 - Smaller statistic cards + 4/3 columns
   Desktop: 4 ô / hàng.
   Mobile web: 3 ô / hàng để gọn còn khoảng 3 dòng với 8 chỉ số.
*/
.wh-dashboard-stats-grid,
.wh-task-list-stats-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:9px!important;
  align-items:stretch!important;
}
.wh-dashboard-stats-grid .wh-stat-card,
.wh-task-list-stats-grid .wh-stat-card{
  min-height:66px!important;
  padding:9px 10px!important;
  border-radius:15px!important;
  justify-content:center!important;
  gap:3px!important;
}
.wh-dashboard-stats-grid .wh-stat-card span,
.wh-task-list-stats-grid .wh-stat-card span{
  font-size:11px!important;
  line-height:1.12!important;
  white-space:normal!important;
}
.wh-dashboard-stats-grid .wh-stat-card strong,
.wh-task-list-stats-grid .wh-stat-card strong{
  font-size:24px!important;
  line-height:1!important;
  margin-top:3px!important;
}
.wh-dashboard-stats-grid .wh-stat-card small,
.wh-task-list-stats-grid .wh-stat-card small{
  display:none!important;
}
@media(max-width:782px){
  .wh-dashboard-stats-grid,
  .wh-task-list-stats-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .wh-dashboard-stats-grid .wh-stat-card,
  .wh-task-list-stats-grid .wh-stat-card{
    min-height:62px!important;
    padding:8px 8px!important;
    border-radius:14px!important;
  }
  .wh-dashboard-stats-grid .wh-stat-card span,
  .wh-task-list-stats-grid .wh-stat-card span{
    font-size:10px!important;
  }
  .wh-dashboard-stats-grid .wh-stat-card strong,
  .wh-task-list-stats-grid .wh-stat-card strong{
    font-size:21px!important;
  }
}
@media(max-width:360px){
  .wh-dashboard-stats-grid,
  .wh-task-list-stats-grid{
    gap:7px!important;
  }
  .wh-dashboard-stats-grid .wh-stat-card,
  .wh-task-list-stats-grid .wh-stat-card{
    min-height:58px!important;
    padding:7px 6px!important;
  }
  .wh-dashboard-stats-grid .wh-stat-card span,
  .wh-task-list-stats-grid .wh-stat-card span{
    font-size:9.5px!important;
  }
  .wh-dashboard-stats-grid .wh-stat-card strong,
  .wh-task-list-stats-grid .wh-stat-card strong{
    font-size:19px!important;
  }
}


/* V15.5.2.9 - Task decision panel + compact update */
.wh-decision-top-panel{
  margin:0 0 14px!important;
  border-color:#bfdbfe!important;
  background:linear-gradient(135deg,#eff6ff,#fff)!important;
}
.wh-decision-top-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:12px!important;
}
.wh-decision-top-head h3{
  margin:0 0 4px!important;
  font-size:17px!important;
  color:#0f172a!important;
}
.wh-decision-top-head p{
  margin:0!important;
  color:#64748b!important;
  font-weight:750!important;
}
.wh-decision-grid{
  grid-template-columns:minmax(180px,.7fr) minmax(260px,1.3fr)!important;
}
.wh-decision-grid textarea{
  min-height:74px!important;
}
@media(max-width:782px){
  .wh-decision-top-head{display:grid!important}
  .wh-decision-grid{grid-template-columns:1fr!important}
}


/* V15.5.2.10 - STT/delete/timeline refinements */
.wh-stt-col{width:56px!important;text-align:center!important;color:#64748b!important;font-weight:900!important;white-space:nowrap!important}
.wh-delete-task-form{margin-top:6px!important}.wh-delete-task-btn{background:#fef2f2!important;color:#b91c1c!important;border:1px solid #fecaca!important;border-radius:999px!important;padding:7px 10px!important;font-weight:900!important;cursor:pointer!important}
.wh-timeline-type{display:inline-flex!important;align-items:center!important;margin-right:6px!important;padding:3px 7px!important;border-radius:999px!important;background:#eff6ff!important;color:#1d4ed8!important;font-size:11px!important;font-weight:950!important}.wh-timeline-chat-item .wh-timeline-type{background:#fff7ed!important;color:#c2410c!important}.wh-timeline-chat-item{border-left-color:#fb923c!important}.wh-timeline-update-item{border-left-color:#2563eb!important}
@media(max-width:782px){.wh-stt-col{width:auto!important;text-align:left!important}.wh-delete-task-btn{width:100%!important}}


/* V15.5.2.12 - Visible Admin delete + list speed */
.wh-admin-delete-col{
  width:92px!important;
  text-align:center!important;
  white-space:nowrap!important;
}
.wh-admin-delete-col .wh-delete-task-form{
  display:block!important;
  margin:0!important;
}
.wh-delete-task-form{
  display:block!important;
}
.wh-delete-task-btn{
  background:#fef2f2!important;
  color:#b91c1c!important;
  border:1px solid #fecaca!important;
  border-radius:999px!important;
  padding:7px 10px!important;
  font-weight:950!important;
  cursor:pointer!important;
  line-height:1.1!important;
}
.wh-delete-task-btn:hover{
  background:#fee2e2!important;
  color:#991b1b!important;
}
.wh-detail-status-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
@media(max-width:782px){
  .wh-admin-delete-col{
    width:auto!important;
    text-align:left!important;
  }
  .wh-admin-delete-col:empty{display:none!important}
  .wh-admin-delete-col .wh-delete-task-btn{
    width:auto!important;
    min-width:110px!important;
  }
  .wh-detail-status-actions{
    justify-content:flex-start!important;
  }
}


/* V15.5.2.14 - iOS 27 compact delete + month filter */
.wh-admin-delete-col{
  width:58px!important;
  text-align:center!important;
}
.wh-delete-task-form{
  display:inline-flex!important;
  margin:0!important;
}
.wh-delete-task-btn{
  min-width:34px!important;
  height:34px!important;
  padding:0 9px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,90,95,.25)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,242,242,.72))!important;
  color:#ff3b30!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 18px rgba(255,59,48,.12)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:950!important;
}
.wh-delete-task-btn span{
  font-size:11px!important;
}
.wh-ios-trash-icon{
  width:16px!important;
  height:16px!important;
  display:block!important;
  fill:currentColor!important;
}
.wh-delete-task-btn:hover{
  transform:translateY(-1px)!important;
  background:linear-gradient(180deg,#fff,#fee2e2)!important;
  color:#dc2626!important;
}
.wh-task-filter-form select[name="wh_month"]{
  min-width:140px!important;
}
@media(max-width:782px){
  .wh-admin-delete-col{
    width:auto!important;
    text-align:left!important;
  }
  .wh-admin-delete-col .wh-delete-task-btn{
    width:auto!important;
    min-width:82px!important;
    height:34px!important;
  }
  .wh-task-filter-form select[name="wh_month"]{
    min-width:0!important;
  }
}


/* V15.5.2.15 - Notification badges */
.wh-notification-type{display:inline-flex!important;align-items:center!important;margin-left:6px!important;padding:2px 7px!important;border-radius:999px!important;background:#eff6ff!important;color:#1d4ed8!important;font-size:10px!important;font-weight:950!important;font-style:normal!important;vertical-align:middle!important}
.wh-nav-view-notifications{position:relative!important}.wh-nav-view-notifications.active{font-weight:950!important}


/* V15.5.2.16 - Submit lock / duplicate guard */
.wh-btn-disabled,
.wh-form[data-submitting="1"] button[type="submit"]{
  opacity:.62!important;
  pointer-events:none!important;
  cursor:wait!important;
}


/* V15.5.2.17 - Login PWA-style + visible mobile logout + larger admin delete icon */
.ttmt-wh-auth{
  min-height:100vh!important;
  background:linear-gradient(180deg,#fff8f1 0%,#f8f9fd 22%,#f7f8fc 100%)!important;
  color:#101828!important;
}
.ttmt-wh-auth .wh-auth-card{
  width:min(520px,calc(100% - 28px))!important;
  border:1px solid rgba(229,106,43,.16)!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 24px 70px rgba(15,23,42,.10)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
.ttmt-wh-auth .wh-auth-brand{
  display:grid!important;
  justify-items:center!important;
  text-align:center!important;
  gap:12px!important;
  margin-bottom:22px!important;
}
.ttmt-wh-auth .wh-auth-logo-inner,
.ttmt-wh-auth .wh-logo,
.ttmt-wh-auth .wh-sun{
  width:88px!important;
  height:88px!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#ef8a3c,#e55a2b)!important;
  box-shadow:0 18px 42px rgba(229,106,43,.20)!important;
}
.ttmt-wh-auth .wh-auth-brand h1,
.ttmt-wh-auth .wh-auth-brand h1.wh-auth-title-login{
  margin:0!important;
  font-size:34px!important;
  line-height:1.05!important;
  letter-spacing:-.05em!important;
  color:#101828!important;
  font-weight:950!important;
}
.ttmt-wh-auth .wh-auth-brand p{
  margin:8px 0 0!important;
  color:#e55a2b!important;
  font-weight:900!important;
  font-size:16px!important;
}
.ttmt-wh-auth .wh-form input{
  border-color:#d9deea!important;
  border-radius:14px!important;
  padding:12px 13px!important;
}
.ttmt-wh-auth .wh-form input:focus{
  border-color:#f2a66c!important;
  box-shadow:0 0 0 4px rgba(229,106,43,.12)!important;
}
.ttmt-wh-auth .wh-btn-primary{
  background:linear-gradient(135deg,#ef8a3c,#e55a2b)!important;
  box-shadow:0 12px 28px rgba(229,106,43,.24)!important;
}
.wh-mobile-logout-nav{display:none!important;}
.wh-ios-trash-icon{
  width:32px!important;
  height:32px!important;
}
.wh-delete-task-btn{
  min-width:58px!important;
  height:58px!important;
  padding:0 13px!important;
}
.wh-admin-delete-col{width:72px!important;}
@media(max-width:782px){
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar-nav{
    padding-bottom:92px!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-mobile-logout-nav{
    display:flex!important;
    position:sticky!important;
    bottom:0!important;
    z-index:2!important;
    margin-top:12px!important;
    justify-content:center!important;
    min-height:48px!important;
    border:1px solid #fecaca!important;
    background:linear-gradient(135deg,#fff7f7,#fff)!important;
    color:#b91c1c!important;
    box-shadow:0 -8px 20px rgba(15,23,42,.05),0 10px 24px rgba(185,28,28,.08)!important;
  }
  .ttmt-wh-app.wh-mobile-bar-fixed .wh-sidebar-account-bottom .wh-sidebar-logout{
    display:flex!important;
    justify-content:center!important;
    width:100%!important;
    margin-top:10px!important;
    border-radius:16px!important;
    padding:12px 14px!important;
    background:#fef2f2!important;
    color:#b91c1c!important;
    border:1px solid #fecaca!important;
    font-weight:950!important;
  }
  .wh-ios-trash-icon{width:32px!important;height:32px!important;}
  .wh-delete-task-btn{min-width:58px!important;height:58px!important;}
}
@media(max-width:640px){
  .ttmt-wh-auth .wh-auth-brand h1,
  .ttmt-wh-auth .wh-auth-brand h1.wh-auth-title-login{font-size:32px!important;}
  .ttmt-wh-auth .wh-auth-logo-inner,
  .ttmt-wh-auth .wh-logo,
  .ttmt-wh-auth .wh-sun{width:82px!important;height:82px!important;}
}


/* V15.5.2.18 - Better delete icon + notification/speed refinements */
.wh-ios-delete-icon{
  width:34px!important;
  height:34px!important;
  display:block!important;
  fill:currentColor!important;
  filter:drop-shadow(0 4px 8px rgba(220,38,38,.18))!important;
}
.wh-delete-task-btn{
  color:#ef4444!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(254,226,226,.78))!important;
  border-color:rgba(248,113,113,.30)!important;
}
.wh-delete-task-btn:hover .wh-ios-delete-icon{transform:scale(1.04)!important;}
@media(max-width:782px){.wh-ios-delete-icon{width:34px!important;height:34px!important;}}


/* V15.5.2.19 - Self notifications + softer delete + premium completed stamp */
.wh-ios-delete-icon{
  width:20px!important;
  height:20px!important;
  display:block!important;
  fill:currentColor!important;
  opacity:.72!important;
  filter:drop-shadow(0 2px 5px rgba(239,68,68,.10))!important;
  transition:transform .16s ease,opacity .16s ease!important;
}
.wh-delete-task-btn{
  min-width:40px!important;
  height:40px!important;
  padding:0 9px!important;
  color:#f59a9a!important;
  background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,247,247,.74))!important;
  border:1px solid rgba(252,165,165,.26)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 7px 14px rgba(239,68,68,.07)!important;
}
.wh-delete-task-btn:hover{color:#f87171!important;background:linear-gradient(180deg,#fff,rgba(254,242,242,.88))!important;}
.wh-delete-task-btn:hover .wh-ios-delete-icon{opacity:.88!important;transform:scale(1.03)!important;}
.wh-admin-delete-col{width:54px!important;}
.wh-completed-stamp{
  right:22px!important;
  top:18px!important;
  width:132px!important;
  height:132px!important;
  border:0!important;
  border-radius:999px!important;
  background:radial-gradient(circle at 35% 28%,rgba(255,255,255,.96),rgba(236,253,245,.82) 52%,rgba(187,247,208,.62))!important;
  color:#047857!important;
  box-shadow:0 18px 42px rgba(5,150,105,.16),inset 0 0 0 2px rgba(16,185,129,.24),inset 0 0 0 8px rgba(255,255,255,.52)!important;
  transform:rotate(-10deg)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
.wh-completed-stamp:before{
  content:'✓';
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  margin-bottom:6px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#10b981,#059669)!important;
  color:#fff!important;
  font-size:22px!important;
  font-weight:950!important;
  box-shadow:0 8px 18px rgba(5,150,105,.20)!important;
}
.wh-completed-stamp:after{
  content:'';
  position:absolute!important;
  inset:9px!important;
  border:1.5px dashed rgba(5,150,105,.42)!important;
  border-radius:999px!important;
}
.wh-completed-stamp span{
  max-width:98px!important;
  font-size:12px!important;
  line-height:1.12!important;
  letter-spacing:.08em!important;
  font-weight:950!important;
  color:#047857!important;
}
.wh-status-done-mini{
  background:linear-gradient(135deg,#ecfdf5,#f0fdf4)!important;
  color:#047857!important;
  border-color:#a7f3d0!important;
  box-shadow:0 6px 14px rgba(5,150,105,.08)!important;
}
@media(max-width:782px){
  .wh-ios-delete-icon{width:20px!important;height:20px!important;}
  .wh-delete-task-btn{min-width:40px!important;height:40px!important;}
  .wh-completed-stamp{width:112px!important;height:112px!important;margin:0 0 12px auto!important;}
  .wh-completed-stamp:before{width:30px!important;height:30px!important;font-size:19px!important;}
  .wh-completed-stamp span{font-size:10.5px!important;max-width:82px!important;}
}


/* V15.5.2.20 - Non-flow completed stamp + rectangular soft delete + data speed */
@media(max-width:780px){
  .wh-task-main-panel{
    position:relative!important;
    overflow:hidden!important;
  }
  .wh-task-main-panel .wh-completed-stamp{
    position:absolute!important;
    right:18px!important;
    top:58px!important;
    width:88px!important;
    height:88px!important;
    margin:0!important;
    border-width:3px!important;
    opacity:.94!important;
    z-index:1!important;
    pointer-events:none!important;
  }
  .wh-task-main-panel .wh-completed-stamp span{
    font-size:11px!important;
    max-width:70px!important;
  }
  .wh-task-main-panel .wh-completed-stamp small{
    font-size:8px!important;
  }
  .wh-task-main-panel .wh-completed-stamp + .wh-info,
  .wh-task-main-panel .wh-completed-stamp + .wh-info + .wh-info{
    max-width:calc(100% - 108px)!important;
  }
}
.wh-delete-task-btn{
  min-width:58px!important;
  width:auto!important;
  height:32px!important;
  padding:0 10px!important;
  border-radius:12px!important;
  gap:5px!important;
  color:#ef8a8a!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,248,248,.78))!important;
  border:1px solid rgba(252,165,165,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 5px 12px rgba(239,68,68,.055)!important;
  font-size:11px!important;
}
.wh-delete-task-btn span{
  font-size:11px!important;
  font-weight:900!important;
}
.wh-ios-delete-icon,
.wh-ios-trash-icon{
  width:15px!important;
  height:15px!important;
  opacity:.58!important;
  filter:none!important;
}


/* V15.5.2.21 - stronger mobile completed stamp + faster data */
.wh-task-main-panel{
  position:relative!important;
}
.wh-task-main-panel .wh-completed-stamp{
  border-radius:50%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  isolation:isolate!important;
}
.wh-task-main-panel .wh-completed-stamp::before{
  content:'✓'!important;
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  margin-bottom:4px!important;
  background:linear-gradient(135deg,#34d399,#10b981)!important;
  color:#fff!important;
  font-weight:950!important;
  font-size:18px!important;
  line-height:1!important;
  box-shadow:0 8px 18px rgba(16,185,129,.22)!important;
}
.wh-task-main-panel .wh-completed-stamp::after{
  content:''!important;
  position:absolute!important;
  inset:8px!important;
  border:1.5px dashed rgba(16,185,129,.38)!important;
  border-radius:50%!important;
  pointer-events:none!important;
}
.wh-task-main-panel .wh-completed-stamp span{
  position:relative!important;
  z-index:1!important;
}
@media(max-width:780px){
  .wh-task-main-panel{
    position:relative!important;
    overflow:hidden!important;
    min-height:360px!important;
  }
  .wh-task-main-panel .wh-completed-stamp{
    position:absolute!important;
    right:18px!important;
    top:58px!important;
    width:94px!important;
    height:94px!important;
    margin:0!important;
    padding:0!important;
    border:3px solid rgba(16,185,129,.34)!important;
    outline:none!important;
    background:rgba(236,253,245,.72)!important;
    color:#047857!important;
    transform:rotate(-10deg)!important;
    opacity:.96!important;
    box-shadow:0 16px 34px rgba(16,185,129,.13),inset 0 1px 0 rgba(255,255,255,.82)!important;
    z-index:2!important;
    pointer-events:none!important;
  }
  .wh-task-main-panel .wh-completed-stamp span{
    font-size:10px!important;
    line-height:1.05!important;
    font-weight:950!important;
    letter-spacing:.075em!important;
    max-width:72px!important;
    text-align:center!important;
  }
  .wh-task-main-panel .wh-completed-stamp + .wh-info,
  .wh-task-main-panel .wh-completed-stamp + .wh-info + .wh-info{
    max-width:calc(100% - 112px)!important;
  }
}
@media(max-width:390px){
  .wh-task-main-panel .wh-completed-stamp{
    width:84px!important;
    height:84px!important;
    right:14px!important;
    top:58px!important;
  }
  .wh-task-main-panel .wh-completed-stamp::before{
    width:24px!important;
    height:24px!important;
    font-size:16px!important;
  }
  .wh-task-main-panel .wh-completed-stamp span{
    font-size:9px!important;
    max-width:64px!important;
  }
}


/* V15.5.2.22 - single mobile logout + stronger completed stamp + speed */
.wh-mobile-logout-nav{display:none!important;}
@media(max-width:780px){
  .wh-sidebar.is-menu-open .wh-sidebar-account-bottom{
    margin-top:12px!important;
  }
  .wh-task-main-panel .wh-completed-stamp{
    position:absolute!important;
    right:16px!important;
    top:54px!important;
    width:90px!important;
    height:90px!important;
    margin:0!important;
    border:3px solid rgba(16,185,129,.36)!important;
    outline:1.5px dashed rgba(16,185,129,.36)!important;
    outline-offset:-8px!important;
    background:rgba(236,253,245,.74)!important;
    box-shadow:0 14px 30px rgba(16,185,129,.13), inset 0 1px 0 rgba(255,255,255,.82)!important;
    transform:rotate(-10deg)!important;
    z-index:2!important;
    pointer-events:none!important;
  }
  .wh-task-main-panel .wh-completed-stamp::before{
    width:25px!important;
    height:25px!important;
    font-size:16px!important;
    margin-bottom:3px!important;
  }
  .wh-task-main-panel .wh-completed-stamp span{
    font-size:9.5px!important;
    line-height:1.05!important;
    max-width:68px!important;
    letter-spacing:.075em!important;
  }
}


/* V15.5.3 - Web mobile completed stamp effect + speed polish */
.wh-task-main-panel{
  position:relative!important;
}
.wh-task-main-panel .wh-completed-stamp{
  border-radius:50%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  isolation:isolate!important;
}
.wh-task-main-panel .wh-completed-stamp::before{
  content:'✓'!important;
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  margin-bottom:4px!important;
  background:linear-gradient(135deg,#34d399,#10b981)!important;
  color:#fff!important;
  font-weight:950!important;
  font-size:18px!important;
  line-height:1!important;
  box-shadow:0 8px 18px rgba(16,185,129,.22)!important;
}
.wh-task-main-panel .wh-completed-stamp::after{
  content:''!important;
  position:absolute!important;
  inset:8px!important;
  border:1.5px dashed rgba(16,185,129,.38)!important;
  border-radius:50%!important;
  pointer-events:none!important;
}
.wh-task-main-panel .wh-completed-stamp span{
  position:relative!important;
  z-index:1!important;
}
@media(max-width:780px){
  .wh-task-main-panel{
    position:relative!important;
    overflow:hidden!important;
  }
  .wh-task-main-panel .wh-completed-stamp{
    position:absolute!important;
    right:18px!important;
    top:58px!important;
    width:88px!important;
    height:88px!important;
    margin:0!important;
    padding:0!important;
    border:3px solid rgba(16,185,129,.34)!important;
    background:rgba(236,253,245,.72)!important;
    color:#047857!important;
    transform:rotate(-10deg)!important;
    opacity:.96!important;
    box-shadow:0 16px 34px rgba(16,185,129,.13),inset 0 1px 0 rgba(255,255,255,.82)!important;
    z-index:2!important;
    pointer-events:none!important;
  }
  .wh-task-main-panel .wh-completed-stamp span{
    font-size:9.5px!important;
    line-height:1.05!important;
    font-weight:950!important;
    letter-spacing:.075em!important;
    max-width:66px!important;
    text-align:center!important;
  }
  .wh-task-main-panel .wh-completed-stamp + .wh-info,
  .wh-task-main-panel .wh-completed-stamp + .wh-info + .wh-info{
    max-width:calc(100% - 104px)!important;
  }
}
@media(max-width:390px){
  .wh-task-main-panel .wh-completed-stamp{
    width:78px!important;
    height:78px!important;
    right:14px!important;
    top:58px!important;
  }
  .wh-task-main-panel .wh-completed-stamp::before{
    width:22px!important;
    height:22px!important;
    font-size:15px!important;
  }
  .wh-task-main-panel .wh-completed-stamp span{
    font-size:8.5px!important;
    max-width:58px!important;
  }
}


/* V15.5.4 - mobile logout moved to Account + speed polish */
.wh-profile-logout-panel{
  margin-top:16px!important;
  padding-top:14px!important;
  border-top:1px solid #fee2e2!important;
}
.wh-profile-logout-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:46px!important;
  border-radius:16px!important;
  border:1px solid #fecaca!important;
  background:#fff1f2!important;
  color:#b91c1c!important;
  font-weight:950!important;
  text-decoration:none!important;
}
.wh-profile-logout-btn:hover{
  background:#fee2e2!important;
  color:#991b1b!important;
}
@media(max-width:782px){
  .wh-sidebar .wh-sidebar-account-bottom{
    display:none!important;
  }
  .wh-profile-logout-panel{
    display:block!important;
  }
}
@media(min-width:783px){
  .wh-profile-logout-panel{
    display:none!important;
  }
}

/* V15.5.6 - broadcast form and delete permission */
.wh-broadcast-form{
  margin:0 0 16px!important;
  padding:16px!important;
  border:1px solid #fed7aa!important;
  background:linear-gradient(135deg,#fff7ed,#fff)!important;
  border-radius:20px!important;
}
.wh-checkline,.wh-inline-check{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  font-weight:850!important;
  color:#475569!important;
}
.wh-inline-check{
  white-space:nowrap!important;
}

/* V15.5.8 - dept broadcast fix and fast submit effect */
.wh-form-is-submitting{
  position:relative!important;
  opacity:.86!important;
  cursor:progress!important;
}
.wh-form-is-submitting:after{
  content:'Đang xử lý nền...'!important;
  position:absolute!important;
  right:12px!important;
  bottom:8px!important;
  font-size:12px!important;
  font-weight:900!important;
  color:#2563eb!important;
  background:#eff6ff!important;
  border:1px solid #bfdbfe!important;
  border-radius:999px!important;
  padding:6px 10px!important;
}
.wh-broadcast-form select{
  min-height:42px!important;
}

/* V15.5.9 - broadcast separate and month all */
.wh-broadcast-section .wh-broadcast-form{
  max-width:860px!important;
}
.wh-broadcast-department-field select[multiple]{
  min-height:132px!important;
}
.wh-sidebar-nav a[href*="wh_view=broadcast"]{
  margin-top:-4px!important;
}
.wh-month-filter-form select{
  min-width:180px!important;
}

/* V15.5.11 - group task participants */
.wh-recipient-summary-cell{display:flex!important;flex-direction:column!important;gap:3px!important;line-height:1.25!important}.wh-recipient-summary-cell strong{font-weight:900!important;color:#0f172a!important}.wh-recipient-summary-cell small{color:#64748b!important;font-weight:800!important}.wh-participant-members{display:grid!important;gap:10px!important}.wh-participant-card{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}

/* V15.5.13 - pending member badges */
.wh-new-count-badge,
.wh-new-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:#fff7ed!important;
  color:#ea580c!important;
  border:1px solid #fed7aa!important;
  font-weight:900!important;
}
.wh-new-count-badge{
  font-size:12px!important;
  padding:4px 8px!important;
  margin-left:8px!important;
  vertical-align:middle!important;
}
.wh-new-badge{
  font-size:11px!important;
  padding:2px 7px!important;
  margin-left:6px!important;
}
.wh-nav-link.wh-nav-view-members{
  position:relative!important;
}

/* V15.5.15 - approval after report and notification completed stamp */
.wh-working-top-panel{
  border-color:#bfdbfe!important;
  background:linear-gradient(135deg,#eff6ff,#ffffff)!important;
}
.wh-notification-item{
  position:relative!important;
  overflow:hidden!important;
}
.wh-notification-item.has-completed-stamp .wh-notification-body{
  padding-right:96px!important;
}
.wh-notification-completed-stamp{
  position:absolute!important;
  right:14px!important;
  top:50%!important;
  width:78px!important;
  height:78px!important;
  transform:translateY(-50%) rotate(-10deg)!important;
  border-radius:50%!important;
  border:2px solid rgba(16,185,129,.36)!important;
  outline:1px dashed rgba(16,185,129,.36)!important;
  outline-offset:-7px!important;
  background:rgba(236,253,245,.78)!important;
  color:#047857!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  box-shadow:0 10px 22px rgba(16,185,129,.10)!important;
  pointer-events:none!important;
  z-index:2!important;
}
.wh-notification-completed-stamp b{
  width:22px!important;
  height:22px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:#10b981!important;
  color:#fff!important;
  line-height:1!important;
  font-size:14px!important;
}
.wh-notification-completed-stamp span{
  font-size:7.5px!important;
  font-weight:950!important;
  letter-spacing:.06em!important;
  text-align:center!important;
}
@media(max-width:680px){
  .wh-notification-item.has-completed-stamp .wh-notification-body{padding-right:74px!important;}
  .wh-notification-completed-stamp{width:60px!important;height:60px!important;right:10px!important;top:14px!important;transform:rotate(-10deg)!important;}
  .wh-notification-completed-stamp b{width:18px!important;height:18px!important;font-size:12px!important;}
  .wh-notification-completed-stamp span{font-size:6.2px!important;}
}

/* V15.5.16 - manager task status flow */
.wh-working-top-panel .wh-decision-top-head h3{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.wh-working-top-panel{
  border-color:#bfdbfe!important;
}
.wh-working-top-panel .wh-decision-top-head p{
  max-width:760px!important;
}
