/* Admin Panel — BEM */

/* ========================================
   Sidebar
   ======================================== */
.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: var(--teal-950, #111f22);
  display: flex;
  flex-direction: column;
  z-index: 40;
  overflow-y: auto;
}

.admin-sidebar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar__logo-img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.admin-sidebar__logo-text {
  display: flex;
  flex-direction: column;
}

.admin-sidebar__logo-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: white;
}

.admin-sidebar__logo-subtitle {
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.admin-sidebar__nav {
  flex: 1;
  padding: 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.admin-sidebar__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.admin-sidebar__link--active {
  background: rgba(54, 193, 250, 0.15);
  border-left: 2px solid var(--info-default, #36c1fa);
  border-radius: 2px;
  color: white;
  font-weight: 600;
}

.admin-sidebar__link-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

.admin-sidebar__link--active .admin-sidebar__link-icon {
  opacity: 1;
}

.admin-sidebar__link-chevron {
  width: 14px;
  height: 14px;
  margin-left: auto;
  opacity: 0.5;
  flex-shrink: 0;
}

.admin-sidebar__link-badge {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  background: var(--primary-bg, #f3ab1b);
  color: var(--teal-950, #111f22);
}

.admin-sidebar__section {
  padding: 16px 0 4px;
}

.admin-sidebar__section-label {
  padding: 0 12px;
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}

.admin-sidebar__section-children {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: 12px;
}

.admin-sidebar__group--open {
  background: rgba(54, 193, 250, 0.15);
  border-left: 2px solid var(--info-default, #36c1fa);
  border-radius: 2px;
  padding: 6px;
}

.admin-sidebar__group--open .admin-sidebar__link {
  padding: 6px;
  border-left: none;
  background: none;
  border-radius: 2px;
}

.admin-sidebar__group--open .admin-sidebar__link--active {
  border-left: none;
  background: none;
  font-weight: 500;
}

.admin-sidebar__subnav {
  display: flex;
  flex-direction: column;
}

.admin-sidebar__subnav-link {
  padding: 6px 6px 6px 33px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.15s;
}

.admin-sidebar__subnav-link:hover {
  color: white;
}

.admin-sidebar__subnav-link--active {
  color: white;
  font-weight: 600;
}

.admin-sidebar__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

.admin-sidebar__bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}


/* ========================================
   Top Bar
   ======================================== */
.admin-topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 24px;
}

.admin-topbar__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.admin-topbar__breadcrumb-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.admin-topbar__breadcrumb-link:hover {
  color: white;
}

.admin-topbar__breadcrumb-current {
  color: rgba(255, 255, 255, 0.9);
}

.admin-topbar__breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}

.admin-topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-topbar__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.admin-topbar__icon-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.admin-topbar__icon {
  width: 18px;
  height: 18px;
}

.admin-topbar__divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}

.admin-topbar__user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.admin-topbar__user {
  position: relative;
}

.admin-topbar__user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.admin-topbar__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-topbar__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-topbar__user-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: white;
  white-space: nowrap;
}

.admin-topbar__user-chevron {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.admin-topbar__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 200px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 4px;
  z-index: 9999;
}

.admin-topbar__dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text-heading, #101828);
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  transition: background 0.15s;
}

.admin-topbar__dropdown-item:hover {
  background: #f9fafb;
}

.admin-topbar__dropdown-item--danger {
  color: #d64142;
}

.admin-topbar__dropdown-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted, #6a7282);
}

.admin-topbar__dropdown-item--danger .admin-topbar__dropdown-icon {
  color: #d64142;
}

