/* Workbench Icon Upgrade & Action / Blocked / Completed Reminder System */
.brand-mark {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #8c583a 0%, #5c351e 100%) !important;
  box-shadow: 0 3px 10px rgba(92, 53, 30, 0.22), inset 0 1px 0 rgba(255, 240, 220, 0.35) !important;
  padding: 0 !important;
  overflow: hidden;
  vertical-align: middle;
}
.brand-mark svg,
.brand-mark img {
  width: 28px;
  height: 28px;
  display: block;
}

.wn-topbar-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 94, 59, 0.26);
  background: #fffdf9;
  color: #4a3525;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wn-topbar-pill:hover {
  background: #f5ece0;
  border-color: #8b5e3b;
}
.wn-topbar-pill[data-kind="needs_action"] {
  background: #fff7e6;
  border-color: #e6a23c;
  color: #8a5300;
  box-shadow: 0 0 0 2px rgba(230, 162, 60, 0.16);
}
.wn-topbar-pill[data-kind="blocked"] {
  background: #fff0ed;
  border-color: #d9534f;
  color: #9e2420;
  box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.18);
  animation: wnAttentionPulse 1.8s infinite;
}
.wn-topbar-pill[data-kind="completed"] {
  background: #eaf8ee;
  border-color: #3ca35c;
  color: #1c6634;
}
@keyframes wnAttentionPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.wn-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(90, 62, 40, 0.14);
  color: inherit;
}

/* Floating Toast Reminder Banner (Top Right) */
.wn-floating-banner {
  position: fixed;
  top: 66px;
  right: 20px;
  z-index: 9990;
  width: min(410px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 14px;
  background: #fffdf9;
  border: 1px solid rgba(139, 94, 59, 0.3);
  box-shadow: 0 14px 36px rgba(45, 28, 14, 0.2);
  color: #362519;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.wn-floating-banner.hidden {
  display: none !important;
}
.wn-floating-banner[data-kind="needs_action"] {
  border-left: 5px solid #e69628;
  background: linear-gradient(180deg, #fffaf0 0%, #fffdf9 100%);
}
.wn-floating-banner[data-kind="blocked"] {
  border-left: 5px solid #d44235;
  background: linear-gradient(180deg, #fff5f3 0%, #fffdf9 100%);
}
.wn-floating-banner[data-kind="completed"] {
  border-left: 5px solid #2e944b;
  background: linear-gradient(180deg, #f2fbf5 0%, #fffdf9 100%);
}
.wn-banner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wn-banner-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.wn-floating-banner[data-kind="needs_action"] .wn-banner-tag {
  background: #fce8c3;
  color: #824d00;
}
.wn-floating-banner[data-kind="blocked"] .wn-banner-tag {
  background: #fadbd8;
  color: #96231c;
}
.wn-floating-banner[data-kind="completed"] .wn-banner-tag {
  background: #d4f2de;
  color: #185e2c;
}
.wn-banner-close {
  border: none;
  background: transparent;
  color: #7d6654;
  font-size: 15px;
  cursor: pointer;
  padding: 2px 6px;
}
.wn-banner-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: #2c1e14;
}
.wn-banner-desc {
  font-size: 12.5px;
  line-height: 1.55;
  margin: 0;
  color: #5c4635;
}
.wn-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 2px;
}
.wn-banner-actions button {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(120, 84, 56, 0.25);
  background: #fff;
  color: #3d2a1c;
}
.wn-banner-actions button.primary {
  background: #7c5234;
  border-color: #7c5234;
  color: #fff;
}

/* Notification Center Dropdown Panel */
.wn-panel {
  position: fixed;
  top: 58px;
  right: 20px;
  z-index: 9995;
  width: min(440px, calc(100vw - 28px));
  max-height: 76vh;
  overflow-y: auto;
  padding: 16px;
  border-radius: 16px;
  background: #fbf8f3;
  border: 1px solid rgba(139, 94, 59, 0.3);
  box-shadow: 0 20px 48px rgba(38, 24, 14, 0.24);
  color: #362519;
}
.wn-panel.hidden {
  display: none !important;
}
.wn-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(139, 94, 59, 0.16);
  margin-bottom: 10px;
}
.wn-panel-head h3 {
  margin: 0;
  font-size: 15px;
}
.wn-panel-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}
.wn-item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wn-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(139, 94, 59, 0.18);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wn-item[data-kind="needs_action"] {
  border-left: 4px solid #e69628;
}
.wn-item[data-kind="blocked"] {
  border-left: 4px solid #d44235;
}
.wn-item[data-kind="completed"] {
  border-left: 4px solid #2e944b;
}
.wn-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wn-item-title {
  font-weight: 700;
  font-size: 13px;
}
.wn-item-desc {
  font-size: 12px;
  color: #5c4635;
  line-height: 1.5;
}
.wn-item-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 2px;
}
.wn-item-foot button {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: #7c5234;
  color: #fff;
  border: none;
  cursor: pointer;
}
.wn-item-foot button.wn-item-mute {
  background: transparent;
  color: #7a624f;
  border: 1px solid rgba(139, 94, 59, 0.28);
}
.wn-item-foot button.wn-item-mute:hover {
  background: rgba(139, 94, 59, 0.08);
  color: #362519;
}

#workbench-notify-panel[hidden], #workbench-notify-panel.hidden,
#workbench-notify-toast[hidden], #workbench-notify-toast.hidden { display: none !important; visibility: hidden !important; pointer-events: none !important; }
