/* Employee Designer/Supervisor work surface — Client Portal layout rules */

.employee-shell {
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.employee-shell.is-work-surface .employee-layout,
.employee-layout {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  height: 100%;
}

.employee-shell.is-work-surface .employee-nav,
.employee-nav {
  display: none !important;
}

.employee-main:has(.eds-shell),
.employee-main {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.eds-shell {
  --eds-gap: 14px;
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  align-items: stretch;
  gap: var(--eds-gap);
  padding: 14px 18px 18px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  flex: 1 1 auto;
  color: var(--text-primary);
}

.eds-companies {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  width: auto;
  max-width: 100%;
}

.eds-companies h2 {
  margin: 16px 0 10px;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f2f5f8;
}

.eds-queue-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 0 0 auto;
}

.eds-queue-btn {
  text-transform: uppercase;
}

.eds-company-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-auto-rows: minmax(40px, max-content);
  gap: 8px;
  align-content: start;
  align-items: start;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.eds-company-scroll::-webkit-scrollbar {
  width: 8px;
}

.eds-company-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.eds-company-btn {
  appearance: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  height: auto;
  padding: 10px 12px;
  line-height: normal;
  align-self: start;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f2f5f8;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eds-company-btn.is-selected,
.eds-company-btn:hover {
  border-color: #59b7de;
  background: rgba(89, 183, 222, 0.12);
}

.eds-display.client-portal-display {
  margin: 0;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  align-self: stretch;
  overflow: hidden;
}

.eds-display .client-portal-display-body {
  overflow: hidden;
}

.eds-list-host {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  gap: 12px;
}

.eds-list-host[hidden],
.eds-overview-host[hidden] {
  display: none !important;
}

.eds-overview-host {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.eds-overview-host > .cp-overview,
.eds-overview-host > .cp-overview-loading,
.eds-overview-host > .cp-overview-error,
.eds-overview-host > .emp-send-draft {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.eds-overview-host .cp-overview-panes {
  flex: 1 1 auto;
  min-height: 0;
}

.eds-list-host .cp-all-projects-scroll {
  scrollbar-width: thin;
}

.eds-muted {
  color: var(--text-secondary);
  margin: 12px 0;
}

@media (max-width: 980px) {
  .eds-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(140px, 32vh) minmax(0, 1fr);
    padding: 10px 12px 12px;
  }
}

/* Focused Employee layout. The class is applied for a compact viewport or the manual preference. */
#employee-shell.is-small-screen-focus .eds-shell {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

#employee-shell.is-small-screen-focus .eds-companies {
  display: none;
}

#employee-shell.is-small-screen-focus .eds-display.client-portal-display {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#employee-shell .ep-display-head-primary {
  display: contents;
}

#employee-shell.is-employee-compact-labels .client-portal-display-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  align-items: center;
  column-gap: 12px;
  row-gap: 8px;
  overflow: visible;
}

#employee-shell.is-employee-compact-labels .cp-display-head-title {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  flex-wrap: nowrap;
  white-space: nowrap;
}

#employee-shell.is-employee-compact-labels .ep-display-head-tools {
  grid-column: 2;
  grid-row: 1;
  flex-shrink: 0;
}

#employee-shell.is-employee-compact-labels .client-portal-display-close {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

#employee-shell.is-employee-compact-labels .client-portal-display-head-actions {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow: visible;
}

#employee-shell.is-employee-compact-labels .client-portal-display-head-actions:not(:has(> :not([hidden]))) {
  display: none;
}

#employee-shell.is-employee-compact-labels .cp-display-kicker,
#employee-shell.is-employee-compact-labels .cp-display-request-summary,
#employee-shell.is-employee-compact-labels .sed-go-incoming-access,
#employee-shell.is-employee-compact-labels .sed-go-incoming-access-label,
#employee-shell.is-employee-compact-labels .client-portal-list-pager {
  white-space: nowrap;
  flex-shrink: 0;
}

#employee-shell.is-employee-compact-labels .cp-display-kicker {
  flex: 0 0 auto;
}

#employee-shell.is-employee-compact-labels .cp-display-surface-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#employee-shell.is-small-screen-focus .cp-ds-split.is-maximized,
#employee-shell.is-small-screen-focus .cp-ds-split.is-maximized > [data-cp-ds-panel] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.emp-assign-head-actions {
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  max-width: min(420px, 52%);
}

.emp-assign-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.emp-status-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
}

.emp-status-option {
  padding: 8px 14px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #f2f5f8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.emp-status-option:last-child {
  border-right: 0;
}