.admin-topbar__dropdown-divider {
  height: 1px;
  background: var(--border-default, #d1d5dc);
  margin: 4px 0;
}

/* ========================================
   Hero Banner
   ======================================== */
.admin-hero {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-hero__heading {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-hero__title {
  position: relative;
  z-index: 1;
  font-size: 36px;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: -0.5px;
  color: white;
}

.admin-hero__description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: white;
  max-width: 720px;
}

.admin-hero__action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  background: var(--primary-bg, #f3ab1b);
  color: var(--teal-950, #111f22);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.admin-hero__action:hover {
  opacity: 0.9;
}

.admin-hero__action-icon {
  width: 15px;
  height: 15px;
}

.admin-hero__action-delete {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--error-text, #d64142);
  color: white;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.admin-hero__action-delete:hover {
  opacity: 0.9;
}

.admin-hero__action-delete .admin-hero__action-icon {
  width: 16px;
  height: 16px;
}

/* ========================================
   Main Content
   ======================================== */
.admin-main {
  margin-left: 280px;
  position: relative;
  background: rgb(18, 63, 63);
  padding-bottom: 30px;
}

.admin-main__bg {
  position: fixed;
  top: 0;
  left: 280px;
  right: 0;
  bottom: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.66;
  z-index: 0;
  overflow: hidden;
}

.admin-main__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top right;
}

.admin-main__header {
  position: relative;
  /* Above .admin-content (z-index: 1) so the user dropdown overlays page
     content like the events calendar instead of being painted over. */
  z-index: 20;
  min-height: 160px;
}

.admin-content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.admin-content--light .admin-content__inner {
  background: white;
  border-radius: 12px;
  padding: 24px;
}

.admin-content__inner {
  padding: 24px 0;
}

/* ========================================
   Settings Page
   ======================================== */
.admin-settings__tabs {
  display: inline-flex;
  align-items: center;
  background: var(--teal-900, #1d2c2e);
  border-radius: 12px;
  padding: 0 16px;
}

.admin-settings__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.admin-settings__tab:hover {
  opacity: 0.8;
}

.admin-settings__tab--active {
  font-weight: 600;
  position: relative;
}

.admin-settings__tab--active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-bg, #f3ab1b);
  border-radius: 3px 3px 0 0;
}

.admin-settings__module {
  background: var(--teal-900, #1d2c2e);
  border-radius: 12px;
  padding: 24px 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 1.5px rgba(0, 0, 0, 0.08);
}

.admin-settings__warning {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 8px 16px;
  border: 1px solid rgba(115, 134, 139, 0.5);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-settings__edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 10px 16px;
  background: var(--primary-bg, #f3ab1b);
  color: var(--teal-950, #111f22);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.admin-settings__edit-btn:hover:not(:disabled) {
  opacity: 0.9;
}

.admin-settings__edit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.admin-settings__edit-btn--light {
  background: var(--background-page, #f6f8f9);
  border: 1px solid rgba(115, 134, 139, 0.5);
}

.admin-settings__card {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.06), 0 1px 3px 0 rgba(0, 0, 0, 0.08);
}

.admin-settings__card-header {
  background: var(--background-page, #f6f8f9);
  padding: 12px 16px;
}

.admin-settings__card-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: #2c2c2a;
  margin: 0;
}

.admin-settings__card-body {
  padding: 16px 16px 24px;
}

.admin-settings__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 11px;
  border-bottom: 1px solid var(--border-default, #d1d5dc);
}

.admin-settings__row:first-child {
  padding-top: 0;
}

.admin-settings__row--last {
  border-bottom: none;
  padding-bottom: 0;
}

.admin-settings__row-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text-body-1, #1e2939);
}

.admin-settings__row-value {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--text-heading, #101828);
}

.admin-settings__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  background: var(--success-bg, #eaf5f1);
  color: var(--success-text, #1a624e);
}

/* Permission table */
.admin-settings__perm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-settings__perm-th {
  padding: 8px 12px;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-muted, #6a7282);
  text-align: left;
  background: var(--background-page, #f6f8f9);
  border-bottom: 1px solid var(--border-default, #d1d5dc);
}

.admin-settings__perm-th--center {
  text-align: center;
}

.admin-settings__perm-td {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: var(--text-body-1, #1e2939);
  border-bottom: 1px solid var(--border-default, #d1d5dc);
}

.admin-settings__perm-td--center {
  text-align: center;
}

.admin-settings__perm-level {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.admin-settings__perm-level--cannot_access {
  background: #f3f4f6;
  color: #6a7282;
}

.admin-settings__perm-level--can_only_read {
  background: var(--info-bg, #e1f0f7);
  color: var(--blue-800, #055c87);
}

.admin-settings__perm-level--can_manage {
  background: #fffbf0;
  color: #92600e;
}

.admin-settings__perm-level--can_administer {
  background: var(--success-bg, #eaf5f1);
  color: var(--success-text, #1a624e);
}

/* ========================================
   Admin Modal (Dark)
   ======================================== */
.admin-modal__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.admin-modal {
  position: relative;
  width: 880px;
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  background: var(--teal-950, #111f22);
  border: 1px solid #294346;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -6px rgba(0, 0, 0, 0.1);
}

.admin-modal__header {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 16px;
  height: 80px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid #617781;
}

.admin-modal__title {
  flex: 1;
  min-width: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: white;
  margin: 0;
}

.admin-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  padding: 0;
}

.admin-modal__close:hover {
  opacity: 0.7;
}

.admin-modal__body {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.admin-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-modal__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-modal__label {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: #d1d5dc;
}

.admin-modal__input {
  height: 36px;
  width: 100%;
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--border-default, #d1d5dc);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-body-1, #1e2939);
  outline: none;
}

.admin-modal__input:focus {
  border-color: var(--primary-bg, #f3ab1b);
  box-shadow: 0 0 0 2px rgba(243, 171, 27, 0.2);
}

.admin-modal__textarea {
  width: 100%;
  min-height: 72px;
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--border-default, #d1d5dc);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-body-1, #1e2939);
  outline: none;
  resize: vertical;
}

.admin-modal__textarea:focus {
  border-color: var(--primary-bg, #f3ab1b);
  box-shadow: 0 0 0 2px rgba(243, 171, 27, 0.2);
}

.admin-modal__select {
  height: 36px;
  width: 100%;
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--border-default, #d1d5dc);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--text-body-1, #1e2939);
  outline: none;
  appearance: none;
  cursor: pointer;
}

.admin-modal__select:focus {
  border-color: var(--primary-bg, #f3ab1b);
  box-shadow: 0 0 0 2px rgba(243, 171, 27, 0.2);
}

.admin-modal__hint {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: #d1d5dc;
}

.admin-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 17px 16px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(115, 134, 139, 0.5);
}

.admin-modal__btn-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(246, 248, 249, 0.1);
  border: 1px solid rgba(115, 134, 139, 0.5);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: white;
  cursor: pointer;
  transition: opacity 0.15s;
}

.admin-modal__btn-cancel:hover {
  opacity: 0.8;
}

.admin-modal__btn-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--primary-bg, #f3ab1b);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--teal-950, #111f22);
  cursor: pointer;
  transition: opacity 0.15s;
}

.admin-modal__btn-save:hover {
  opacity: 0.9;
}

/* Row action buttons (edit/delete on settings rows) */
.admin-settings__actions {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  padding-left: 4px;
}

.admin-settings__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
  padding: 0;
}

.admin-settings__action-btn:hover {
  opacity: 0.8;
}

.admin-settings__action-btn--delete {
  background: var(--error-default, #d64142);
  color: white;
}

.admin-settings__action-btn--edit {
  background: var(--background-page, #f6f8f9);
  border: 1px solid rgba(115, 134, 139, 0.5);
  color: var(--teal-950, #111f22);
}

/* ========================================
   Admin Table
   ======================================== */
.admin-table__filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-table__filter-select {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.admin-table__filter-dropdown {
  height: 36px;
  padding: 0 32px 0 12px;
  background: var(--teal-950, #111f22);
  border: 1px solid rgba(115, 134, 139, 0.5);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: #f4f9f9;
  appearance: none;
  cursor: pointer;
}

.admin-table__filter-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  color: #73868b;
  pointer-events: none;
}

.admin-table__filter-apply {
  height: 36px;
  padding: 0 16px;
  background: var(--primary-bg, #f3ab1b);
  color: var(--teal-950, #111f22);
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.admin-table__filter-apply:hover {
  opacity: 0.9;
}

.admin-table__filter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 36px;
  background: var(--teal-950, #111f22);
  border: 1px solid rgba(115, 134, 139, 0.5);
  border-radius: 6px;
  color: #73868b;
  cursor: pointer;
}

.admin-table {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);
}

.admin-table__header {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  background: #f6f8f9;
  border-bottom: 1px solid var(--border-default, #d1d5dc);
}

.admin-table__checkbox {
  flex-shrink: 0;
  width: 15px;
  margin-right: 16px;
}

.admin-table__check {
  width: 15px;
  height: 15px;
  border: 1px solid #617781;
  border-radius: 2px;
  appearance: none;
  cursor: pointer;
}

.admin-table__col {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-table__col--name {
  flex: 1;
  min-width: 270px;
  max-width: 330px;
}

.admin-table__col--org {
  flex: 1;
  min-width: 0;
}

.admin-table__col--status {
  flex: 1;
  min-width: 0;
}

.admin-table__col--actions {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
}

.admin-table__col-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-body-1, #1e2939);
  opacity: 0.8;
}

.admin-table__col-sort {
  width: 12px;
  height: 12px;
  opacity: 0.8;
  color: var(--text-body-1, #1e2939);
}

.admin-table__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  min-height: 52px;
  background: white;
  border-bottom: 1px solid var(--border-default, #d1d5dc);
}

.admin-table__row--alt {
  background: #f4f9f9;
}

.admin-table__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.admin-table__avatar {
  width: 36px;
  height: 36px;
  border-radius: 100px;
  background: #faf7fd;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-table__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 100px;
}

.admin-table__avatar-placeholder {
  width: 16px;
  height: 16px;
  color: var(--text-muted, #6a7282);
}

.admin-table__user-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.admin-table__user-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--text-heading, #101828);
  text-decoration: none;
}

.admin-table__user-name:hover {
  text-decoration: underline;
}

.admin-table__user-email {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-body-1, #1e2939);
}

.admin-table__org {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-body-1, #1e2939);
}

.admin-table__status-text {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-body-1, #1e2939);
}

.admin-table__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.admin-table__pagination-info {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: white;
}

.admin-table__pagination-pages {
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-table__pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 12px;
  background: var(--background-page, #f6f8f9);
  border: 1px solid rgba(115, 134, 139, 0.5);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--teal-950, #111f22);
  text-decoration: none;
  cursor: pointer;
}

.admin-table__pagination-btn--active {
  background: var(--primary-bg, #f3ab1b);
  border-color: var(--primary-bg, #f3ab1b);
}

.admin-table__pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 12px;
  color: #d1d5dc;
}

/* Light variant for pagination on white backgrounds */
.admin-table__pagination--light .admin-table__pagination-info {
  color: var(--text-muted, #6a7282);
}

.admin-table__pagination--light .admin-table__per-page-label {
  color: var(--text-muted, #6a7282);
}

.admin-table__pagination--light .admin-table__per-page {
  border-left-color: var(--border-default, #d1d5dc);
}

.admin-table__pagination--light .admin-table__per-page-btn {
  border-color: var(--border-default, #d1d5dc);
  color: var(--text-body-1, #1e2939);
}

.admin-table__pagination--light .admin-table__per-page-btn:hover {
  border-color: var(--text-muted, #6a7282);
}

.admin-table__pagination--light .admin-table__per-page-btn--active {
  background: var(--background-page, #f6f8f9);
  border-color: var(--text-muted, #6a7282);
  color: var(--text-heading, #101828);
}

.admin-table__pagination--light .admin-table__pagination-ellipsis {
  color: var(--text-muted, #6a7282);
}

.admin-table__per-page {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-table__per-page-label {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.admin-table__per-page-options {
  display: flex;
  align-items: center;
  gap: 2px;
}

.admin-table__per-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: none;
  border: 1px solid rgba(115, 134, 139, 0.3);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}

.admin-table__per-page-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.admin-table__per-page-btn--active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

/* ── Under Construction notice ─────────────────────────────── */

.admin-wip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 20px 24px;
}

.admin-wip__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--yellow-400, #fbc02d);
}

.admin-wip__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: white;
  margin: 0;
}

.admin-wip__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin: 4px 0 0;
}

/* ── Distribution list tables ──────────────────────────────── */

.admin-table__check:checked {
  background: var(--primary-bg, #f3ab1b);
  border-color: var(--primary-bg, #f3ab1b);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23111f22'%3E%3Cpath d='M12.7 4.7a1 1 0 0 0-1.4-1.4L6.5 8.1 4.7 6.3a1 1 0 0 0-1.4 1.4l2.5 2.5a1 1 0 0 0 1.4 0l5.5-5.5z'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.admin-table__col--list-name {
  flex: 2.5;
  min-width: 280px;
}

.admin-table__col--list-name .admin-table__user-info {
  min-width: 0;
}

.admin-table__col--subject {
  flex: 2.5;
  min-width: 280px;
}

input.admin-table__filter-input {
  appearance: none;
  height: 36px;
  width: 200px;
  padding: 0 12px;
  background: var(--teal-950, #111f22);
  border: 1px solid rgba(115, 134, 139, 0.5);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--primary-bg-light, #f4f9f9);
}

input.admin-table__filter-input::placeholder {
  color: #73868b;
}

input.admin-table__filter-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

input.admin-table__filter-input::-webkit-calendar-picker-indicator {
  filter: invert(0.6);
  cursor: pointer;
}

.admin-table__list-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--text-heading, #101828);
  text-decoration: none;
}

.admin-table__list-name:hover {
  text-decoration: underline;
}

.admin-table__list-desc {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-body-1, #1e2939);
}

.admin-table__count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-body-1, #1e2939);
}


/* ========================================
   Light theme (Dashboard)
   ======================================== */
.admin-main--light {
  background: linear-gradient(167deg, rgba(10, 38, 40, 0) 21%, rgba(115, 134, 139, 0.5) 95%), var(--background-light, #f4f9f9);
}

.admin-main--light .admin-topbar__breadcrumb-link,
.admin-main--light .admin-topbar__icon-btn {
  color: var(--teal-950, #111f22);
}

.admin-main--light .admin-topbar__icon-btn:hover {
  color: var(--teal-950, #111f22);
  background: rgba(0, 0, 0, 0.05);
}

.admin-main--light .admin-topbar__divider {
  background: rgba(0, 0, 0, 0.15);
}

.admin-main--light .admin-topbar__user-name {
  color: var(--text-heading, #101828);
}

.admin-main--light .admin-topbar__user-chevron {
  color: rgba(0, 0, 0, 0.5);
}

.admin-main--light .admin-topbar__avatar {
  background: rgba(0, 0, 0, 0.08);
  color: var(--teal-950, #111f22);
}

.admin-main--light .admin-hero__title {
  color: var(--text-heading, #101828);
}

.admin-main--light .admin-hero__description {
  color: var(--text-body, #1e2939);
}

.admin-main--light .admin-topbar__breadcrumb-current {
  color: var(--text-heading, #101828);
}

.admin-main--light .admin-topbar__breadcrumb-sep {
  color: rgba(0, 0, 0, 0.3);
}

/* ========================================
   Dashboard
   ======================================== */
.admin-dash {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
}

.admin-dash__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* ── Welcome card ── */
.admin-dash__welcome {
  position: relative;
  border-radius: 12px;
  padding: 24px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background:
    linear-gradient(167deg, rgba(10, 38, 40, 0.3) 20%, rgba(36, 142, 122, 0.3) 48%, rgba(208, 227, 225, 0.3) 95%),
    #0b4c6f;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 1.5px rgba(0, 0, 0, 0.08);
}

.admin-dash__welcome-bear {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 302px;
  width: 342px;
  max-width: 55%;
  object-fit: contain;
  object-position: bottom right;
  border-bottom-right-radius: 12px;
  pointer-events: none;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.admin-dash__welcome-heading {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 16px;
  max-width: 320px;
}

.admin-dash__welcome-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: white;
  text-transform: capitalize;
}

.admin-dash__welcome-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: white;
}

.admin-dash__stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  padding: 0 16px;
}

.admin-dash__stat {
  flex: 1;
  min-width: 0;
  background: white;
  border-radius: 6px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 12px rgba(36, 36, 36, 0.08), 0 8px 4px rgba(36, 36, 36, 0.03);
}

.admin-dash__stat-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  text-transform: uppercase;
  color: var(--text-disabled, #4a5565);
  white-space: nowrap;
}

.admin-dash__stat-value {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.admin-dash__stat-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted, #6a7282);
  flex-shrink: 0;
  margin-bottom: 4px;
}

.admin-dash__stat-number {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: var(--text-heading, #101828);
}

.admin-dash__stat-note {
  font-size: 10px;
  font-weight: 500;
  line-height: 12px;
  color: var(--text-body-1, #1e2939);
  margin-bottom: 5px;
}

/* ── Panels (Pending Approvals / Active Projects) ── */
.admin-dash__panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 24px -4px rgba(36, 36, 36, 0.08), 0 8px 8px -4px rgba(36, 36, 36, 0.03);
}

.admin-dash__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border-default, #d1d5dc);
}

.admin-dash__panel-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.1px;
  color: var(--text-heading, #101828);
  text-transform: capitalize;
  margin: 0;
}

.admin-dash__view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-transform: capitalize;
  color: var(--teal-950, #111f22);
  text-decoration: none;
}

.admin-dash__view-all:hover {
  opacity: 0.7;
}

.admin-dash__view-all-icon {
  width: 12px;
  height: 12px;
}

.admin-dash__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default, #d1d5dc);
}

.admin-dash__row:last-child {
  border-bottom: none;
}

.admin-dash__row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-dash__row-title {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text-body-1, #1e2939);
  margin: 0;
}

.admin-dash__row-time {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-body-1, #1e2939);
  white-space: nowrap;
}

.admin-dash__row-tags {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-dash__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-body-1, #1e2939);
}

.admin-dash__tag--strong {
  font-weight: 500;
}

.admin-dash__tag-icon {
  width: 12px;
  height: 12px;
  color: var(--text-muted, #6a7282);
  flex-shrink: 0;
}

/* ── Active project rows ── */
.admin-dash__project {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-bottom: 1px solid var(--border-default, #d1d5dc);
}

.admin-dash__project:last-child {
  border-bottom: none;
}

.admin-dash__project-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--text-heading, #101828);
  margin: 0;
}

.admin-dash__project-name a {
  color: inherit;
  text-decoration: none;
}

.admin-dash__project-name a:hover {
  text-decoration: underline;
}

.admin-dash__code {
  display: inline-flex;
  align-items: center;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--blue-200, #b9e8fe);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--text-heading, #101828);
}

/* ── Calendar + events card ── */
.admin-dash__card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 1.5px rgba(0, 0, 0, 0.08);
}

.admin-dash__calendar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 16px 8px;
}

.admin-dash__cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-dash__cal-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.1px;
  text-transform: capitalize;
  color: var(--text-heading, #101828);
  margin: 0;
}

.admin-dash__cal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: white;
  border: 1px solid var(--border-default, #d1d5dc);
  border-radius: 6px;
  color: var(--teal-950, #111f22);
  cursor: pointer;
  transition: background 0.15s;
}

.admin-dash__cal-btn:hover {
  background: var(--background-page, #f6f8f9);
}

.admin-dash__cal-btn .admin-dash__cal-btn-icon {
  width: 12px;
  height: 12px;
}

.admin-dash__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.admin-dash__cal-dow {
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: var(--text-disabled, #4a5565);
}

.admin-dash__cal-day {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--text-heading, #101828);
  text-decoration: none;
}

.admin-dash__cal-day--today {
  background: var(--teal-950, #111f22);
  color: white;
}

/* ── Upcoming events ── */
.admin-dash__events {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 16px 16px;
}

.admin-dash__events-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-dash__events-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: var(--text-heading, #101828);
  margin: 0;
}

.admin-dash__event {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--border-default, #d1d5dc);
  border-radius: 6px;
  text-decoration: none;
}

.admin-dash__event:hover {
  background: var(--background-page, #f6f8f9);
}

.admin-dash__event-date {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--primary-subtle, #e7f2f2);
  color: var(--primary-default, #37656a);
}

.admin-dash__event-day {
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.5px;
}

.admin-dash__event-month {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  text-transform: uppercase;
}

.admin-dash__event-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.admin-dash__event-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--text-body-1, #1e2939);
  margin: 0;
}

.admin-dash__event-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.admin-dash__event-meta .admin-dash__tag {
  flex-shrink: 0;
  white-space: nowrap;
}

.admin-dash__event-meta .admin-dash__tag--truncate {
  flex-shrink: 1;
  min-width: 0;
}

.admin-dash__tag-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Projects by phase ── */
.admin-dash__phases {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 16px;
}

.admin-dash__phases-legend {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-dash__phases-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: var(--text-heading, #101828);
  margin: 0;
}

.admin-dash__legend-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-dash__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

.admin-dash__legend-label {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.1px;
  color: var(--text-body-1, #1e2939);
}

.admin-dash__legend-count {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-body-1, #1e2939);
}

.admin-dash__donut {
  position: relative;
  width: 182px;
  height: 182px;
  border-radius: 50%;
  flex-shrink: 0;
}

.admin-dash__donut::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: white;
}

/* Keep header and row columns aligned: the header's empty actions cell
   must occupy the same width as the row action buttons. */
.admin-table__col--actions {
  min-width: 36px;
}

.admin-main--light .admin-topbar__breadcrumb-current {
  color: var(--text-heading, #101828);
}

.admin-main--light .admin-topbar__breadcrumb-sep {
  color: var(--text-muted, #6a7282);
}

/* ========================================
   Recipient Picker (Compose)
   ======================================== */
.recipient-picker {
  position: relative;
}

.recipient-picker__field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 8px;
  background: white;
  border: 1px solid var(--border-default, #d1d5dc);
  border-radius: 6px;
  cursor: text;
}

.recipient-picker__field:focus-within {
  outline: 2px solid var(--primary-bg, #f3ab1b);
  outline-offset: -1px;
}

.recipient-picker__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
}

.recipient-picker__chip--list {
  background: var(--primary-subtle, #e7f2f2);
  color: var(--teal-950, #111f22);
}

.recipient-picker__chip--user {
  background: var(--background-page, #f6f8f9);
  border: 1px solid var(--border-default, #d1d5dc);
  color: var(--text-heading, #101828);
}

.recipient-picker__chip-remove {
  border: none;
  background: none;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
}

.recipient-picker__chip-remove:hover {
  opacity: 1;
}

input.recipient-picker__input {
  flex: 1;
  min-width: 160px;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 4px;
  background: transparent;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-body, #1e2939);
}

input.recipient-picker__input:focus {
  outline: none;
  box-shadow: none;
}

input.recipient-picker__input::placeholder {
  color: var(--text-muted, #6a7282);
}

.recipient-picker__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 280px;
  overflow-y: auto;
  background: white;
  border: 1px solid var(--border-default, #d1d5dc);
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  padding: 4px;
}

.recipient-picker__group-label {
  padding: 8px 12px 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted, #6a7282);
}

.recipient-picker__option {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: none;
  text-align: left;
  cursor: pointer;
}

.recipient-picker__option:hover {
  background: var(--background-page, #f6f8f9);
}

.recipient-picker__option-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--text-heading, #101828);
  min-width: 0;
}

.recipient-picker__option-meta {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--text-muted, #6a7282);
  flex-shrink: 0;
}

.recipient-picker__empty {
  padding: 12px;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-muted, #6a7282);
}

/* ========================================
   Project Overview (admin show)
   ======================================== */
.proj-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1024px) {
  .proj-overview {
    grid-template-columns: 650fr 478fr;
  }
}

/* Main white card */
.proj-card {
  display: flex;
  flex-direction: column;
  gap: 48px;
  background: white;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 24px 16px;
}

.proj-section__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.1px;
  color: var(--text-heading);
  margin: 0 0 12px;
}

.proj-section__title--lg {
  margin-bottom: 16px;
}

.proj-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.proj-section__head .proj-section__title {
  margin: 0;
}

.proj-section__edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
}

.proj-section__edit:hover {
  color: var(--text-heading);
}

.proj-section__body {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text-body);
}

/* Detail / key-value rows */
.proj-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
}

.proj-row__label {
  font-weight: 500;
  color: var(--text-disabled, #4a5565);
}

.proj-row__value {
  font-weight: 400;
  color: var(--text-heading);
  text-align: right;
}

.proj-row__value--link:hover {
  text-decoration: underline;
}

.proj-row__value--accent {
  font-weight: 500;
  color: var(--success-default);
}

.proj-detail-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 16px;
}

/* File-number chip (mono) */
.proj-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  border-radius: 4px;
  background: var(--blue-bg);
  color: var(--text-heading);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.24px;
  text-transform: uppercase;
}

/* Phase tag (icon + coloured label); colour set inline per phase */
.proj-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.proj-tag__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Project health progress bar — bordered box with segment bars + numbers */
.proj-health {
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 16px 12px 8px;
  margin-bottom: 12px;
}

.proj-health__stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proj-health__bar {
  display: flex;
  gap: 4px;
}

.proj-health__segment {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.proj-health__segment-bar {
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: var(--border-default);
}

.proj-health__segment--complete .proj-health__segment-bar {
  background: var(--success-default);
}

.proj-health__segment-num {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-muted);
}

.proj-health__segment--complete .proj-health__segment-num {
  color: var(--text-heading);
}

/* Document rows */
.proj-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 13px;
}

.proj-doc__name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.proj-doc__title {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--teal-950);
  text-decoration: underline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proj-doc__date {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Upcoming event card */
.proj-event {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 16px;
}

.proj-event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 6px;
  flex-shrink: 0;
}

.proj-event__day {
  font-size: 24px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.5px;
}

.proj-event__month {
  font-size: 10px;
  line-height: 12px;
  text-transform: uppercase;
}

.proj-event__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--text-heading);
}

.proj-event__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-muted);
}

.proj-btn-light {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  margin-top: 4px;
  padding: 0 16px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: var(--text-heading);
  text-decoration: none;
  transition: background 0.15s;
}

.proj-btn-light:hover {
  background: #f9fafb;
}

/* Aside (dark navy card) */
.proj-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.proj-aside__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--primary-strong);
  border-radius: 12px;
  padding: 24px 16px;
}

.proj-aside__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proj-aside__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.1px;
  color: var(--text-on-dark);
  margin: 0;
}

/* Next Milestone — white card with gray info banner */
.proj-milestone {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
}

.proj-milestone__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.1px;
  color: var(--text-body);
  margin: 0;
}

.proj-milestone__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proj-milestone__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--neutral-200);
  border-left: 5px solid var(--neutral-500);
  border-radius: 6px;
  padding: 12px 16px 12px 20px;
}

.proj-milestone__name {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--text-heading);
}

.proj-milestone__view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--teal-950);
  text-decoration: none;
}

.proj-aside__panel {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  padding: 16px;
}

/* Status pill (in aside panels) */
.proj-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.proj-pill--complete {
  background: var(--success-bg);
  color: var(--success-text);
}

.proj-pill--current {
  background: var(--warning-bg);
  color: var(--yellow-700);
}

.proj-pill--overdue {
  background: var(--error-bg);
  color: var(--error-text);
}

.proj-pill--review {
  background: var(--purple-bg);
  color: var(--purple-800);
}

.proj-pill--closed {
  background: var(--neutral-200);
  color: var(--text-body);
}

/* Schedule overview phase rows (divided by top borders) */
.proj-phase-row {
  padding: 12px 0;
  border-top: 1px solid var(--border-default);
}

.proj-phase-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.proj-phase-row:last-child {
  padding-bottom: 0;
}

.proj-phase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.proj-phase__name {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--text-body);
}

.proj-phase__name--upcoming {
  color: var(--text-body);
}

.proj-phase__milestones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--success-default);
}

.proj-phase__milestone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.proj-phase__milestone-name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.1px;
  color: var(--text-body);
}

.proj-phase__milestone-name span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proj-phase__milestone-date {
  font-size: 10px;
  line-height: 12px;
  color: #4a5565;
  flex-shrink: 0;
}

/* Open requests (white panel wrapping bordered rows) */
.proj-request-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proj-request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: white;
  border: 1px solid var(--modal-input-box);
  border-radius: 6px;
  padding: 10px 12px;
  text-decoration: none;
}

.proj-request__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--text-heading);
}

.proj-request__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  color: white;
  background: #4a5565;
}

.proj-request__count--alert {
  background: var(--error-default);
}

/* Alerts (white panel, rows divided by bottom borders) */
.proj-alerts {
  background: white;
  border-radius: 6px;
  padding: 10px 16px;
}

.proj-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-default);
}

.proj-alert:last-child {
  border-bottom: 0;
}

.proj-alert__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.12px;
  color: var(--text-heading);
}

.proj-alert__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: currentColor;
  flex-shrink: 0;
}

.proj-alert__dot--error {
  color: var(--error-default);
}

.proj-alert__dot--warning {
  color: var(--primary-bg);
}

.proj-alert-stub {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  padding: 20px 16px;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-muted);
}

/* ── Events index (upcoming / past columns) ── */
.evt-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1024px) {
  .evt-columns {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
}

/* ── Schedule Timeline (Gantt) ── */
.sched-scroll {
  overflow-x: auto;
}

.sched-inner {
  min-width: 1152px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Phase cards */
.sched-phases {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.sched-phase-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: white;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  padding: 12px;
}

.sched-phase-card--current {
  border-color: var(--border-on-dark-2);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 1.5px rgba(0, 0, 0, 0.08);
}

.sched-phase-card--upcoming {
  background: var(--neutral-200);
}

.sched-phase-card__num {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12px;
  text-transform: uppercase;
  color: var(--text-body);
}

.sched-phase-card--upcoming .sched-phase-card__num {
  color: var(--text-disabled);
}

.sched-phase-card__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: var(--text-heading);
}

.sched-phase-card__name > span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sched-phase-card__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sched-phase-card__icon--complete {
  color: var(--success-text);
}

.sched-phase-card__icon--current {
  color: var(--primary-bg);
}

.sched-phase-card__icon--upcoming {
  color: var(--stone-400);
}

.sched-phase-card__dates {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.12px;
  text-align: center;
  color: var(--text-disabled);
}

.sched-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 24px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-muted);
}

/* Gantt frame */
.sched-gantt {
  position: relative;
  background: white;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  overflow: hidden;
}

.sched-gantt__head,
.sched-gantt__group-head,
.sched-gantt__row {
  display: flex;
  align-items: stretch;
}

.sched-gantt__head {
  border-bottom: 1px solid var(--border-default);
}

.sched-gantt__label-cell {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px;
  border-right: 1px solid var(--border-default);
}

.sched-gantt__head-label {
  justify-content: flex-start;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-body);
}

.sched-gantt__months {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(var(--sched-cols), minmax(0, 1fr));
}

.sched-gantt__month {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-body);
  border-left: 1px solid var(--border-default);
}

.sched-gantt__month:first-child {
  border-left: 0;
}

/* Phase group header */
.sched-gantt__group-head {
  background: var(--neutral-100);
  border-bottom: 1px solid var(--border-default);
}

.sched-gantt__phase-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.1px;
}

.sched-gantt__phase-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.sched-gantt__chevron {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--text-input);
}

/* Milestone row */
.sched-gantt__row {
  border-bottom: 1px solid var(--border-default);
}

.sched-gantt__row:last-child {
  border-bottom: 0;
}

.sched-gantt__milestone {
  justify-content: flex-start;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Track (month grid + bars) */
.sched-gantt__track {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 32px;
  background-image: repeating-linear-gradient(
    to right,
    var(--border-default) 0,
    var(--border-default) 1px,
    transparent 1px,
    transparent calc(100% / var(--sched-cols))
  );
}

.sched-gantt__bar {
  position: absolute;
  top: 6px;
  bottom: 6px;
  border-radius: 4px;
  min-width: 4px;
}

.sched-gantt__bar--point {
  width: 18px;
  transform: translateX(-50%);
}

/* Today line */
.sched-gantt__today {
  position: absolute;
  top: 33px;
  bottom: 0;
  width: 0;
  border-left: 1px dashed var(--primary-strong);
  z-index: 2;
  pointer-events: none;
}

.sched-gantt__today-dot {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--primary-strong);
}

/* Overview — Members roster */
.proj-section__count { font-weight: 400; color: var(--text-muted, #6a7282); }
.proj-member { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.proj-member__avatar {
  width: 32px; height: 32px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; background: var(--teal-800, #144035); color: #fff;
  font-size: 12px; font-weight: 600;
}
.proj-member__info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.proj-member__name { font-size: 14px; font-weight: 500; color: var(--text-heading, #101828); }
.proj-member__org { font-size: 12px; color: var(--text-muted, #6a7282); }
.proj-tag--party { background: var(--teal-50, #eef4f3); color: var(--teal-800, #144035); }

/* When an admin modal is open the controller adds .overflow-hidden to <body>.
   Lift .admin-content (and the modal rendered inside it) above the sticky hero
   header (z-index:20) and sidebar (z-index:40) so the modal isn't trapped
   beneath them by their stacking contexts. */
body.overflow-hidden .admin-content { z-index: 50; }

.proj-section__link { font-size: 13px; font-weight: 500; color: var(--info-text, #0088c9); text-decoration: none; }
.proj-section__link:hover { text-decoration: underline; }

/* Requests table — type badges */
.req-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.req-badge--ir      { background: var(--info-bg, #e6f4fb); color: var(--info-text, #0088c9); }
.req-badge--written { background: #f1ecfb; color: #6b3fc0; }
.req-badge--party   { background: var(--success-bg, #eaf5f1); color: var(--success-text, #1a624e); }
.req-badge--reply   { background: var(--warning-bg, #faf3db); color: var(--yellow-700, #9b6300); }

/* ── Approval review modal (dark, Figma) ───────────────────────────────── */
dialog.approval-modal {
  border: 0; padding: 0; background: transparent;
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
}
dialog.approval-modal::backdrop { background: rgba(2, 12, 12, 0.72); }
.approval-modal__overlay { display: none; }
.approval-modal__positioner {
  min-height: 100%; display: flex; justify-content: center; align-items: flex-start;
  padding: 72px 16px 32px;
}
.approval-modal__card {
  width: 100%; max-width: 640px;
  background: #13211f; color: #e7edec;
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); overflow: hidden;
}
.approval-modal__header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.approval-modal__title { font-size: 20px; font-weight: 600; line-height: 28px; color: #fff; }
.approval-modal__subtitle { font-size: 13px; line-height: 18px; color: #9fb0ad; margin-top: 4px; }
.approval-modal__close {
  background: none; border: 0; color: #9fb0ad; font-size: 22px; line-height: 1;
  cursor: pointer; padding: 2px 6px; border-radius: 6px;
}
.approval-modal__close:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.approval-modal__section { padding: 16px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.approval-modal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.approval-modal__label { font-size: 12px; color: #8aa09c; margin-bottom: 6px; }
.approval-modal__value { font-size: 14px; line-height: 20px; color: #e7edec; word-break: break-word; }
.approval-modal__link { color: #cfe3df; text-decoration: underline; }
.approval-modal__link:hover { color: #fff; }
.approval-modal__notes { white-space: pre-wrap; }
.approval-modal__pill {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 500;
}
.approval-modal__pill--pending { background: rgba(243, 171, 27, 0.18); color: #f3ab1b; }
.approval-modal__pill--approved { background: rgba(49, 153, 119, 0.2); color: #5fd0a8; }
.approval-modal__pill--denied { background: rgba(214, 65, 66, 0.2); color: #f0908f; }
.approval-modal__footer {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 16px 24px;
}
.approval-modal__footer form { margin: 0; }
.approval-modal__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border-radius: 6px; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; line-height: 20px; transition: opacity 0.15s ease;
}
.approval-modal__btn:hover { opacity: 0.9; }
.approval-modal__btn--approve { background: var(--primary-bg, #f3ab1b); color: #111f22; }
.approval-modal__btn--deny { background: #d64142; color: #fff; }
.approval-modal__btn--ghost { background: rgba(255, 255, 255, 0.08); color: #e7edec; }
.approval-modal__footer--split { justify-content: space-between; }
.approval-modal__footer-actions { display: flex; align-items: center; gap: 12px; }
.approval-modal__textarea {
  width: 100%; min-height: 120px; resize: vertical; margin-top: 6px;
  background: #0f1b19; color: #e7edec;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; padding: 10px 12px;
  font-size: 14px; line-height: 20px;
}
.approval-modal__textarea::placeholder { color: #6f827e; }
.approval-modal__textarea:focus { outline: none; border-color: var(--primary-bg, #f3ab1b); }
.approval-modal__hint { font-size: 12px; color: #8aa09c; margin-top: 8px; }
