/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}

.ant-layout {
  min-height: 100vh;
  background: #f1f5f9;
}
.ant-layout-sider {
  position: fixed;
  height: calc(100vh - 64px);
  padding-top: 64px;
  border-right: 1px solid #e2e8f0;
  box-shadow: none;
}
.ant-layout-sider-children {
  overflow: scroll;
  overflow-y: auto;
}
.ant-layout-header {
  height: 64px;
  position: fixed;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1000;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 0;
  line-height: normal;
}
.ant-layout-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 64px;
  background: #f1f5f9;
}
.ant-layout-footer {
  text-align: center;
}
.ant-table-fixed-left {
  box-shadow: 6px 0 6px -4px rgba(0, 0, 0, 0.15) !important;
}
.ant-table-small .ant-table-thead > tr > th {
  font-size: 10px;
  text-align: center !important;
  user-select: none;
}
.ant-page-header {
  padding: 16px 24px;
}
.ant-page-header-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.ant-page-header-heading-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: #0f172a;
}
.ant-page-header-heading-sub-title {
  font-size: 14px;
  font-weight: 400;
  margin-top: 4px;
  color: #64748b;
}
.ant-page-header-content {
  overflow: visible;
  padding-top: 8px;
}
.ant-menu-item {
  font-weight: 400;
}
.ant-menu .anticon {
  font-size: 14px;
}
.ant-btn {
  line-height: 1.4;
  font-size: 14px;
  border-radius: 8px;
}
.ant-btn-icon {
  line-height: 1;
  background-color: transparent;
  box-shadow: unset;
  border: transparent;
}
.ant-btn-icon:hover,
.ant-btn-icon:active {
  background-color: #e5e5e5;
}
.ant-btn-icon .ant-btn[disabled] {
  border: unset;
  background: transparent;
  color: #b8b8b8;
}
.ant-btn-icon.ant-tooltip-disabled-compatible-wrapper {
  border-radius: 50%;
}
.ant-btn[disabled] > * {
  color: #b8b8b8;
}
.ant-picker-input > input {
  font-size: 13px;
  font-weight: 400;
}
.ant-tooltip {
  font-size: 11px;
  opacity: 95%;
}
.ant-tooltip-inner {
  min-height: 10px;
  padding: 3px 4px;
  text-align: center;
}
.ant-tabs > .ant-tabs-nav {
  margin: 0 0 10px 0;
  padding: 0 5px;
}
.ant-tabs-tab {
  font-size: 14px !important;
}
.ant-spin {
  width: 100%;
}
.ant-tag-blue {
  color: #6672fc;
  background: #f0f4ff;
  border-color: #6672fc;
}
thead.ant-table-thead > tr > th {
  text-align: center !important;
  font-size: 12px;
}
.ant-table-thead > tr > th {
  padding: 8px;
  font-size: 13px !important;
}
.collapsed {
  padding-left: 80px !important;
}
.expanded {
  padding-left: 180px !important;
}
.full-width {
  padding-left: 0px !important;
}
.red-color {
  color: #dc2626;
}
.green-color {
  color: #059669;
}
.blue-color {
  color: #0f766e;
}
td.ant-table-column-sort {
  background: transparent;
}
.gray-color {
  color: #d4d3d3;
}
.manage-reporting-form {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.manage-reporting-form .ant-form-item {
  margin-bottom: 15px;
}
.manage-workspace-form.ant-form {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.manage-workspace-form.ant-form .ant-form-item {
  margin-bottom: 15px;
}
.ag-react-container {
  width: 100%;
}
.eup-profile-panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  max-height: calc(100vh - 120px);
  border-radius: 12px;
}
.eup-profile-panel > div:first-child {
  display: flex;
  justify-content: flex-end;
  padding: 3px 7px 0px 0px;
}
.eup-profile-panel > div:nth-child(2) {
  flex-grow: 2;
  padding: 0px 12px 8px 17px;
}
.eup-profile-panel > div:nth-child(2) > div {
  margin-bottom: 16px;
}
.eup-profile-panel > div:nth-child(2) > div:last-child {
  margin-bottom: 8px;
}
.eup-profile-panel > div:last-child {
  padding: 0px 17px 0px 12px;
  overflow: auto;
}
.eup-profile-panel-title {
  font-weight: 600;
  font-size: 1.2rem;
}
.eup-profile-panel-description {
  color: rgba(0, 0, 0, 0.45);
  font-size: 0.8rem;
  line-height: 1.66667;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ant-drawer-body .eup-profile-panel .ant-card-body {
  height: calc(100% - 23px) !important;
}
.eup-preview-profile-panel {
  display: flex;
  flex-direction: column;
  background: #fff;
  max-height: 100vh;
}
.eup-preview-profile-panel > div:first-child {
  display: flex;
  justify-content: flex-end;
  padding: 3px 7px 0px 0px;
}
.eup-preview-profile-panel > div:nth-child(2) {
  flex-grow: 2;
  padding: 0px 12px 8px 17px;
}
.eup-preview-profile-panel > div:nth-child(2) > div {
  margin-bottom: 16px;
}
.eup-preview-profile-panel > div:nth-child(2) > div:last-child {
  margin-bottom: 8px;
}
.eup-preview-profile-panel > div:last-child {
  padding: 0px 17px 0px 12px;
  overflow: auto;
}
.eup-preview-profile-panel-title {
  font-weight: 600;
  font-size: 1.2rem;
}
.eup-preview-profile-panel-description {
  color: rgba(0, 0, 0, 0.45);
  font-size: 0.8rem;
  line-height: 1.66667;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Phase 2 — module shells (Tasks, CRM, shared admin patterns) */
.eup-module {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.eup-module__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.eup-module__toolbar-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}
.eup-module__toolbar-meta {
  font-size: 13px;
  color: #64748b;
}
.eup-module__search {
  max-width: 320px;
  width: 100%;
}
.eup-module__empty {
  padding: 48px 24px;
  text-align: center;
}
/* Tasks & Events */
.eup-tasks__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.eup-tasks__today-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #115e59;
  font-size: 13px;
  font-weight: 500;
}
.eup-tasks__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.eup-tasks__filters-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-right: 4px;
}
.eup-tasks__layout {
  align-items: flex-start;
}
.eup-tasks__calendar-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
}
.eup-tasks__sidebar-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.eup-tasks__sidebar-panel:last-child {
  margin-bottom: 0;
}
.eup-tasks__sidebar-header {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.eup-tasks__sidebar-body {
  max-height: 42vh;
  overflow: auto;
}
.eup-tasks__list-item {
  cursor: pointer;
  transition: background 0.15s ease;
}
.eup-tasks__list-item:hover {
  background: #f8fafc;
}
.eup-tasks__event-badge {
  width: 100%;
  text-align: left;
  font-size: 11px;
}
.eup-tasks .ant-picker-calendar {
  background: transparent;
}
.eup-tasks .ant-picker-calendar-header {
  padding: 0 0 12px;
}
.eup-tasks .events {
  margin: 0;
  padding: 0;
  list-style: none;
}
.eup-tasks .events li {
  margin-bottom: 2px;
}
/* CRM Contacts */
.eup-contacts-table .ant-table-thead > tr > th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.eup-contacts-table .ant-table-tbody > tr > td {
  font-size: 14px;
}
.eup-contacts-table .ant-table-row:hover td {
  background: #f8fafc !important;
}
.eup-contacts-name {
  font-weight: 600;
  color: #0f766e;
}
.eup-contacts-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 500;
}
/* Contact detail */
.eup-contact-detail .summary-col {
  min-width: 0;
}
.eup-contact-detail .ant-tabs-nav {
  margin-bottom: 16px;
}
.eup-contact-profile {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  max-height: calc(100vh - 140px);
  overflow: auto;
}
.eup-contact-profile__header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.eup-contact-profile__avatar {
  background: #0f766e !important;
  font-size: 22px;
  font-weight: 600;
  flex-shrink: 0;
}
.eup-contact-profile__identity {
  min-width: 0;
}
.eup-contact-profile__identity h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}
.eup-contact-profile__title,
.eup-contact-profile__company {
  margin: 0 0 4px;
  font-size: 13px;
  color: #64748b;
}
.eup-contact-profile__quick {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.eup-contact-profile__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #0f766e;
  text-decoration: none;
  word-break: break-all;
}
.eup-contact-profile__link:hover {
  text-decoration: underline;
}
.eup-contact-profile__social a {
  color: #475569;
  font-size: 18px;
}
.eup-contact-profile__social a:hover {
  color: #0f766e;
}
.eup-contact-profile__fields .ant-descriptions-item-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.eup-contact-profile__fields .ant-descriptions-item-content {
  font-size: 14px;
  color: #0f172a;
}
.eup-contact-tabs {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.eup-tab-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eup-tab-label__badge .ant-badge-count {
  background: #ecfdf5;
  color: #0f766e;
  box-shadow: none;
  font-weight: 600;
}
.eup-activity-toolbar {
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.recent-activities .ant-list-item {
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.recent-activities .ant-list-item:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.recent-activities .ant-list-header {
  padding: 0;
  border: none;
}
.eup-activity-item__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.eup-activity-item__meta {
  font-size: 13px;
}
.eup-activity-item__references {
  font-size: 13px;
  margin-bottom: 6px;
}
.eup-activity-item__message {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}
.eup-contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 4px;
}
.eup-contact-breadcrumb a {
  color: #0f766e;
  text-decoration: none;
}
.eup-contact-breadcrumb a:hover {
  text-decoration: underline;
}
/* Sidebar nav polish */
.sider-menu.ant-menu-light {
  border-inline-end: none !important;
  background: transparent;
  padding: 0 8px 12px;
}
.sider-menu .ant-menu-item,
.sider-menu .ant-menu-submenu-title {
  border-radius: 8px;
  margin: 2px 0;
}
.sider-menu .ant-menu-item-selected {
  font-weight: 600;
}
.sider-menu .ant-menu-item-disabled {
  opacity: 0.45;
  font-size: 11px;
  height: auto !important;
  line-height: 1.4 !important;
  margin-top: 12px;
}
/* Forms */
.eup-forms__card {
  border-radius: 12px;
  border-color: #e2e8f0;
  height: 100%;
}
.eup-forms__card .ant-card-head {
  border-bottom-color: #f1f5f9;
  min-height: 48px;
}
.eup-forms__card .ant-card-head-title {
  font-size: 15px;
  font-weight: 600;
}
.eup-forms__meta {
  margin-bottom: 12px;
}
.eup-forms__fields-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}
.eup-forms__fields-table .ant-table-thead > tr > th {
  font-size: 11px;
  font-weight: 600;
}
/* Projects */
.eup-projects__card {
  border-radius: 12px;
  border-color: #e2e8f0;
  height: 100%;
}
.eup-projects__card .ant-card-actions {
  border-top-color: #f1f5f9;
  background: #fafafa;
}
.eup-projects__card-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.eup-projects__avatar {
  flex-shrink: 0;
}
.eup-projects__card-title {
  min-width: 0;
}
.eup-projects__card-title h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}
.eup-projects__card-title p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}
.eup-projects__meta {
  display: grid;
  gap: 10px;
  margin: 0;
}
.eup-projects__meta div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  font-size: 13px;
}
.eup-projects__meta dt {
  margin: 0;
  color: #64748b;
  font-weight: 500;
}
.eup-projects__meta dd {
  margin: 0;
  color: #0f172a;
}
/* Scrum board */
.eup-scrum__toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.eup-scrum__project-select {
  min-width: 240px;
}
.eup-scrum__board {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.eup-scrum__column {
  flex: 0 0 280px;
  min-width: 280px;
}
.eup-scrum__column-title {
  margin: 0 0 12px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}
.eup-scrum__droppable {
  background: #f8fafc;
  border: 1px dashed #e2e8f0;
  border-radius: 12px;
  padding: 8px;
  min-height: 480px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.eup-scrum__droppable--active {
  background: #ecfdf5;
  border-color: #99f6e4;
}
.eup-scrum__card-wrap {
  user-select: none;
  margin-bottom: 8px;
}
.eup-scrum__card {
  border-radius: 10px;
  border-color: #e2e8f0;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
.eup-scrum__card:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.eup-scrum__card--dragging {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.eup-scrum__card .ant-card-head {
  min-height: 40px;
  border-bottom-color: #f1f5f9;
}
.eup-scrum__card .ant-card-body {
  position: relative;
  min-height: 140px;
  padding: 12px;
}
.eup-scrum__card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 48px;
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}
.eup-scrum__members {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}
/* Settings */
.eup-settings__card {
  border-radius: 12px;
  border-color: #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
/* Query boundary */
.eup-query-boundary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 32px 16px;
}
.eup-query-boundary--error {
  min-height: 280px;
}
/* Admin shared */
.eup-admin-table .ant-table-thead > tr > th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.eup-admin-table .ant-table-tbody > tr > td {
  font-size: 14px;
}
.eup-admin-table .ant-table-row:hover td {
  background: #f8fafc !important;
}
.eup-admin-tabs .ant-tabs-nav {
  margin-bottom: 16px;
}
.eup-admin-tabs .ant-tabs-tab {
  font-weight: 500;
}
.eup-admin-form .ant-form-item-label > label {
  font-weight: 500;
  color: #475569;
}
.eup-admin-org__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}
.eup-admin-org__form-card {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
}
.eup-admin-org__form-card .ant-card-body {
  padding: 20px;
}
.eup-admin-org__logo-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.eup-admin-org__logo-label {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}
.eup-admin-org__logo-image {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  object-fit: contain;
  background: #fff;
}
.eup-manage-fields__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.eup-manage-fields__label strong {
  color: #0f172a;
  font-weight: 600;
}
.eup-manage-fields__label span {
  font-size: 12px;
  color: #64748b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.eup-profile .user-profile-card {
  border-radius: 12px;
  border-color: #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.eup-profile__layout {
  width: 100%;
}
.eup-profile__form-card,
.eup-profile__activity-card {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: none;
}
.eup-profile__form-card .ant-card-head,
.eup-profile__activity-card .ant-card-head {
  border-bottom-color: #f1f5f9;
  min-height: 48px;
}
.eup-profile__form-card .ant-card-head-title,
.eup-profile__activity-card .ant-card-head-title {
  font-size: 15px;
  font-weight: 600;
}
.eup-profile__form-card .ant-card-body,
.eup-profile__activity-card .ant-card-body {
  padding: 20px;
}
.eup-profile__address {
  display: grid;
  gap: 8px;
}
.eup-profile__list .ant-list-item {
  padding: 12px 0;
  border-bottom-color: #f1f5f9;
}
.eup-profile__list .ant-list-item-meta-title {
  margin-bottom: 4px !important;
}
.eup-profile__list-link {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
}
.eup-profile__list-link:hover {
  text-decoration: underline;
}
.eup-profile__list-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  min-width: 120px;
  text-align: right;
}
/* CRM activity helpers (used on contact detail) */
.flex-space-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.margin-left-right-10 {
  padding-left: 10px;
  padding-right: 10px;
}
.activities-header {
  font-weight: 600;
  color: #0f172a;
}
.recent-activities.preview .ant-list-item {
  padding: 8px 0;
}
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.log-activities-wrapper {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}
.activities-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.activity-notes {
  font-size: 13px;
  color: #475569;
}
.full-width {
  width: 100%;
}
/* Phase 3 — home dashboard, global search, breadcrumbs */
.admin-header-center {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  min-width: 0;
}
.admin-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-right: 16px;
  margin-left: auto;
}
.headerStyle {
  display: flex !important;
  align-items: center;
  width: 100%;
}
.eup-admin-search-trigger {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  font: inherit;
  font-family: inherit;
  line-height: 1.4;
  text-align: left;
  margin: 0;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: min(420px, 100%);
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.eup-admin-search-trigger .anticon {
  flex-shrink: 0;
  font-size: 14px;
  color: #94a3b8;
}
.eup-admin-search-trigger > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.eup-admin-search-trigger:hover {
  border-color: #cbd5e1;
  background: #fff;
}
.eup-admin-search-trigger:focus-visible {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
}
.eup-admin-search-trigger kbd {
  flex-shrink: 0;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 11px;
  font-family: inherit;
  line-height: 1.2;
  color: #94a3b8;
}
@media (max-width: 900px) {
  .eup-admin-search-trigger {
    width: min(280px, 100%);
  }
  .eup-admin-search-trigger > span,
  .eup-admin-search-trigger kbd {
    display: none;
  }
}
@media (max-width: 640px) {
  .admin-header-center {
    padding: 0 8px;
  }
  .eup-admin-search-trigger {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 999px;
  }
  .eup-admin-search-trigger .anticon {
    margin: 0;
  }
}
.eup-admin-search-modal .ant-modal-body {
  padding-top: 12px;
}
.eup-admin-search-results {
  margin-top: 16px;
  min-height: 180px;
}
.eup-admin-search-hint {
  margin: 8px 0 0;
}
.eup-admin-search-item {
  cursor: pointer;
  border-radius: 8px;
  padding: 10px 12px !important;
  transition: background 0.15s ease;
}
.eup-admin-search-item:hover,
.eup-admin-search-item.is-active {
  background: #f0fdfa;
}
.eup-admin-search-tag {
  background: #ecfdf5;
  color: #0f766e;
  border: none;
}
.eup-admin-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}
.eup-admin-breadcrumb a {
  color: #0f766e;
  text-decoration: none;
}
.eup-admin-breadcrumb a:hover {
  text-decoration: underline;
}
.eup-admin-breadcrumb__sep {
  margin: 0 4px;
  color: #cbd5e1;
}
.eup-admin-breadcrumb__current {
  color: #475569;
  font-weight: 500;
}
.eup-home-shell {
  padding: 24px;
}
.eup-home__hero {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.eup-home__hero a {
  text-decoration: none;
}
.eup-home-stat {
  display: block;
  text-decoration: none;
  color: inherit;
}
.eup-home-stat__card {
  height: 100%;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  background: #f8fafc;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.eup-home-stat__card .ant-card-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
}
.eup-home-stat__card:hover {
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.eup-home-stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 18px;
  flex-shrink: 0;
}
.eup-home-stat__label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}
.eup-home-stat__value {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: #0f172a;
}
.eup-home-stat__meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: #94a3b8;
}
.eup-home-panel {
  margin-bottom: 16px;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  background: #fff;
}
.eup-home-panel .ant-card-head {
  border-bottom-color: #f1f5f9;
  min-height: 48px;
}
.eup-home-panel .ant-card-head-title {
  font-size: 15px;
  font-weight: 600;
}
.eup-home-links {
  display: grid;
  gap: 8px;
}
.eup-home-links__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.eup-home-links__item:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f766e;
}
.eup-home-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.eup-home-contact strong {
  color: #0f766e;
}
.eup-home-contact span {
  font-size: 13px;
  color: #64748b;
}
.eup-home-contact:hover {
  background: #f8fafc;
}