.emp-status-option.is-current,
.emp-status-option.is-current:disabled,
.emp-status-option.is-current:not(:disabled):hover,
.emp-status-option.is-current:not(:disabled):focus-visible {
  background: #01b74f;
  color: #ffffff;
  opacity: 1;
}

.emp-status-option:disabled {
  cursor: default;
  opacity: 0.78;
}

.emp-status-option:not(.is-current):not(:disabled):hover,
.emp-status-option:not(.is-current):not(:disabled):focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
}

.emp-assign-notice {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  color: #8fd4a8;
  text-align: right;
}

.emp-assign-notice.is-error {
  color: #f0b4b4;
}

.emp-assign-modal {
  z-index: 10080;
}

.emp-assign-card {
  width: min(420px, 94vw);
  max-height: min(520px, 90vh);
}

.emp-assign-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.emp-assign-search {
  display: grid;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.72);
}

.emp-assign-search input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(17, 19, 21, 0.72);
  color: #f2f5f8;
  padding: 8px 10px;
  font: inherit;
  font-weight: 500;
}

.emp-assign-list {
  display: grid;
  gap: 6px;
  max-height: min(260px, 42vh);
  overflow: auto;
}

.emp-assign-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 19, 21, 0.42);
  cursor: pointer;
}

.emp-assign-option.is-selected {
  border-color: rgba(89, 183, 222, 0.8);
  background: rgba(89, 183, 222, 0.16);
}

.emp-assign-option strong {
  display: block;
  font-size: 13px;
  color: #f2f5f8;
}

.emp-assign-option em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  color: rgba(242, 245, 248, 0.62);
}

.emp-assign-empty {
  margin: 0;
  font-size: 13px;
  color: rgba(242, 245, 248, 0.72);
}

.emp-smu-modal {
  z-index: 10090;
}

.emp-smu-card {
  width: min(560px, 94vw);
  max-height: min(720px, 92vh);
}

.emp-smu-lead {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(242, 245, 248, 0.68);
}

.emp-smu-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.emp-smu-field {
  display: grid;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.72);
}

.emp-smu-field input,
.emp-smu-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(17, 19, 21, 0.72);
  color: #f2f5f8;
  padding: 8px 10px;
  font: inherit;
  font-weight: 500;
}

.emp-smu-summary {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #f2f5f8;
}

.emp-smu-list {
  display: grid;
  gap: 6px;
  max-height: min(320px, 46vh);
  overflow: auto;
}

.emp-smu-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 19, 21, 0.42);
  cursor: pointer;
}

.emp-smu-option.is-selected {
  border-color: rgba(89, 183, 222, 0.8);
  background: rgba(89, 183, 222, 0.16);
}

.emp-smu-option strong {
  display: block;
  font-size: 13px;
  color: #f2f5f8;
}

.emp-smu-option em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  color: rgba(242, 245, 248, 0.62);
}

.emp-smu-empty,
.emp-smu-status {
  margin: 0;
  font-size: 13px;
  color: rgba(242, 245, 248, 0.72);
}

.emp-smu-status.is-error {
  color: #f0b4b4;
}

.emp-send-draft {
  overflow: auto;
  padding: 4px 8px 16px;
  box-sizing: border-box;
}

/* Employee Send Delivery outside the focused presentation. The message field
   stays as tall as the editor, so Attachments start after it. The focused
   rules below own the 220px box. */
.emp-send-draft .cp-np-field-message,
.emp-send-draft .cp-np-field-message .cp-np-editor-host {
  flex: 0 0 auto;
  height: auto;
  min-height: auto;
  overflow: visible;
}

.emp-send-draft .cp-np-editor {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  overflow: visible;
}

/* Focused Employee Send Delivery. The shared editor rule only supplies the
   border, background, and column. This draft owns the 220px box. */
#employee-shell.is-small-screen-focus .emp-send-draft {
  overflow-x: hidden;
  overflow-y: auto;
}

#employee-shell.is-small-screen-focus .emp-send-draft > .cp-np-form {
  flex: 0 0 auto;
  height: auto;
  min-height: auto;
  overflow: visible;
}

#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-field-message,
#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-field-message .cp-np-editor-host {
  flex: 0 0 auto;
  height: auto;
  min-height: 220px;
  overflow: visible;
}

#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-editor {
  display: flex;
  flex-direction: column;
  flex: 0 0 220px;
  width: 100%;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  overflow: hidden;
}

