/* Universal module productivity layer v10.6.0 */
.rh-draft-notice {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  margin: 0 0 12px;
  border: 1px solid rgba(var(--rh-accent-rgb), .22);
  border-radius: 14px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(var(--rh-accent-rgb), .10), rgba(255,255,255,.018));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.rh-draft-notice > span:first-child { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(var(--rh-accent-rgb), .13); color: var(--rh-accent-bright); font-size: 14px; }
.rh-draft-notice strong { display: block; color: #f3f3f7; font-size: 10px; }
.rh-draft-notice small { display: block; margin-top: 3px; color: #858594; font-size: 8px; }
.rh-draft-notice-actions { display: flex; gap: 7px; }
.rh-draft-state { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #7f7f8f; font-size: 8px; }
.rh-draft-state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #696978; }
.rh-draft-state.is-saved::before { background: #43d88b; box-shadow: 0 0 9px rgba(67,216,139,.4); }
.rh-draft-state.is-dirty::before { background: #f5bd4f; box-shadow: 0 0 9px rgba(245,189,79,.35); }

.rh-validation-summary {
  margin: 0 0 12px;
  border: 1px solid rgba(255,78,102,.28);
  border-radius: 13px;
  padding: 10px 12px;
  background: rgba(255,78,102,.075);
  color: #ffd9df;
  font-size: 9px;
  line-height: 1.5;
}
.rh-validation-summary strong { display: block; margin-bottom: 4px; color: #fff; }
.rh-validation-summary button { margin-top: 7px; }
.rh-field-invalid { border-color: rgba(255,78,102,.42) !important; box-shadow: 0 0 0 3px rgba(255,78,102,.08) !important; }

.rh-productivity-toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 9999; display: grid; gap: 8px; pointer-events: none; }
.rh-productivity-toast { min-width: 250px; max-width: 390px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; padding: 11px 13px; background: rgba(14,14,20,.96); color: #ededf3; font-size: 9px; line-height: 1.45; box-shadow: 0 20px 55px rgba(0,0,0,.35); transform: translateY(10px); opacity: 0; transition: opacity .18s ease, transform .18s ease; }
.rh-productivity-toast.is-visible { transform: translateY(0); opacity: 1; }
.rh-productivity-toast.is-success { border-color: rgba(67,216,139,.25); }
.rh-productivity-toast.is-warning { border-color: rgba(245,189,79,.28); }

@media (max-width: 700px) {
  .rh-draft-notice { grid-template-columns: auto 1fr; }
  .rh-draft-notice-actions { grid-column: 1 / -1; }
  .rh-productivity-toast-stack { right: 10px; bottom: 10px; left: 10px; }
  .rh-productivity-toast { min-width: 0; max-width: none; }
}

.rh-table-tools {
  display: grid;
  grid-template-columns: minmax(220px, 420px) minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 13px;
  padding: 8px;
  background: rgba(255,255,255,.018);
}
.rh-table-tools label { display: flex; align-items: center; gap: 8px; min-width: 0; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 0 10px; background: rgba(8,8,12,.72); }
.rh-table-tools label > span { color: #777787; }
.rh-table-tools input { width: 100%; min-height: 34px; border: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; color: #ededf2; font-size: 9px; }
.rh-table-tools > span { color: #797989; font-size: 8px; }
@media (max-width: 720px) {
  .rh-table-tools { grid-template-columns: 1fr auto; }
  .rh-table-tools > span { grid-column: 1 / -1; }
}
.rh-draft-notice,
.rh-validation-summary { grid-column: 1 / -1; }

/* Draft notice isolation v11.13.3 ---------------------------------------- */
.rh-draft-notice {
  position: relative;
  z-index: 3;
  isolation: isolate;
}
.rh-draft-notice-actions {
  position: relative;
  z-index: 4;
  margin-left: auto;
}
.rh-draft-notice [data-rh-panel-collapse],
.rh-draft-notice .rh-panel-collapse,
.rh-draft-notice-actions [data-rh-panel-collapse],
.rh-draft-notice-actions .rh-panel-collapse {
  display: none !important;
}