/** Global app styles — layout shell, shared utilities, legacy module hooks */

/** Navigation bar **/
.sideBar.ant-layout-sider {
	background: #fff;
}

.sideBar .ant-menu-item > a,
span.menu-wrapper {
	display: inline-flex !important;
	align-items: center;
}

.sideBar .nav-text {
	word-wrap: break-word;
	white-space: pre-wrap;
	font-size: 14px;
	line-height: 15px;
	font-weight: 600;
	width: 80%;
	text-align: left;
}

.sideBar span.nav-icon {
	width: 30px;
	height: 30px;
	margin-right: 6px;
}

/** Header **/
.headerStyle {
	background: #fff;
	height: 64px;
	border-bottom: 1px solid #e2e8f0;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	padding: 0 !important;
	line-height: normal;
}

.imageWrapperStyle {
	flex: 0 1 auto;
	min-width: 0;
	max-width: min(360px, 38vw);
	padding-left: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.admin-header-logo {
	height: 40px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
	display: block;
}

.admin-header-org-logo {
	height: 40px;
	width: auto;
	max-width: 120px;
	object-fit: contain;
	border-radius: 8px;
}

.admin-header-org-name {
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	max-width: 180px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.company-popover {
	width: 20vw;
}

/** Scrollbars **/
::-webkit-scrollbar {
	-webkit-appearance: none;
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-thumb {
	border-radius: 4px;
	background-color: rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

/** Table filter dropdowns **/
.filterFooter {
	width: 100%;
	display: inline-flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 7px 8px;
	overflow: hidden;
	border-top: 1px solid #e8e8e8;
}

.filterWrapper .ant-list {
	padding: 8px;
}

.filterWrapper .ant-list-item {
	display: flex;
	align-items: center;
	padding: 5px 0;
	border-bottom: 0 !important;
}

.filterListWrapper {
	max-height: 190px;
	overflow-y: scroll;
}

.selectCheckBox {
	padding: 8px;
}

/** Column personalization **/
.column-selector-footer,
.column-selector-header {
	width: 100%;
	display: inline-flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 7px 8px;
	overflow: hidden;
	border-top: 1px solid #e8e8e8;
}

.column-selector {
	background-color: #fff;
	min-width: 250px;
	border: 1px solid #d3d3d3;
	border-radius: 3px;
}

.column-selector .ant-list-item {
	display: flex;
	align-items: center;
	padding: 5px 0;
	border-bottom: 0 !important;
}

.column-selector .ant-list,
.selectCheckBox {
	padding: 8px;
}

.column-selector .ant-list-item-action {
	margin-left: 5px;
}

.column-list-wrapper {
	max-height: 364px;
	overflow-y: scroll;
}

.sortable-list {
	z-index: 9999;
}

.rotate-icon {
	transform: rotate(-45deg);
}

/** Forms & uploads **/
.manage-content-form {
	row-gap: 10px;
	display: flex;
	flex-direction: column;
}

.manage-content-form .ant-form-item {
	margin-bottom: 12px !important;
}

.custom-upload-field {
	padding: 5px 10px;
	border-width: 1px;
	border-style: double;
	border-color: #d4d4d4;
	border-radius: 3px;
	width: 100%;
}

.custom-upload-field .ant-space-item {
	margin-bottom: 2px !important;
}

.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.label-button {
	font-size: 13px;
	color: black;
	padding: 4px 20px;
	border: 1px solid #e3e3e3;
	border-radius: 2px;
	display: inline-block;
}

.roles-tag {
	border: 1px solid #000000a6 !important;
	padding: 2px 12px !important;
	font-size: 12px !important;
	border-radius: 20px !important;
	margin: 0 !important;
}

td.ant-descriptions-item-content {
	height: 38px;
}

.ant-btn-link:hover,
.ant-btn-link:focus,
.ant-btn-link:active {
	border-color: transparent !important;
}

.ant-checkbox-disabled .ant-checkbox-inner {
	background-color: #f5f5f5 !important;
}

/** Layout shell **/
.user-avatar {
	background-color: #0f766e !important;
	color: #fff;
	vertical-align: middle;
}

.ant-layout-sider-custom {
	padding-top: 8px !important;
	border-right: 1px solid #e2e8f0;
	box-shadow: none !important;
}

.sider-menu {
	height: calc(100% - 45px);
	border-inline-end: none !important;
}

.expanded {
	padding: 16px 20px 24px 236px !important;
}

/** Tasks calendar event list **/
.events {
	margin: 0;
	padding: 0;
	list-style: none;
}

.events .ant-badge-status {
	width: 100%;
	overflow: hidden;
	font-size: 12px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