#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-editor-toolbar {
  flex: 0 0 auto;
}

#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-editor-surface {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-field-attachments,
#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-actions,
#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-status,
#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-progress {
  flex: 0 0 auto;
}

#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-drop {
  align-self: flex-start;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 80px;
  max-height: none;
  padding: 8px;
  gap: 8px;
  overflow: visible;
}

#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-file-grid {
  grid-template-columns: repeat(auto-fill, 80px);
  gap: 6px;
}

#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-file-card {
  width: 80px;
  height: 100px;
  padding: 4px;
}

#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-file-media {
  height: 48px;
}

#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-file-name {
  margin-top: 4px;
}

#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-file-remove {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
}

.emp-send-draft .cp-np-actions,
#employee-shell.is-small-screen-focus .emp-send-draft .cp-np-actions {
  position: static;
  margin-top: 0;
}

.emp-send-draft [data-emp-send-subject][readonly] {
  cursor: default;
  background: rgba(17, 19, 21, 0.5);
}

.eds-list-host > [data-eds-display-search] {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.eds-list-host > .cp-all-projects {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: 100%;
  overflow: hidden;
}

.eds-list-host:has([data-eds-note-inbox]) {
  align-items: stretch;
  overflow-x: hidden;
  overflow-y: auto;
}

.eds-list-host > [data-eds-note-inbox] {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.cp-all-projects-deep-search {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f2f5f8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
}

.cp-all-projects-deep-search:hover {
  border-color: rgba(89, 183, 222, 0.7);
}

.cp-all-projects-deep-search.is-active,
.cp-all-projects-deep-search[aria-pressed="true"] {
  border-color: rgba(89, 183, 222, 0.8);
  background: rgba(89, 183, 222, 0.16);
}

.eds-note-inbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 8px 8px 28px;
  box-sizing: border-box;
}

/* Notification cards only. Flow and columns stay inside this inbox. */
.client-portal-display-head h2 .eds-note-order {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0 0 0 14px;
  vertical-align: middle;
}

.client-portal-display-head:has(.eds-note-order-menu:not([hidden])) {
  position: relative;
  z-index: 6;
}

.eds-note-order-button,
.eds-note-order-option {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  letter-spacing: 0.2px;
  color: #f2f5f8;
}

.eds-note-order-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 30px;
  max-width: 100%;
  padding: 0 28px 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #2a2e33;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.eds-note-order-button::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #f2f5f8;
  border-bottom: 1.5px solid #f2f5f8;
  transform: rotate(45deg);
  pointer-events: none;
}

.eds-note-order-button:focus-visible,
.eds-note-order-option:focus-visible {
  outline: 2px solid #2f83b1;
  outline-offset: 1px;
}

.eds-note-order-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 100%;
  margin: 0;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #2a2e33;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.eds-note-order-menu[hidden] {
  display: none;
}

.eds-note-order-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.eds-note-order-option[aria-selected="true"] {
  background: rgba(89, 183, 222, 0.22);
}

.eds-note-order-option:hover,
.eds-note-order-option:focus-visible {
  background: rgba(89, 183, 222, 0.35);
}

.eds-note-board {
  align-self: stretch;
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.eds-note-inbox .eds-note-board > .eds-note-card,
.eds-note-inbox .eds-note-placeholder {
  flex: 0 0 auto;
  width: min(440px, 100%);
  max-width: 440px;
  min-width: min(440px, 100%);
  box-sizing: border-box;
}

.eds-note-inbox[data-eds-note-layout="automatic"] .eds-note-board,
.eds-note-inbox[data-eds-note-layout="manual"] .eds-note-board {
  position: relative;
  display: block;
}

.eds-note-inbox[data-eds-note-layout="automatic"] .eds-note-board > .eds-note-card,
.eds-note-inbox[data-eds-note-layout="manual"] .eds-note-board > .eds-note-card,
.eds-note-inbox[data-eds-note-layout="automatic"] .eds-note-board > .eds-note-placeholder,
.eds-note-inbox[data-eds-note-layout="manual"] .eds-note-board > .eds-note-placeholder {
  min-width: 0;
}

.eds-note-inbox[data-eds-note-layout="columns"] .eds-note-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  align-items: start;
  justify-content: start;
  column-gap: 16px;
  row-gap: 0;
  max-width: calc(440px * 3 + 16px * 2);
}

.eds-note-inbox .eds-note-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.eds-note-inbox .eds-note-column > .eds-note-card {
  width: 100%;
  max-width: 440px;
}

.eds-note-inbox[data-eds-note-layout="manual"] .eds-note-card {
  cursor: grab;
  touch-action: none;
}

.eds-note-inbox[data-eds-note-layout="manual"] .eds-note-card .eds-note-dismiss {
  cursor: pointer;
  touch-action: auto;
}

.eds-note-inbox .eds-note-card img {
  -webkit-user-drag: none;
  user-select: none;
}

.eds-note-placeholder {
  border-radius: 14px;
  border: 1px dashed rgba(89, 183, 222, 0.38);
  background: rgba(89, 183, 222, 0.08);
  pointer-events: none;
}

.eds-note-inbox .eds-note-card.is-dragging {
  cursor: grabbing;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
  transform: scale(1.02);
}

body.eds-note-dragging {
  cursor: grabbing;
  user-select: none;
}

body.eds-note-dragging .eds-note-inbox .eds-note-card,
body.eds-note-dragging .eds-note-inbox .eds-note-card .eds-note-dismiss,
body.eds-note-dragging .eds-note-card.is-dragging {
  cursor: grabbing;
}

@media (prefers-reduced-motion: reduce) {
  .eds-note-inbox .eds-note-card.is-dragging {
    transform: none;
  }
}

.eds-note-error {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(217, 83, 79, 0.45);
  background: rgba(217, 83, 79, 0.12);
  color: #f2f5f8;
}

.eds-note-error p {
  margin: 0;
  font-size: 13px;
}

.eds-note-retry {
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #f2f5f8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.eds-note-inbox .eds-note-card:hover,
.eds-note-inbox .eds-note-card:focus-visible,
.cp-note-inbox .eds-note-card:hover,
.cp-note-inbox .eds-note-card:focus-visible,
.cp-completed-inbox .eds-note-card:hover,
.cp-completed-inbox .eds-note-card:focus-visible,
.cp-ccr-resolved-inbox .eds-note-card:hover,
.cp-ccr-resolved-inbox .eds-note-card:focus-visible,
.eds-ccr-not-valid-inbox .eds-ccr-not-valid-card:hover,
.eds-ccr-not-valid-inbox .eds-ccr-not-valid-card:focus-visible,
.cp-invoice-inbox [data-cp-invoice-card]:hover,
.cp-invoice-inbox [data-cp-invoice-card]:focus-visible {
  border-color: rgba(89, 183, 222, 0.7);
  outline: 2px solid #2f83b1;
  outline-offset: 2px;
}

body.eds-note-dragging .eds-note-inbox .eds-note-card:hover,
body.eds-note-dragging .eds-note-inbox .eds-note-card:focus-visible,
.eds-note-inbox .eds-note-card.is-dragging:hover,
.eds-note-inbox .eds-note-card.is-dragging:focus-visible {
  border-color: rgba(89, 183, 222, 0.38);
  outline: none;
}

.eds-note-card {
  position: relative;
  display: grid;
  gap: 6px;
  width: min(440px, 100%);
  max-width: 440px;
  text-align: left;
  border: 1px solid rgba(89, 183, 222, 0.38);
  background: linear-gradient(180deg, #2a333c 0%, #1b2127 100%);
  color: #f2f5f8;
  border-radius: 14px;
  padding: 14px 44px 14px 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  cursor: pointer;
}

.eds-note-dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(242, 245, 248, 0.75);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.eds-note-dismiss:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.eds-note-tag {
  width: fit-content;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: #2f83b1;
}

.eds-note-title {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 800;
}

.eds-note-meta {
  margin: 0;
  font-size: 12px;
  color: rgba(242, 245, 248, 0.78);
}

.eds-note-meta span {
  display: inline-block;
  min-width: 72px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(242, 245, 248, 0.55);
}

.eds-note-snippet {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(242, 245, 248, 0.8);
}

.eds-note-previews {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.eds-note-thumb,
.eds-note-thumb-img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: #3a4148;
  color: rgba(242, 245, 248, 0.7);
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eds-note-more {
  font-size: 12px;
  font-weight: 800;
  color: rgba(242, 245, 248, 0.7);
}

.emp-replace-modal .cp-app-confirm-card,
.emp-replace-modal [data-emp-replace-card] {
  width: min(540px, 94vw);
  max-height: min(720px, 92vh);
}

.emp-replace-warning {
  margin: 10px 0 0;
  color: #d4a017;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.emp-replace-error {
  margin: 10px 0 0;
  color: #d64545;
  font-size: 13px;
  font-weight: 700;
}
