.nk-sidebar.is-light {
  background: #ffffff;
  border-right: 1px solid #eef2f8;
}

.nk-sidebar .nk-sidebar-head {
  padding-top: 26px;
}

.mpubs-logo-text {
  color: #334b6a;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.nk-sidebar-logo {
  align-items: center;
  display: inline-flex;
  min-height: 40px;
  gap: 10px;
}

.mpubs-sidebar-logo-image {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.mpubs-sidebar-logo-image-mobile {
  width: 28px;
  height: 28px;
}

.nk-sidebar .nk-menu-heading {
  padding: 22px 24px 10px;
}

.nk-sidebar .overline-title.text-primary-alt {
  color: #7f93b2 !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.nk-sidebar .nk-menu {
  padding: 0 16px 18px;
}

.nk-sidebar .nk-menu-item {
  margin: 4px 0;
}

.nk-sidebar .nk-menu-link {
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 999px;
  color: #5c7094;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nk-sidebar .nk-menu-link:hover {
  background: #f3f6fc;
  color: #2f78ed;
  transform: translateX(1px);
}

.nk-sidebar .nk-menu-icon {
  width: 38px;
  color: #8a9dbb;
  font-size: 1.35rem;
}

.nk-sidebar .nk-menu-text {
  font-size: 0.98rem;
  font-weight: 600;
}

.nk-sidebar .nk-menu-item.active > .nk-menu-link,
.nk-sidebar .nk-menu-item.current-page > .nk-menu-link {
  background: #eef3fb;
  color: #2f78ed;
  box-shadow: inset 0 0 0 1px rgba(47, 120, 237, 0.02);
}

.nk-sidebar .nk-menu-item.active > .nk-menu-link .nk-menu-icon,
.nk-sidebar .nk-menu-item.current-page > .nk-menu-link .nk-menu-icon {
  color: #2f78ed;
}

.nk-sidebar .nk-menu-item.active > .nk-menu-link::before,
.nk-sidebar .nk-menu-item.current-page > .nk-menu-link::before {
  display: none;
}

.nk-header-brand .logo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-hint {
  color: #8094ae;
  font-size: 1.5rem;
}

[data-admin-logout] {
  cursor: pointer;
}

.mpubs-administrators-hero,
.mpubs-administrator-form-hero {
  align-items: center;
  background: linear-gradient(135deg, #173c31 0%, #235949 100%);
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 1.75rem;
}

.mpubs-administrators-hero h1,
.mpubs-administrator-form-hero h1 {
  color: #fff;
  font-size: 2rem;
  margin: 0.25rem 0 0.5rem;
}

.mpubs-administrators-hero p,
.mpubs-administrator-form-hero p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 720px;
}

.mpubs-administrators-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}

.mpubs-administrators-summary-card,
.mpubs-administrators-list-shell,
.mpubs-administrator-form-shell,
.mpubs-administrator-form-sidecard {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(16, 25, 36, 0.05);
}

.mpubs-administrators-summary-card {
  padding: 1.15rem;
}

.mpubs-administrators-summary-label,
.mpubs-administrators-summary-note {
  color: #8094ae;
  font-size: 0.82rem;
}

.mpubs-administrators-summary-value {
  color: #173c31;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0.45rem 0;
}

.mpubs-administrators-toolbar {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem;
}

.mpubs-administrators-toolbar h2,
.mpubs-administrator-form-shell-head h2,
.mpubs-administrator-form-sidecard h3 {
  margin-bottom: 0;
}

.mpubs-administrators-toolbar-meta {
  color: #8094ae;
  margin-top: 0.25rem;
}

.mpubs-administrators-filters {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.6fr);
  min-width: min(520px, 100%);
}

.mpubs-administrators-table-wrap {
  border-top: 1px solid #edf2f8;
}

.mpubs-administrators-table {
  margin-bottom: 0;
}

.mpubs-administrator-form-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.mpubs-administrator-form-shell,
.mpubs-administrator-form-sidecard {
  padding: 1.35rem;
}

.mpubs-administrator-form-shell-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.mpubs-administrator-form-shell-head p,
.mpubs-administrator-form-sidecard p {
  color: #8094ae;
  margin-bottom: 0;
  max-width: 430px;
}

.mpubs-administrator-form-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mpubs-administrator-form-side {
  display: grid;
  gap: 1rem;
}

.mpubs-administrator-form-notes {
  color: #526484;
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.mpubs-administrator-form-notes li + li {
  margin-top: 0.55rem;
}

.mpubs-administrator-form-metrics {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.mpubs-administrator-form-metric {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.95rem;
}

.mpubs-administrator-form-metric-label {
  color: #8094ae;
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.mpubs-administrator-form-metric-value {
  color: #173c31;
  display: block;
  margin: 0.25rem 0;
}

.mpubs-admin-activation-page {
  align-items: center;
  background: linear-gradient(135deg, #f8f1e5 0%, #edf5f1 100%);
  display: flex;
  min-height: 100vh;
  padding: 1.5rem;
}

.mpubs-admin-activation-card {
  background: #fff;
  border: 1px solid rgba(210, 167, 80, 0.24);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(16, 46, 38, 0.14);
  margin: 0 auto;
  max-width: 520px;
  padding: 2rem;
  width: 100%;
}

.mpubs-admin-activation-brand {
  margin-bottom: 1.35rem;
  text-align: center;
}

.mpubs-admin-activation-brand h1 {
  color: #173c31;
  font-size: 1.8rem;
  margin: 0.75rem 0 0.5rem;
}

.mpubs-admin-activation-brand p,
.mpubs-admin-activation-footer {
  color: #526484;
}

.mpubs-admin-activation-footer {
  margin-top: 1.25rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .mpubs-administrators-hero,
  .mpubs-administrator-form-hero,
  .mpubs-administrators-toolbar,
  .mpubs-administrator-form-shell-head {
    align-items: stretch;
    flex-direction: column;
  }

  .mpubs-administrators-summary-grid,
  .mpubs-administrator-form-layout {
    grid-template-columns: 1fr;
  }

  .mpubs-administrators-filters {
    min-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .mpubs-administrators-summary-grid,
  .mpubs-administrators-filters {
    grid-template-columns: 1fr;
  }

  .mpubs-administrators-hero,
  .mpubs-administrator-form-hero,
  .mpubs-admin-activation-card {
    padding: 1.25rem;
  }

  .mpubs-administrators-hero h1,
  .mpubs-administrator-form-hero h1,
  .mpubs-admin-activation-brand h1 {
    font-size: 1.5rem;
  }
}

.mpubs-customers-hero,
.mpubs-customer-form-hero {
  align-items: center;
  background: linear-gradient(135deg, #173c31 0%, #235949 100%);
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 1.75rem;
}

.mpubs-customers-hero h1,
.mpubs-customer-form-hero h1 {
  color: #fff;
  font-size: 2rem;
  margin: 0.25rem 0 0.5rem;
}

.mpubs-customers-hero p,
.mpubs-customer-form-hero p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 720px;
}

.mpubs-customers-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}

.mpubs-customers-summary-card,
.mpubs-customers-list-shell,
.mpubs-customer-form-shell,
.mpubs-customer-form-sidecard {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(16, 25, 36, 0.05);
}

.mpubs-customers-summary-card {
  padding: 1.15rem;
}

.mpubs-customers-summary-label,
.mpubs-customers-summary-note {
  color: #8094ae;
  font-size: 0.82rem;
}

.mpubs-customers-summary-value {
  color: #173c31;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0.45rem 0;
}

.mpubs-customers-toolbar {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem;
}

.mpubs-customers-toolbar h2,
.mpubs-customer-form-shell-head h2,
.mpubs-customer-form-sidecard h3 {
  margin-bottom: 0;
}

.mpubs-customers-toolbar-meta {
  color: #8094ae;
  margin-top: 0.25rem;
}

.mpubs-customers-filters {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.6fr);
  min-width: min(520px, 100%);
}

.mpubs-customers-table-wrap {
  border-top: 1px solid #edf2f8;
}

.mpubs-customers-table {
  margin-bottom: 0;
}

.mpubs-customer-form-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.mpubs-customer-form-shell,
.mpubs-customer-form-sidecard {
  padding: 1.35rem;
}

.mpubs-customer-form-shell-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.mpubs-customer-form-shell-head p,
.mpubs-customer-form-sidecard p {
  color: #8094ae;
  margin-bottom: 0;
  max-width: 430px;
}

.mpubs-customer-form-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mpubs-customer-form-side {
  display: grid;
  gap: 1rem;
}

.mpubs-customer-form-notes {
  color: #526484;
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.mpubs-customer-form-notes li + li {
  margin-top: 0.55rem;
}

.mpubs-customer-form-metrics {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.mpubs-customer-form-metric {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.95rem;
}

.mpubs-customer-form-metric-label {
  color: #8094ae;
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.mpubs-customer-form-metric-value {
  color: #173c31;
  display: block;
  margin: 0.25rem 0;
}

@media (max-width: 991.98px) {
  .mpubs-customers-hero,
  .mpubs-customer-form-hero,
  .mpubs-customers-toolbar,
  .mpubs-customer-form-shell-head {
    align-items: stretch;
    flex-direction: column;
  }

  .mpubs-customers-summary-grid,
  .mpubs-customer-form-layout {
    grid-template-columns: 1fr;
  }

  .mpubs-customers-filters {
    min-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .mpubs-customers-summary-grid,
  .mpubs-customers-filters {
    grid-template-columns: 1fr;
  }

  .mpubs-customers-hero,
  .mpubs-customer-form-hero {
    padding: 1.25rem;
  }

  .mpubs-customers-hero h1,
  .mpubs-customer-form-hero h1 {
    font-size: 1.5rem;
  }
}

.mpubs-customer-topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
}

.mpubs-customer-topbar-wrap {
  min-height: 86px;
  gap: 18px;
}

.mpubs-customer-topbar-brandlink {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #162a4d;
  text-decoration: none;
}

.mpubs-customer-topbar-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.mpubs-customer-topbar-wordmark {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mpubs-customer-topbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
}

.mpubs-customer-topbar-nav .nk-menu-item {
  width: auto;
  flex: 0 0 auto;
}

.mpubs-customer-topbar-nav .nk-menu-link {
  display: inline-flex;
  align-items: center;
}

.mpubs-customer-topbar-link {
  min-height: 44px;
  padding: 0 16px !important;
  border-radius: 999px;
  color: #55657d !important;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mpubs-customer-topbar-link:hover,
.mpubs-customer-topbar-link:focus {
  background: rgba(209, 166, 72, 0.12);
  color: #162a4d !important;
}

.mpubs-customer-topbar-tools .nk-quick-nav {
  gap: 0.6rem;
  align-items: center;
}

.mpubs-customer-topbar-iconbtn {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e9f2;
  color: #55657d;
  box-shadow: 0 12px 28px rgba(16, 25, 36, 0.05);
  line-height: 1;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.mpubs-customer-topbar-iconbtn:hover,
.mpubs-customer-topbar-iconbtn:focus {
  background: linear-gradient(180deg, #fffaf0 0%, #fff6e5 100%);
  border-color: rgba(209, 166, 72, 0.3);
  color: #162a4d;
}

.mpubs-customer-topbar-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #4b7de8 0%, #5f8ef3 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 26px;
  box-shadow: 0 8px 20px rgba(75, 125, 232, 0.28);
  border: 2px solid #fff;
  z-index: 3;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transform: translateZ(0);
}

.mpubs-customer-notification-dropdown {
  width: min(420px, calc(100vw - 2rem));
  margin-top: 0.9rem;
  padding: 0;
  border: 1px solid #e5e9f2;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(16, 25, 36, 0.14);
}

.mpubs-customer-notification-dropdown-head,
.mpubs-customer-notification-dropdown-foot {
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.mpubs-customer-notification-dropdown-head {
  border-bottom: 1px solid #edf2f8;
}

.mpubs-customer-notification-dropdown-foot {
  border-top: 1px solid #edf2f8;
}

.mpubs-customer-notification-dropdown-eyebrow {
  color: #8094ae;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mpubs-customer-notification-dropdown-title {
  margin: 0.25rem 0 0;
  color: #162a4d;
  font-size: 1.05rem;
  font-weight: 700;
}

.mpubs-customer-notification-dropdown-body {
  max-height: 420px;
  overflow-y: auto;
  padding: 0.55rem;
  background: #fff;
}

.mpubs-customer-notification-dropdown-empty {
  padding: 1.2rem 1rem;
  color: #8094ae;
  font-size: 0.92rem;
  text-align: center;
}

.mpubs-customer-notification-dropdown-item {
  width: 100%;
  display: block;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  text-align: left;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mpubs-customer-notification-dropdown-item + .mpubs-customer-notification-dropdown-item {
  margin-top: 0.45rem;
}

.mpubs-customer-notification-dropdown-item:hover,
.mpubs-customer-notification-dropdown-item:focus {
  background: #fffaf0;
  box-shadow: inset 0 0 0 1px rgba(209, 166, 72, 0.18);
  transform: translateY(-1px);
}

.mpubs-customer-notification-dropdown-itemhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.mpubs-customer-notification-dropdown-itemtag {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  background: rgba(95, 142, 243, 0.1);
  color: #4b7de8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mpubs-customer-notification-dropdown-itemtime {
  color: #8094ae;
  font-size: 0.78rem;
}

.mpubs-customer-notification-dropdown-itemtitle {
  display: block;
  margin-top: 0.62rem;
  color: #162a4d;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.mpubs-customer-notification-dropdown-itemmessage {
  display: -webkit-box;
  margin-top: 0.38rem;
  overflow: hidden;
  color: #6b7a90;
  font-size: 0.88rem;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mpubs-customer-notification-dropdown-itemlink,
.mpubs-customer-notification-dropdown-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.55rem;
  color: #4b7de8;
  font-size: 0.84rem;
  font-weight: 600;
}

.mpubs-customer-notification-modal {
  border: 1px solid #e5e9f2;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(16, 25, 36, 0.16);
}

.mpubs-customer-notification-modal-head {
  padding-right: 1.2rem;
}

.mpubs-customer-notification-modal-eyebrow {
  color: #8094ae;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mpubs-customer-notification-modal-head .modal-title {
  margin-top: 0.35rem;
  color: #162a4d;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.mpubs-customer-notification-modal-meta {
  margin-top: 0.55rem;
  color: #8094ae;
  font-size: 0.92rem;
}

.mpubs-customer-notification-modal-message {
  color: #526484;
  font-size: 1rem;
  line-height: 1.8;
  white-space: pre-wrap;
}

.mpubs-customer-notification-modal-linkwrap {
  margin-top: 1.15rem;
}

.mpubs-customer-notification-modal-link {
  display: inline-flex;
  align-items: center;
  color: #4b7de8;
  font-weight: 600;
}

.mpubs-customer-pdf-modal {
  border: 1px solid #e5e9f2;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(16, 25, 36, 0.16);
}

.mpubs-customer-pdf-modal-head {
  padding-right: 1rem;
}

.mpubs-customer-pdf-modal-eyebrow {
  color: #8094ae;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mpubs-customer-pdf-modal-head .modal-title {
  margin-top: 0.35rem;
  color: #162a4d;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}

.mpubs-customer-pdf-modal-meta {
  margin-top: 0.45rem;
  color: #8094ae;
  font-size: 0.9rem;
}

.mpubs-customer-pdf-modal-state {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #edf2f8;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  color: #8094ae;
  font-size: 0.98rem;
  text-align: center;
}

.mpubs-customer-pdf-modal-frame {
  width: 100%;
  height: 72vh;
  border: 1px solid #edf2f8;
  border-radius: 18px;
  background: #f8fafc;
}

.mpubs-customer-flipbook-wrap {
  min-height: 72vh;
  padding: 1rem;
  border: 1px solid #edf2f8;
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(95, 142, 243, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.mpubs-customer-flipbook-stage {
  width: 100%;
  height: 100%;
  min-height: calc(72vh - 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mpubs-customer-flipbook-page {
  background: #fff;
  overflow: hidden;
}

.mpubs-customer-flipbook-page img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #fff;
}

.mpubs-customer-topbar-account-toggle {
  text-decoration: none;
}

.mpubs-customer-topbar-account {
  gap: 0.95rem;
  min-height: 58px;
  padding: 10px 16px 10px 12px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid #e5e9f2;
  box-shadow: 0 14px 32px rgba(16, 25, 36, 0.06);
}

.mpubs-customer-topbar-avatar {
  width: 40px !important;
  height: 40px !important;
  background: linear-gradient(135deg, #5f8ef3 0%, #4b7de8 100%) !important;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.mpubs-customer-topbar-userinfo .user-status {
  color: #7f8ca3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mpubs-customer-topbar-userinfo .user-name {
  color: #162a4d;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
}

.mpubs-customer-topbar-account .dropdown-indicator::after {
  color: #7f8ca3;
  margin-left: 0.45rem;
}

.mpubs-admin-dashboard {
  display: grid;
  gap: 22px;
  padding: 4px 0 24px;
}

.mpubs-admin-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.mpubs-admin-dashboard-hero-copy,
.mpubs-admin-dashboard-usercard,
.mpubs-admin-dashboard-statusband,
.mpubs-admin-dashboard-stat,
.mpubs-admin-dashboard-maincard,
.mpubs-admin-dashboard-card,
.mpubs-admin-dashboard-action,
.mpubs-admin-dashboard-phasecard {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 16px;
}

.mpubs-admin-dashboard-hero-copy {
  padding: 34px 36px;
  background:
    radial-gradient(circle at top left, rgba(209, 166, 72, 0.13), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: 0 18px 42px rgba(16, 25, 36, 0.06);
}

.mpubs-admin-dashboard-hero-copy h1 {
  margin: 0.55rem 0 0.95rem;
  color: #162a4d;
  font-size: 2.35rem;
  line-height: 0.98;
  font-weight: 600;
}

.mpubs-admin-dashboard-hero-copy p {
  margin: 0;
  max-width: 720px;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.8;
}

.mpubs-admin-dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.mpubs-admin-dashboard-hero-side {
  display: grid;
  gap: 14px;
}

.mpubs-admin-dashboard-usercard {
  padding: 24px;
  box-shadow: 0 16px 40px rgba(16, 25, 36, 0.05);
}

.mpubs-admin-dashboard-usercard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mpubs-admin-dashboard-usercard-kicker,
.mpubs-admin-dashboard-card-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b9852f;
}

.mpubs-admin-dashboard-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(185, 133, 47, 0.1);
  color: #9f6f1d;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mpubs-admin-dashboard-usercard-name {
  margin-top: 0.9rem;
  color: #162a4d;
  font-size: 1.28rem;
  line-height: 1.2;
  font-weight: 600;
}

.mpubs-admin-dashboard-usercard-email {
  margin-top: 0.35rem;
  color: #8094ae;
  font-size: 0.94rem;
  word-break: break-word;
}

.mpubs-admin-dashboard-statusband {
  padding: 18px 20px;
  display: grid;
  gap: 0.9rem;
  background:
    linear-gradient(180deg, rgba(22, 42, 77, 0.02), rgba(22, 42, 77, 0.04)),
    #fff;
}

.mpubs-admin-dashboard-statusitem strong,
.mpubs-admin-dashboard-action-text strong,
.mpubs-admin-dashboard-checklist strong,
.mpubs-admin-dashboard-phase-title {
  display: block;
  color: #162a4d;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
}

.mpubs-admin-dashboard-statusitem span,
.mpubs-admin-dashboard-action-text small,
.mpubs-admin-dashboard-checklist small,
.mpubs-admin-dashboard-phasecard p {
  display: block;
  margin-top: 0.25rem;
  color: #6b7a90;
  font-size: 0.9rem;
  line-height: 1.65;
}

.mpubs-admin-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mpubs-admin-dashboard-stat {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 32px rgba(16, 25, 36, 0.04);
}

.mpubs-admin-dashboard-stat-books {
  background:
    linear-gradient(135deg, rgba(209, 166, 72, 0.09), rgba(255, 255, 255, 0) 50%),
    #fff;
}

.mpubs-admin-dashboard-stat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mpubs-admin-dashboard-stat-label {
  color: #8094ae;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mpubs-admin-dashboard-stat-value {
  margin-top: 0.65rem;
  color: #162a4d;
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-admin-dashboard-stat-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f5f7fb;
  color: #b9852f;
  font-size: 1.15rem;
}

.mpubs-admin-dashboard-stat-foot {
  color: #6b7a90;
  font-size: 0.92rem;
  line-height: 1.55;
}

.mpubs-admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 18px;
}

.mpubs-admin-dashboard-maincard,
.mpubs-admin-dashboard-card {
  padding: 24px;
  box-shadow: 0 12px 32px rgba(16, 25, 36, 0.04);
}

.mpubs-admin-dashboard-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mpubs-admin-dashboard-card-head h2 {
  margin: 0.35rem 0 0;
  color: #162a4d;
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 600;
}

.mpubs-admin-dashboard-card-copy {
  margin: 0;
  color: #6b7a90;
  font-size: 0.96rem;
  line-height: 1.7;
}

.mpubs-admin-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.mpubs-admin-dashboard-action {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  box-shadow: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mpubs-admin-dashboard-action:hover {
  border-color: #d7deea;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(16, 25, 36, 0.05);
}

.mpubs-admin-dashboard-action-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(185, 133, 47, 0.1);
  color: #b9852f;
  font-size: 1.08rem;
  flex: 0 0 auto;
}

.mpubs-admin-dashboard-stack {
  display: grid;
  gap: 18px;
}

.mpubs-admin-dashboard-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.mpubs-admin-dashboard-checklist li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
}

.mpubs-admin-dashboard-checklist li span {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(185, 133, 47, 0.14);
  border: 1px solid rgba(185, 133, 47, 0.25);
  position: relative;
}

.mpubs-admin-dashboard-checklist li span::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #b9852f;
}

.mpubs-admin-dashboard-phasecard {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(185, 133, 47, 0.08), rgba(255, 255, 255, 0) 48%),
    #fff;
}

.mpubs-admin-dashboard-phasecard p {
  margin-bottom: 0;
}

@media (max-width: 1199.98px) {
  .mpubs-admin-dashboard-hero,
  .mpubs-admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .mpubs-admin-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mpubs-admin-dashboard {
    gap: 18px;
  }

  .mpubs-admin-dashboard-hero-copy,
  .mpubs-admin-dashboard-usercard,
  .mpubs-admin-dashboard-statusband,
  .mpubs-admin-dashboard-stat,
  .mpubs-admin-dashboard-maincard,
  .mpubs-admin-dashboard-card,
  .mpubs-admin-dashboard-action,
  .mpubs-admin-dashboard-phasecard {
    border-radius: 12px;
  }

  .mpubs-admin-dashboard-hero-copy {
    padding: 24px 22px;
  }

  .mpubs-admin-dashboard-hero-copy h1 {
    font-size: 1.82rem;
  }

  .mpubs-admin-dashboard-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-admin-dashboard-stats,
  .mpubs-admin-dashboard-actions {
    grid-template-columns: 1fr;
  }
}
.mpubs-book-cover-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  background: #f5f6fa;
  border: 1px solid #e5e9f2;
}

.mpubs-book-cover-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  background: #f5f6fa;
  border: 1px dashed #c4cefe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8094ae;
  font-size: 18px;
}

.mpubs-book-cover-preview {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e5e9f2;
  background: #f5f6fa;
  display: block;
}

.mpubs-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(16, 25, 36, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.mpubs-crop-dialog {
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(16, 25, 36, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mpubs-crop-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e9f2;
}

.mpubs-crop-body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: clamp(12px, 2vh, 20px);
}

.mpubs-crop-stage {
  width: min(520px, 100%);
  aspect-ratio: 2 / 3;
  margin: 0 auto;
  background: #101924;
  border-radius: 6px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.mpubs-crop-stage.is-dragging {
  cursor: grabbing;
}

.mpubs-crop-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.mpubs-crop-actions {
  position: sticky;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  background: #fff;
}

@media (max-height: 980px) {
  .mpubs-crop-stage {
    width: min(500px, 100%);
  }
}

@media (max-height: 920px) {
  .mpubs-crop-stage {
    width: min(430px, 100%);
  }
}

@media (max-height: 860px) {
  .mpubs-crop-stage {
    width: min(390px, 100%);
  }
}

@media (max-height: 760px) {
  .mpubs-crop-stage {
    width: min(330px, 100%);
  }
}

@media (max-height: 680px) {
  .mpubs-crop-stage {
    width: min(280px, 100%);
  }
}

@media (max-height: 600px) {
  .mpubs-crop-stage {
    width: min(240px, 100%);
  }
}

.mpubs-book-card .mpubs-book-cover-link {
  display: block;
}

.mpubs-book-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: #f5f6fa;
  border: 1px solid #e5e9f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mpubs-book-cover-lg {
  max-width: 320px;
}

div.mpubs-book-cover-placeholder {
  color: #8094ae;
  font-size: 2rem;
  border-style: dashed;
}

.mpubs-books-screen {
  padding-top: 8px;
}

.mpubs-books-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.mpubs-books-hero-copy h1 {
  margin: 8px 0 10px;
  color: #101924;
  font-size: 2.05rem;
  line-height: 1.02;
  font-weight: 600;
}

.mpubs-books-hero-copy p {
  margin: 0;
  max-width: 720px;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.65;
}

.mpubs-books-primary-action {
  min-height: 46px;
  border-radius: 999px;
  padding-inline: 18px;
  font-weight: 600;
}

.mpubs-books-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.mpubs-books-summary-card,
.mpubs-books-list-shell {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
}

.mpubs-books-summary-card {
  padding: 18px 18px 16px;
}

.mpubs-books-summary-label {
  color: #8094ae;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mpubs-books-summary-value {
  margin-top: 12px;
  color: #101924;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-books-summary-note {
  margin-top: 10px;
  color: #6b7a90;
  font-size: 0.9rem;
  line-height: 1.5;
}

.mpubs-books-list-shell {
  overflow: hidden;
}

.mpubs-books-toolbar {
  padding: 22px 22px 18px;
  border-bottom: 1px solid #edf1f7;
}

.mpubs-books-toolbar-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.mpubs-books-toolbar-title-wrap h2 {
  margin: 8px 0 0;
  color: #101924;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 600;
}

.mpubs-books-toolbar-meta {
  color: #8094ae;
  font-size: 0.92rem;
  line-height: 1.4;
}

.mpubs-books-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 14px;
}

.mpubs-books-filter .form-label {
  color: #55657d;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mpubs-books-filter .form-control,
.mpubs-books-filter .form-select {
  min-height: 46px;
  border-radius: 999px;
  border-color: #e5e9f2;
  background: #fbfcfe;
}

.mpubs-books-table-wrap .table-responsive {
  padding: 0 0 4px;
}

.mpubs-books-table {
  margin-bottom: 0;
}

.mpubs-books-table thead th {
  background: #fbfcff;
  color: #8094ae;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid #edf1f7;
  padding-top: 14px;
  padding-bottom: 14px;
}

.mpubs-books-table tbody td {
  vertical-align: middle;
  padding-top: 16px;
  padding-bottom: 16px;
}

.mpubs-books-table tbody tr:hover {
  background: #fcfdff;
}

@media (max-width: 1199.98px) {
  .mpubs-books-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mpubs-books-filters {
    grid-template-columns: 1fr 1fr;
  }

  .mpubs-books-filter-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .mpubs-books-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-books-summary-grid,
  .mpubs-books-filters {
    grid-template-columns: 1fr;
  }

  .mpubs-books-toolbar,
  .mpubs-books-summary-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .mpubs-books-toolbar-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

.mpubs-book-form-screen {
  padding-top: 8px;
}

.mpubs-book-form-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.mpubs-book-form-hero-copy h1 {
  margin: 8px 0 10px;
  color: #101924;
  font-size: 2.05rem;
  line-height: 1.02;
  font-weight: 600;
}

.mpubs-book-form-hero-copy p {
  margin: 0;
  max-width: 760px;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.65;
}

.mpubs-book-form-layout {
  display: grid;
  gap: 18px;
}

.mpubs-book-form-main-shell,
.mpubs-book-files-shell {
  display: grid;
  gap: 18px;
}

.mpubs-book-form-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.25fr);
  gap: 18px;
}

.mpubs-book-form-panel {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  padding: 24px;
}

.mpubs-book-form-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.mpubs-book-form-panel-head h2 {
  margin: 8px 0 0;
  color: #101924;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 600;
}

.mpubs-book-cover-stage {
  min-height: 300px;
  border: 1px dashed #d8dfeb;
  border-radius: 8px;
  background: #fbfcfe;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.mpubs-book-cover-stage-preview,
.mpubs-book-cover-stage-preview canvas {
  width: 100%;
}

.mpubs-book-cover-preview-large {
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
}

.mpubs-book-cover-thumb-large {
  width: 88px;
  height: 132px;
  border-radius: 8px;
}

.mpubs-book-cover-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: #8094ae;
}

.mpubs-book-cover-empty-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef3fb;
  color: #b9852f;
  font-size: 1.4rem;
}

.mpubs-book-cover-empty strong {
  color: #334b6a;
  font-size: 0.98rem;
  font-weight: 600;
}

.mpubs-book-cover-empty small {
  max-width: 260px;
  color: #8094ae;
  font-size: 0.88rem;
  line-height: 1.5;
}

.mpubs-book-upload-field {
  margin-top: 18px;
}

.mpubs-book-form-panel .form-control,
.mpubs-book-form-panel .form-select,
.mpubs-book-files-shell .form-control,
.mpubs-book-files-shell .form-select {
  min-height: 48px;
  border-radius: 999px;
  border-color: #e5e9f2;
  background: #fbfcfe;
}

.mpubs-book-form-panel textarea.form-control {
  min-height: 160px;
  border-radius: 14px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.mpubs-book-form-panel .form-label,
.mpubs-book-files-shell .form-label {
  color: #55657d;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mpubs-book-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.mpubs-book-form-back {
  min-height: 46px;
  border-radius: 999px;
  padding-inline: 18px;
}

.mpubs-book-files-copy {
  margin: 8px 0 0;
  color: #6b7a90;
  font-size: 0.95rem;
  line-height: 1.65;
}

.mpubs-book-files-master-panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(16, 25, 36, 0.05);
}

.mpubs-book-files-master-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(185, 133, 47, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 249, 243, 0.92) 100%);
  pointer-events: none;
}

.mpubs-book-files-master-panel > * {
  position: relative;
  z-index: 1;
}

.mpubs-book-files-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.mpubs-book-files-intro-copy h2 {
  margin: 10px 0 0;
  color: #12284b;
  font-size: clamp(2.6rem, 3vw, 4rem);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mpubs-book-files-intro-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 30px;
  border: 1px solid rgba(185, 133, 47, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 251, 245, 0.95) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.mpubs-book-files-intro-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(185, 133, 47, 0.08) 0%, rgba(185, 133, 47, 0.16) 100%);
  color: #b9852f;
  font-size: 1.8rem;
}

.mpubs-book-files-intro-note strong {
  display: block;
  margin-bottom: 8px;
  color: #12284b;
  font-size: 1rem;
  font-weight: 600;
}

.mpubs-book-files-intro-note small {
  display: block;
  color: #6b7a90;
  font-size: 0.98rem;
  line-height: 1.6;
}

.mpubs-book-files-intro-note code {
  color: #ee5a8f;
  background: transparent;
  padding: 0;
  font-size: inherit;
}

.mpubs-book-files-upload {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) auto;
  gap: 0;
  align-items: end;
  padding: 30px 28px;
  border: 1px solid rgba(185, 133, 47, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.mpubs-book-file-field {
  padding-right: 28px;
}

.mpubs-book-file-field-type {
  position: relative;
}

.mpubs-book-file-field-type::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(185, 133, 47, 0), rgba(185, 133, 47, 0.25), rgba(185, 133, 47, 0));
}

.mpubs-book-file-field-wide {
  min-width: 0;
  padding-left: 38px;
}

.mpubs-book-file-input-wrap {
  position: relative;
}

.mpubs-book-file-input {
  padding: 0;
  border-radius: 18px !important;
  background: #fff !important;
  border-color: rgba(185, 133, 47, 0.18) !important;
  overflow: hidden;
  padding-right: 64px;
}

.mpubs-book-file-input::file-selector-button {
  height: 56px;
  margin-right: 16px;
  padding: 0 28px;
  border: 0;
  background: rgba(185, 133, 47, 0.08);
  color: #12284b;
  font-weight: 600;
  cursor: pointer;
}

.mpubs-book-file-input-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: #c9d1de;
  font-size: 1.55rem;
  pointer-events: none;
}

.mpubs-book-file-note {
  margin-top: 12px;
  color: #8695ab;
  font-style: italic;
  font-size: 0.9rem;
}

.mpubs-book-file-action {
  display: flex;
  align-items: flex-end;
  padding-left: 28px;
}

.mpubs-book-file-action .btn {
  min-height: 56px;
  min-width: 230px;
  padding-inline: 26px;
  border-radius: 20px;
  border: 0;
  background: linear-gradient(180deg, #172a4d 0%, #0f203f 100%);
  box-shadow: 0 10px 24px rgba(18, 40, 75, 0.18);
}

.mpubs-book-files-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.mpubs-book-files-divider-line {
  width: min(100%, 420px);
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 133, 47, 0), rgba(185, 133, 47, 0.45), rgba(185, 133, 47, 0));
}

.mpubs-book-files-divider-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #b9852f;
  font-size: 1rem;
}

.mpubs-book-files-table-panel {
  padding-bottom: 0;
}

@media (max-width: 1199.98px) {
  .mpubs-book-form-grid {
    grid-template-columns: 1fr;
  }

  .mpubs-book-files-intro {
    grid-template-columns: 1fr;
  }

  .mpubs-book-files-upload {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .mpubs-book-file-field,
  .mpubs-book-file-action {
    padding-left: 0;
    padding-right: 0;
  }

  .mpubs-book-file-field-type::after {
    display: none;
  }

  .mpubs-book-file-field-wide {
    grid-column: 1 / -1;
    padding-left: 0;
  }
}

@media (max-width: 767.98px) {
  .mpubs-book-form-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-book-form-panel {
    padding: 18px;
  }

  .mpubs-book-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-book-files-upload {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .mpubs-book-file-action {
    justify-content: stretch;
  }
}

@media (max-width: 767.98px) {
  .mpubs-book-form-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-book-form-panel {
    padding: 18px;
  }

  .mpubs-book-files-intro-note {
    padding: 16px;
    border-radius: 16px;
  }

  .mpubs-book-files-intro-copy h2 {
    font-size: 2.35rem;
  }

  .mpubs-book-form-actions,
  .mpubs-book-files-upload {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-book-files-upload {
    padding: 18px;
    gap: 14px;
  }

  .mpubs-book-file-action {
    justify-content: stretch;
  }

  .mpubs-book-file-action .btn {
    min-width: 0;
    width: 100%;
  }
}

/* Book editor redesign */

.mpubs-book-editor-screen {
  position: relative;
}

.mpubs-book-editor-screen .nk-content-body {
  display: grid;
  gap: 24px;
}

.mpubs-book-editor-screen::before,
.mpubs-book-editor-screen::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}

.mpubs-book-editor-screen::before {
  top: -10px;
  right: 8px;
  width: 320px;
  height: 180px;
  background-image:
    linear-gradient(135deg, rgba(185, 133, 47, 0.08) 25%, transparent 25%),
    linear-gradient(225deg, rgba(185, 133, 47, 0.08) 25%, transparent 25%),
    linear-gradient(315deg, rgba(185, 133, 47, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, rgba(185, 133, 47, 0.08) 25%, transparent 25%);
  background-position: 12px 0, 12px 0, 0 0, 0 0;
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 88%);
}

.mpubs-book-editor-screen::after {
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(185, 133, 47, 0.08), transparent 38%),
    radial-gradient(circle at bottom left, rgba(185, 133, 47, 0.05), transparent 28%);
}

.mpubs-book-editor-hero,
.mpubs-book-editor-grid,
.mpubs-book-files-shell {
  position: relative;
  z-index: 1;
}

.mpubs-book-editor-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 4px 4px;
}

.mpubs-book-editor-hero-copy h1 {
  margin: 8px 0 14px;
  color: #12284b;
  font-size: clamp(2.65rem, 3.4vw, 4.3rem);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.mpubs-book-editor-hero-copy p {
  margin: 0;
  max-width: 900px;
  color: #5e6f87;
  font-size: 1.06rem;
  line-height: 1.7;
}

.mpubs-book-editor-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
}

.mpubs-book-editor-hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(185, 133, 47, 0.15);
  color: #6b7a90;
  font-size: 0.9rem;
  font-weight: 500;
}

.mpubs-book-editor-hero-notes em {
  color: #b9852f;
}

.mpubs-book-editor-back {
  min-height: 52px;
  padding-inline: 20px;
  border-radius: 999px;
  border-color: rgba(185, 133, 47, 0.2);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 25px rgba(16, 25, 36, 0.04);
}

.mpubs-book-editor-grid {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 22px;
}

.mpubs-book-editor-sidebar,
.mpubs-book-editor-main {
  display: grid;
  gap: 22px;
}

.mpubs-book-editor-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(185, 133, 47, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 249, 243, 0.9) 100%);
  box-shadow:
    0 16px 40px rgba(16, 25, 36, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  padding: 28px;
}

.mpubs-book-editor-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(185, 133, 47, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(185, 133, 47, 0.04), transparent 22%);
  pointer-events: none;
}

.mpubs-book-editor-panel > * {
  position: relative;
  z-index: 1;
}

.mpubs-book-editor-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.mpubs-book-editor-panel-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(185, 133, 47, 0.08) 0%, rgba(185, 133, 47, 0.16) 100%);
  color: #b9852f;
  font-size: 1.15rem;
  flex: 0 0 52px;
}

.mpubs-book-editor-panel-head h2 {
  margin: 6px 0 0;
  color: #12284b;
  font-size: 1.42rem;
  line-height: 1.15;
  font-weight: 600;
}

.mpubs-book-editor-panel .form-label,
.mpubs-book-editor-panel .custom-control-label,
.mpubs-book-editor-screen .mpubs-book-files-shell .form-label {
  color: #334b6a;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mpubs-book-editor-panel .form-control,
.mpubs-book-editor-panel .form-select {
  min-height: 54px;
  border-radius: 18px;
  border-color: rgba(185, 133, 47, 0.14);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.mpubs-book-editor-panel .form-control:focus,
.mpubs-book-editor-panel .form-select:focus {
  border-color: rgba(185, 133, 47, 0.4);
  box-shadow: 0 0 0 0.2rem rgba(185, 133, 47, 0.12);
}

.mpubs-book-editor-panel textarea.form-control {
  min-height: 180px;
  border-radius: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
  line-height: 1.75;
}

.mpubs-book-editor-side-grid {
  display: grid;
  gap: 16px;
}

.mpubs-book-cover-stage {
  min-height: 370px;
  align-items: stretch;
  border-style: solid;
  border-color: rgba(185, 133, 47, 0.15);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(252, 249, 243, 0.88) 100%);
}

.mpubs-book-cover-stage-preview {
  display: grid;
  justify-items: center;
  width: 100%;
}

.mpubs-book-cover-stage-preview #book-cover-crop-canvas {
  display: none;
}

.mpubs-book-cover-stage-preview:has(#book-cover-crop-summary:not(.d-none)) #book-cover-crop-canvas {
  display: block;
}

.mpubs-book-cover-stage-preview:not(.d-none) + #book-cover-preview-empty {
  display: none;
}

.mpubs-book-cover-preview-large {
  width: min(100%, 290px);
  aspect-ratio: 2 / 3;
  box-shadow: 0 18px 35px rgba(16, 25, 36, 0.08);
}

.mpubs-book-cover-existing-card {
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(185, 133, 47, 0.12);
}

.mpubs-book-cover-existing-media {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.mpubs-book-cover-thumb-large {
  width: 112px;
  height: 168px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 22px rgba(16, 25, 36, 0.08);
}

.mpubs-book-cover-empty {
  min-height: 100%;
  gap: 14px;
}

.mpubs-book-cover-empty-icon {
  width: 74px;
  height: 74px;
  background: linear-gradient(180deg, rgba(185, 133, 47, 0.08) 0%, rgba(185, 133, 47, 0.16) 100%);
  font-size: 1.85rem;
}

.mpubs-book-cover-empty strong {
  color: #12284b;
  font-size: 1.05rem;
}

.mpubs-book-cover-empty small {
  max-width: 260px;
  color: #6b7a90;
  font-size: 0.95rem;
}

.mpubs-book-cover-size-note {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(185, 133, 47, 0.12);
  color: #8795ab;
  font-size: 0.82rem;
}

.mpubs-book-cover-input {
  border-radius: 18px !important;
  background: #fff !important;
  border-color: rgba(185, 133, 47, 0.16) !important;
}

.mpubs-book-cover-input::file-selector-button {
  height: 54px;
  margin-right: 16px;
  padding: 0 22px;
  border: 0;
  background: rgba(185, 133, 47, 0.08);
  color: #12284b;
  font-weight: 600;
  cursor: pointer;
}

.mpubs-book-upload-field {
  margin-top: 20px;
}

.mpubs-book-feature-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(185, 133, 47, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.mpubs-book-feature-card-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mpubs-book-feature-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(185, 133, 47, 0.1);
  color: #b9852f;
  font-size: 1rem;
}

.mpubs-book-feature-card-copy strong {
  display: block;
  color: #12284b;
  font-size: 0.95rem;
  font-weight: 600;
}

.mpubs-book-feature-card-copy small {
  display: block;
  margin-top: 2px;
  color: #6b7a90;
  font-size: 0.86rem;
  line-height: 1.55;
}

.mpubs-book-feature-card .custom-control {
  padding-left: 3rem;
}

.mpubs-book-feature-card .custom-control-label {
  color: #6b7a90;
}

.mpubs-book-editor-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mpubs-book-editor-actions .btn {
  min-height: 54px;
  border-radius: 18px;
  padding-inline: 22px;
}

.mpubs-book-editor-actions .mpubs-books-primary-action {
  min-width: 180px;
  box-shadow: 0 12px 26px rgba(18, 40, 75, 0.16);
}

.mpubs-book-editor-cancel {
  border-color: rgba(185, 133, 47, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.mpubs-book-files-shell {
  gap: 20px;
}

.mpubs-book-files-master-panel {
  border-radius: 28px;
  padding: 30px;
}

.mpubs-book-files-intro-copy h2 {
  font-size: clamp(2.35rem, 3vw, 3.75rem);
}

.mpubs-book-files-intro {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
}

.mpubs-book-files-table-panel {
  border-radius: 24px;
}

.mpubs-book-files-table-panel .mpubs-book-form-panel-head {
  margin-bottom: 14px;
}

@media (max-width: 1399.98px) {
  .mpubs-book-editor-grid {
    grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
  }
}

@media (max-width: 1199.98px) {
  .mpubs-book-editor-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-book-editor-grid {
    grid-template-columns: 1fr;
  }

  .mpubs-book-editor-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .mpubs-book-files-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .mpubs-book-editor-sidebar {
    grid-template-columns: 1fr;
  }

  .mpubs-book-editor-panel,
  .mpubs-book-files-master-panel {
    padding: 22px;
  }

  .mpubs-book-files-upload {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .mpubs-book-file-field,
  .mpubs-book-file-action,
  .mpubs-book-file-field-wide {
    padding-left: 0;
    padding-right: 0;
  }

  .mpubs-book-file-field-type::after {
    display: none;
  }

  .mpubs-book-file-action .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  .mpubs-book-editor-hero-copy h1 {
    font-size: 2.35rem;
  }

  .mpubs-book-editor-panel,
  .mpubs-book-files-master-panel,
  .mpubs-book-files-table-panel {
    border-radius: 20px;
    padding: 18px;
  }

  .mpubs-book-editor-panel-head {
    align-items: flex-start;
  }

  .mpubs-book-editor-panel-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .mpubs-book-cover-stage {
    min-height: 320px;
    padding: 16px;
  }

  .mpubs-book-feature-card,
  .mpubs-book-files-intro-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .mpubs-book-editor-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-book-editor-actions .btn {
    width: 100%;
  }

  .mpubs-book-files-divider-line {
    width: 100px;
  }
}

/* Preferred book editor layout */

.mpubs-book-editor-screen {
  background:
    radial-gradient(circle at top center, rgba(185, 133, 47, 0.08), transparent 34%),
    linear-gradient(180deg, #fffdf9 0%, #fffdfa 100%);
}

.mpubs-book-editor-screen::before {
  top: 0;
  right: 0;
  width: 360px;
  height: 190px;
  opacity: 0.32;
}

.mpubs-book-editor-screen::after {
  inset: 0;
  opacity: 0.32;
}

.mpubs-book-editor-hero {
  padding: 6px 2px 2px;
}

.mpubs-book-editor-hero-copy h1 {
  margin: 10px 0 14px;
  color: #162a4d;
  font-size: clamp(2.9rem, 3.7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.mpubs-book-editor-hero-copy p {
  max-width: 900px;
  color: #63748c;
  font-size: 1.02rem;
  line-height: 1.7;
}

.mpubs-book-editor-hero-notes {
  display: none;
}

.mpubs-book-editor-back {
  min-height: 50px;
  padding-inline: 22px;
  border-color: rgba(193, 155, 91, 0.18);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(16, 25, 36, 0.03);
}

.mpubs-book-editor-grid-preferred {
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.mpubs-book-editor-grid-preferred .mpubs-book-editor-main {
  display: block;
}

.mpubs-book-editor-panel-cover-preferred,
.mpubs-book-editor-panel-details-preferred {
  border-radius: 24px;
  border: 1px solid rgba(201, 166, 107, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 247, 0.96) 100%);
  box-shadow:
    0 14px 36px rgba(16, 25, 36, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.mpubs-book-editor-panel-head-line {
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.mpubs-book-editor-panel-head-copy {
  min-width: fit-content;
}

.mpubs-book-editor-head-line {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(193, 155, 91, 0.28), rgba(193, 155, 91, 0.08));
}

.mpubs-book-editor-panel-head-line .mpubs-admin-panel-kicker {
  margin: 0;
}

.mpubs-book-editor-panel-head-line h2 {
  display: none;
}

.mpubs-book-editor-panel-icon {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(193, 155, 91, 0.08) 0%, rgba(193, 155, 91, 0.14) 100%);
  font-size: 1rem;
}

.mpubs-book-editor-panel .form-label {
  color: #243a5d;
  font-size: 0.92rem;
  font-weight: 600;
}

.mpubs-book-editor-panel .form-control,
.mpubs-book-editor-panel .form-select {
  min-height: 50px;
  border-radius: 15px;
  border-color: rgba(193, 155, 91, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: #263b5d;
}

.mpubs-book-editor-panel textarea.form-control {
  min-height: 158px;
  border-radius: 16px;
}

.mpubs-book-editor-panel-cover-preferred .mpubs-book-cover-stage {
  min-height: 290px;
  border-style: dashed;
  border-width: 1px;
  border-radius: 20px;
  border-color: rgba(193, 155, 91, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 252, 247, 0.9) 100%);
}

.mpubs-book-editor-panel-cover-preferred .mpubs-book-cover-empty {
  gap: 12px;
}

.mpubs-book-editor-panel-cover-preferred .mpubs-book-cover-stage-preview:not(:has(#book-cover-crop-summary:not(.d-none))) + #book-cover-preview-empty {
  display: flex !important;
}

.mpubs-book-editor-panel-cover-preferred .mpubs-book-cover-empty-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(193, 155, 91, 0.14);
}

.mpubs-book-editor-panel-cover-preferred .mpubs-book-cover-empty strong {
  font-size: 0.98rem;
}

.mpubs-book-editor-panel-cover-preferred .mpubs-book-cover-empty small {
  max-width: 250px;
  font-size: 0.92rem;
}

.mpubs-book-editor-panel-cover-preferred .mpubs-book-cover-size-note {
  background: transparent;
  border: 0;
  padding: 0;
  color: #8493a9;
  font-size: 0.84rem;
}

.mpubs-book-cover-existing-card {
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(193, 155, 91, 0.12);
}

.mpubs-book-cover-existing-media {
  justify-content: flex-start;
}

.mpubs-book-cover-thumb-large {
  width: 86px;
  height: 118px;
  border-radius: 6px;
  box-shadow: 0 12px 22px rgba(16, 25, 36, 0.06);
}

.mpubs-book-upload-field-divider {
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(193, 155, 91, 0.12);
}

.mpubs-book-cover-input {
  border-radius: 14px !important;
}

.mpubs-book-cover-input::file-selector-button {
  height: 46px;
  padding: 0 18px;
  background: rgba(193, 155, 91, 0.08);
}

.mpubs-book-feature-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
}

.mpubs-book-feature-inline-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mpubs-book-feature-inline-text {
  color: #5e6f87;
  font-weight: 500;
}

.mpubs-book-feature-inline-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c28a2f;
  font-size: 1rem;
}

.mpubs-book-feature-inline .custom-control {
  margin-bottom: 0;
}

.mpubs-book-feature-inline .custom-control-label {
  min-height: 32px;
  min-width: 52px;
  padding-left: 0;
}

.mpubs-book-editor-actions-preferred {
  margin-top: 22px;
  justify-content: flex-start;
}

.mpubs-book-editor-actions-preferred .mpubs-books-primary-action {
  min-width: 160px;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(18, 40, 75, 0.12);
}

.mpubs-book-editor-actions-preferred .mpubs-book-editor-cancel {
  min-width: 108px;
  border-radius: 16px;
}

@media (max-width: 1199.98px) {
  .mpubs-book-editor-grid-preferred {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .mpubs-book-editor-hero-copy h1 {
    font-size: 2.45rem;
  }

  .mpubs-book-editor-panel-cover-preferred .mpubs-book-cover-stage {
    min-height: 250px;
  }

  .mpubs-book-editor-actions-preferred {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-book-editor-actions-preferred .btn {
    width: 100%;
  }
}

/* DashLite-first book editor */

.mpubs-book-dashlite-screen .nk-content-body {
  display: grid;
  gap: 1.5rem;
}

.mpubs-book-dashlite-screen .nk-block-head {
  margin-bottom: 0;
}

.mpubs-book-dashlite-screen .nk-block-title {
  color: #162a4d;
  letter-spacing: 0;
}

.mpubs-book-dashlite-screen .nk-block-des p {
  max-width: 760px;
}

.mpubs-book-dashlite-back {
  min-height: 46px;
  border-color: #e5e9f2;
  background: #fff;
}

.mpubs-book-card,
.mpubs-book-files-master-panel,
.mpubs-book-files-table-panel {
  border-color: #e5e9f2;
  box-shadow: 0 10px 30px rgba(16, 25, 36, 0.04);
}

.mpubs-book-card .card-inner,
.mpubs-book-files-master-panel .card-inner,
.mpubs-book-files-table-panel .card-inner {
  padding: 1.5rem;
}

.mpubs-book-card .card-title .title,
.mpubs-book-files-table-panel .card-title .title {
  color: #162a4d;
}

.mpubs-book-dashlite-screen .form-label {
  color: #334b6a;
  font-size: 0.875rem;
  font-weight: 600;
}

.mpubs-book-dashlite-screen .form-control,
.mpubs-book-dashlite-screen .form-select {
  min-height: 48px;
  border-radius: 12px;
  border-color: #dfe6f1;
  background: #fff;
}

.mpubs-book-dashlite-screen textarea.form-control {
  min-height: 160px;
  border-radius: 14px;
}

.mpubs-book-dashlite-screen .form-control:focus,
.mpubs-book-dashlite-screen .form-select:focus {
  border-color: rgba(185, 133, 47, 0.35);
  box-shadow: 0 0 0 0.2rem rgba(185, 133, 47, 0.1);
}

.mpubs-book-dashlite-screen .mpubs-book-cover-stage {
  min-height: 0;
  border: 1px dashed rgba(185, 133, 47, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fcfaf6 100%);
  padding: 14px;
}

.mpubs-book-dashlite-screen .mpubs-book-cover-empty-icon {
  width: 64px;
  height: 64px;
  background: rgba(185, 133, 47, 0.1);
  color: #b9852f;
}

.mpubs-book-dashlite-screen .mpubs-book-cover-empty strong {
  color: #162a4d;
}

.mpubs-book-dashlite-screen .mpubs-book-cover-empty small,
.mpubs-book-dashlite-screen .mpubs-book-cover-size-note,
.mpubs-book-dashlite-screen .text-soft {
  color: #8094ae !important;
}

.mpubs-book-dashlite-screen .mpubs-book-cover-existing-card {
  margin-top: 0;
  padding: 14px;
  border: 1px solid #edf2f9;
  border-radius: 16px;
  background: #fff;
}

.mpubs-book-dashlite-screen .mpubs-book-cover-thumb-large {
  width: 120px;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(16, 25, 36, 0.06);
}

.mpubs-book-dashlite-screen .mpubs-book-cover-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 1rem;
  align-items: start;
}

.mpubs-book-dashlite-screen .mpubs-book-cover-stage-preview {
  justify-items: start;
}

.mpubs-book-dashlite-screen .mpubs-book-cover-preview-large {
  width: min(100%, 210px);
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(16, 25, 36, 0.08);
}

.mpubs-book-dashlite-screen .mpubs-book-cover-empty {
  min-height: 190px;
  padding: 0.5rem;
}

.mpubs-book-dashlite-screen .mpubs-book-cover-empty strong {
  font-size: 0.95rem;
}

.mpubs-book-dashlite-screen .mpubs-book-cover-empty small {
  max-width: 220px;
  font-size: 0.9rem;
}

.mpubs-book-dashlite-screen .mpubs-book-cover-existing-media {
  justify-content: center;
}

.mpubs-book-dashlite-screen .mpubs-book-cover-input::file-selector-button,
.mpubs-book-dashlite-screen .mpubs-book-file-input::file-selector-button {
  height: 46px;
  margin-right: 14px;
  padding: 0 16px;
  border: 0;
  background: #f5f6fa;
  color: #364a63;
  font-weight: 600;
  cursor: pointer;
}

.mpubs-book-dashlite-screen .mpubs-book-feature-inline {
  padding: 0 4px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.mpubs-book-dashlite-screen .mpubs-book-feature-inline-icon {
  color: #b9852f;
}

.mpubs-book-dashlite-screen .mpubs-book-files-intro {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mpubs-book-dashlite-screen .mpubs-book-files-intro-copy h2 {
  margin: 0.35rem 0 0;
  color: #162a4d;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-book-dashlite-screen .mpubs-book-files-intro-note {
  border: 1px solid #edf2f9;
  border-radius: 16px;
  background: #fcfcfd;
  padding: 1rem 1.125rem;
}

.mpubs-book-dashlite-screen .mpubs-book-files-intro-icon {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 14px;
  background: rgba(185, 133, 47, 0.1);
  font-size: 1.05rem;
}

.mpubs-book-dashlite-screen .mpubs-book-files-upload {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mpubs-book-dashlite-screen .mpubs-book-file-field,
.mpubs-book-dashlite-screen .mpubs-book-file-field-wide,
.mpubs-book-dashlite-screen .mpubs-book-file-action {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.mpubs-book-dashlite-screen .mpubs-book-file-action-spacer {
  display: block;
  min-height: 0.875rem;
  margin-bottom: 0.375rem;
  visibility: hidden;
  user-select: none;
}

.mpubs-book-dashlite-screen .mpubs-book-file-field-type::after,
.mpubs-book-dashlite-screen .mpubs-book-files-divider {
  display: none;
}

.mpubs-book-dashlite-screen .mpubs-book-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
  border-radius: 12px !important;
  border-color: transparent !important;
  background: transparent !important;
  padding: 0;
  min-height: 54px;
  box-shadow: none;
}

.mpubs-book-dashlite-screen .mpubs-book-file-input::file-selector-button {
  opacity: 0;
  width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.mpubs-book-dashlite-screen .mpubs-book-file-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  border: 1px solid #dfe6f1;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.mpubs-book-dashlite-screen .mpubs-book-file-input-wrap:focus-within {
  border-color: rgba(185, 133, 47, 0.35);
  box-shadow: 0 0 0 0.2rem rgba(185, 133, 47, 0.1);
}

.mpubs-book-dashlite-screen .mpubs-book-file-input-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: stretch;
  padding: 0 1rem;
  border-right: 1px solid #e5e9f2;
  background: linear-gradient(180deg, #fbfcfe 0%, #f1f5fb 100%);
  color: #364a63;
  font-weight: 600;
  white-space: nowrap;
}

.mpubs-book-dashlite-screen .mpubs-book-file-input-button em {
  color: #b9852f;
}

.mpubs-book-dashlite-screen .mpubs-book-file-input-text {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 3.5rem 0 1rem;
  color: #526484;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mpubs-book-dashlite-screen .mpubs-book-file-input-icon {
  position: absolute;
  right: 18px;
  color: #c2c9d6;
  font-size: 1.5rem;
  opacity: 0.95;
  z-index: 1;
  pointer-events: none;
}

.mpubs-book-dashlite-screen .mpubs-book-file-action .btn {
  min-height: 48px;
  min-width: 150px;
  border-radius: 12px;
  padding-inline: 18px;
  box-shadow: none;
}

.mpubs-book-dashlite-screen .table thead th {
  color: #8094ae;
}

.mpubs-book-dashlite-screen .mpubs-book-files-existing {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #edf2f9;
}

.mpubs-book-confirm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 1rem;
  align-items: start;
}

.mpubs-book-confirm-section {
  border: 1px solid #edf2f9;
  border-radius: 12px;
  background: #fcfcfd;
  padding: 1rem;
}

.mpubs-book-confirm-section h6 {
  margin: 0 0 0.875rem;
  color: #162a4d;
  font-weight: 600;
}

.mpubs-book-confirm-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.mpubs-book-confirm-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.mpubs-book-confirm-list dt {
  color: #8094ae;
  font-size: 0.8rem;
  font-weight: 600;
}

.mpubs-book-confirm-list dd {
  margin: 0;
  min-width: 0;
  color: #334b6a;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.mpubs-book-confirm-description {
  margin: 0;
  color: #526484;
  line-height: 1.65;
  white-space: pre-wrap;
}

.mpubs-book-confirm-cover {
  margin-top: 1rem;
}

.mpubs-book-confirm-cover img {
  width: min(160px, 100%);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #edf2f9;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 25, 36, 0.06);
}

@media (max-width: 991.98px) {
  .mpubs-book-dashlite-screen .mpubs-book-files-upload {
    grid-template-columns: 1fr;
  }

  .mpubs-book-confirm-grid {
    grid-template-columns: 1fr;
  }

  .mpubs-book-confirm-list > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .mpubs-book-dashlite-screen .mpubs-book-file-action .btn {
    width: 100%;
  }

  .mpubs-book-dashlite-screen .mpubs-book-cover-compare {
    grid-template-columns: 1fr;
  }

  .mpubs-book-dashlite-screen .mpubs-book-cover-existing-media {
    justify-content: flex-start;
  }
}

/* Categories list */

.mpubs-categories-screen .nk-content-body {
  display: grid;
  gap: 1.5rem;
}

.mpubs-categories-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.mpubs-categories-hero-copy h1 {
  margin: 0.5rem 0 0.75rem;
  color: #162a4d;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-categories-hero-copy p {
  margin: 0;
  max-width: 760px;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.7;
}

.mpubs-categories-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.mpubs-categories-summary-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid #e5e9f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 25, 36, 0.04);
}

.mpubs-categories-summary-label {
  color: #8094ae;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mpubs-categories-summary-value {
  margin-top: 0.4rem;
  color: #162a4d;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-categories-summary-note {
  margin-top: 0.55rem;
  color: #8094ae;
  font-size: 0.88rem;
}

.mpubs-categories-list-shell {
  border: 1px solid #e5e9f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 25, 36, 0.04);
  overflow: hidden;
}

.mpubs-categories-toolbar {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #edf2f9;
}

.mpubs-categories-toolbar-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.mpubs-categories-toolbar-title-wrap h2 {
  margin: 0.35rem 0 0;
  color: #162a4d;
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 600;
}

.mpubs-categories-toolbar-meta {
  color: #8094ae;
  font-size: 0.92rem;
  white-space: nowrap;
}

.mpubs-categories-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
}

.mpubs-categories-filter .form-label {
  color: #55657d;
  font-size: 0.84rem;
  font-weight: 600;
}

.mpubs-categories-filter .form-control,
.mpubs-categories-filter .form-select {
  min-height: 46px;
  border-radius: 12px;
  border-color: #dfe6f1;
}

.mpubs-categories-table-wrap .table {
  margin-bottom: 0;
}

.mpubs-categories-table code {
  color: #7c8da6;
  font-size: 0.82rem;
  background: transparent;
  padding: 0;
}

@media (max-width: 1199.98px) {
  .mpubs-categories-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mpubs-categories-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-categories-summary-grid {
    grid-template-columns: 1fr;
  }

  .mpubs-categories-toolbar-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .mpubs-categories-toolbar-meta {
    white-space: normal;
  }

  .mpubs-categories-filters {
    grid-template-columns: 1fr;
  }
}

/* Category form */

.mpubs-category-form-screen .nk-content-body {
  display: grid;
  gap: 1.5rem;
}

.mpubs-category-form-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.mpubs-category-form-hero-copy h1 {
  margin: 0.45rem 0 0.75rem;
  color: #162a4d;
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-category-form-hero-copy p {
  margin: 0;
  max-width: 760px;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.7;
}

.mpubs-category-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
}

.mpubs-category-form-shell,
.mpubs-category-form-sidecard {
  border: 1px solid #e5e9f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 25, 36, 0.04);
}

.mpubs-category-form-shell {
  padding: 1.5rem;
}

.mpubs-category-form-shell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #edf2f9;
}

.mpubs-category-form-shell-head h2 {
  margin: 0.35rem 0 0;
  color: #162a4d;
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 600;
}

.mpubs-category-form-shell-head p {
  margin: 0;
  max-width: 360px;
  color: #8094ae;
  font-size: 0.92rem;
  line-height: 1.7;
}

.mpubs-category-form-shell .form-label {
  color: #55657d;
  font-size: 0.84rem;
  font-weight: 600;
}

.mpubs-category-form-shell .form-control,
.mpubs-category-form-shell .form-select {
  min-height: 48px;
  border-radius: 12px;
  border-color: #dfe6f1;
}

.mpubs-category-form-shell textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.mpubs-category-form-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid #edf2f9;
}

.mpubs-category-form-side {
  display: grid;
  gap: 1rem;
}

.mpubs-category-form-sidecard {
  padding: 1.35rem;
}

.mpubs-category-form-sidecard h3 {
  margin: 0.35rem 0 0.85rem;
  color: #162a4d;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 600;
}

.mpubs-category-form-notes {
  margin: 0;
  padding-left: 1.1rem;
  color: #6b7a90;
  display: grid;
  gap: 0.8rem;
}

.mpubs-category-form-notes li {
  line-height: 1.65;
}

.mpubs-category-form-metrics {
  display: grid;
  gap: 0.9rem;
}

.mpubs-category-form-metric {
  padding: 1rem 1rem 0.95rem;
  border: 1px solid #edf2f9;
  border-radius: 14px;
  background: #fafbfc;
}

.mpubs-category-form-metric-label {
  display: block;
  color: #8094ae;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mpubs-category-form-metric-value {
  display: block;
  margin-top: 0.45rem;
  color: #162a4d;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 600;
}

.mpubs-category-form-metric p {
  margin: 0.45rem 0 0;
  color: #8094ae;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 1199.98px) {
  .mpubs-category-form-layout {
    grid-template-columns: 1fr;
  }

  .mpubs-category-form-shell-head {
    flex-direction: column;
  }

  .mpubs-category-form-shell-head p {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .mpubs-category-form-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-category-form-hero-copy h1 {
    font-size: 1.8rem;
  }

  .mpubs-category-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Authors list */

.mpubs-authors-screen .nk-content-body {
  display: grid;
  gap: 1.5rem;
}

.mpubs-authors-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.mpubs-authors-hero-copy h1 {
  margin: 0.5rem 0 0.75rem;
  color: #162a4d;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-authors-hero-copy p {
  margin: 0;
  max-width: 760px;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.7;
}

.mpubs-authors-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.mpubs-authors-summary-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid #e5e9f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 25, 36, 0.04);
}

.mpubs-authors-summary-label {
  color: #8094ae;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mpubs-authors-summary-value {
  margin-top: 0.4rem;
  color: #162a4d;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-authors-summary-note {
  margin-top: 0.55rem;
  color: #8094ae;
  font-size: 0.88rem;
}

.mpubs-authors-list-shell {
  border: 1px solid #e5e9f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 25, 36, 0.04);
  overflow: hidden;
}

.mpubs-authors-toolbar {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #edf2f9;
}

.mpubs-authors-toolbar-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.mpubs-authors-toolbar-title-wrap h2 {
  margin: 0.35rem 0 0;
  color: #162a4d;
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 600;
}

.mpubs-authors-toolbar-meta {
  color: #8094ae;
  font-size: 0.92rem;
  white-space: nowrap;
}

.mpubs-authors-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
}

.mpubs-authors-filter .form-label {
  color: #55657d;
  font-size: 0.84rem;
  font-weight: 600;
}

.mpubs-authors-filter .form-control,
.mpubs-authors-filter .form-select {
  min-height: 46px;
  border-radius: 12px;
  border-color: #dfe6f1;
}

.mpubs-authors-table-wrap .table {
  margin-bottom: 0;
}

@media (max-width: 1199.98px) {
  .mpubs-authors-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mpubs-authors-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-authors-summary-grid {
    grid-template-columns: 1fr;
  }

  .mpubs-authors-toolbar-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .mpubs-authors-toolbar-meta {
    white-space: normal;
  }

  .mpubs-authors-filters {
    grid-template-columns: 1fr;
  }
}

/* Author form */

.mpubs-author-form-screen .nk-content-body {
  display: grid;
  gap: 1.5rem;
}

.mpubs-author-form-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.mpubs-author-form-hero-copy h1 {
  margin: 0.45rem 0 0.75rem;
  color: #162a4d;
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-author-form-hero-copy p {
  margin: 0;
  max-width: 760px;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.7;
}

.mpubs-author-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
}

.mpubs-author-form-shell,
.mpubs-author-form-sidecard {
  border: 1px solid #e5e9f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 25, 36, 0.04);
}

.mpubs-author-form-shell {
  padding: 1.5rem;
}

.mpubs-author-form-shell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #edf2f9;
}

.mpubs-author-form-shell-head h2 {
  margin: 0.35rem 0 0;
  color: #162a4d;
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 600;
}

.mpubs-author-form-shell-head p {
  margin: 0;
  max-width: 360px;
  color: #8094ae;
  font-size: 0.92rem;
  line-height: 1.7;
}

.mpubs-author-form-shell .form-label {
  color: #55657d;
  font-size: 0.84rem;
  font-weight: 600;
}

.mpubs-author-form-shell .form-control,
.mpubs-author-form-shell .form-select {
  min-height: 48px;
  border-radius: 12px;
  border-color: #dfe6f1;
}

.mpubs-author-form-shell textarea.form-control {
  min-height: 220px;
  resize: vertical;
}

.mpubs-author-form-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid #edf2f9;
}

.mpubs-author-form-side {
  display: grid;
  gap: 1rem;
}

.mpubs-author-form-sidecard {
  padding: 1.35rem;
}

.mpubs-author-form-sidecard h3 {
  margin: 0.35rem 0 0.85rem;
  color: #162a4d;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 600;
}

.mpubs-author-form-notes {
  margin: 0;
  padding-left: 1.1rem;
  color: #6b7a90;
  display: grid;
  gap: 0.8rem;
}

.mpubs-author-form-notes li {
  line-height: 1.65;
}

.mpubs-author-form-metrics {
  display: grid;
  gap: 0.9rem;
}

.mpubs-author-form-metric {
  padding: 1rem 1rem 0.95rem;
  border: 1px solid #edf2f9;
  border-radius: 14px;
  background: #fafbfc;
}

.mpubs-author-form-metric-label {
  display: block;
  color: #8094ae;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mpubs-author-form-metric-value {
  display: block;
  margin-top: 0.45rem;
  color: #162a4d;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 600;
}

.mpubs-author-form-metric p {
  margin: 0.45rem 0 0;
  color: #8094ae;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 1199.98px) {
  .mpubs-author-form-layout {
    grid-template-columns: 1fr;
  }

  .mpubs-author-form-shell-head {
    flex-direction: column;
  }

  .mpubs-author-form-shell-head p {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .mpubs-author-form-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-author-form-hero-copy h1 {
    font-size: 1.8rem;
  }

  .mpubs-author-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Notifications list */

.mpubs-notifications-screen .nk-content-body {
  display: grid;
  gap: 1.5rem;
}

.mpubs-notifications-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.mpubs-notifications-hero-copy h1 {
  margin: 0.5rem 0 0.75rem;
  color: #162a4d;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-notifications-hero-copy p {
  margin: 0;
  max-width: 760px;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.7;
}

.mpubs-notifications-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.mpubs-notifications-summary-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid #e5e9f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 25, 36, 0.04);
}

.mpubs-notifications-summary-label {
  color: #8094ae;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mpubs-notifications-summary-value {
  margin-top: 0.4rem;
  color: #162a4d;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-notifications-summary-note {
  margin-top: 0.55rem;
  color: #8094ae;
  font-size: 0.88rem;
}

.mpubs-notifications-list-shell {
  border: 1px solid #e5e9f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 25, 36, 0.04);
  overflow: hidden;
}

.mpubs-notifications-toolbar {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
  border-bottom: 1px solid #edf2f9;
}

.mpubs-notifications-toolbar-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.mpubs-notifications-toolbar-title-wrap h2 {
  margin: 0.35rem 0 0;
  color: #162a4d;
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 600;
}

.mpubs-notifications-toolbar-meta {
  color: #8094ae;
  font-size: 0.92rem;
  white-space: nowrap;
}

.mpubs-notifications-toolbar-note {
  color: #8094ae;
  font-size: 0.92rem;
  line-height: 1.7;
}

.mpubs-notifications-table-wrap .table {
  margin-bottom: 0;
}

@media (max-width: 1199.98px) {
  .mpubs-notifications-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mpubs-notifications-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-notifications-summary-grid {
    grid-template-columns: 1fr;
  }

  .mpubs-notifications-toolbar-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .mpubs-notifications-toolbar-meta {
    white-space: normal;
  }
}

/* Notification form */

.mpubs-notification-form-screen .nk-content-body {
  display: grid;
  gap: 1.5rem;
}

.mpubs-notification-form-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.mpubs-notification-form-hero-copy h1 {
  margin: 0.45rem 0 0.75rem;
  color: #162a4d;
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-notification-form-hero-copy p {
  margin: 0;
  max-width: 760px;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.7;
}

.mpubs-notification-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
}

.mpubs-notification-form-shell,
.mpubs-notification-form-sidecard {
  border: 1px solid #e5e9f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 25, 36, 0.04);
}

.mpubs-notification-form-shell {
  padding: 1.5rem;
}

.mpubs-notification-form-shell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #edf2f9;
}

.mpubs-notification-form-shell-head h2 {
  margin: 0.35rem 0 0;
  color: #162a4d;
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 600;
}

.mpubs-notification-form-shell-head p {
  margin: 0;
  max-width: 360px;
  color: #8094ae;
  font-size: 0.92rem;
  line-height: 1.7;
}

.mpubs-notification-form-shell .form-label {
  color: #55657d;
  font-size: 0.84rem;
  font-weight: 600;
}

.mpubs-notification-form-shell .form-control,
.mpubs-notification-form-shell .form-select {
  min-height: 48px;
  border-radius: 12px;
  border-color: #dfe6f1;
}

.mpubs-notification-form-shell textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

.mpubs-notification-form-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid #edf2f9;
}

.mpubs-notification-form-side {
  display: grid;
  gap: 1rem;
}

.mpubs-notification-form-sidecard {
  padding: 1.35rem;
}

.mpubs-notification-form-sidecard h3 {
  margin: 0.35rem 0 0.85rem;
  color: #162a4d;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 600;
}

.mpubs-notification-form-notes {
  margin: 0;
  padding-left: 1.1rem;
  color: #6b7a90;
  display: grid;
  gap: 0.8rem;
}

.mpubs-notification-form-notes li {
  line-height: 1.65;
}

.mpubs-notification-form-metrics {
  display: grid;
  gap: 0.9rem;
}

.mpubs-notification-form-metric {
  padding: 1rem 1rem 0.95rem;
  border: 1px solid #edf2f9;
  border-radius: 14px;
  background: #fafbfc;
}

.mpubs-notification-form-metric-label {
  display: block;
  color: #8094ae;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mpubs-notification-form-metric-value {
  display: block;
  margin-top: 0.45rem;
  color: #162a4d;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 600;
}

.mpubs-notification-form-metric p {
  margin: 0.45rem 0 0;
  color: #8094ae;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 1199.98px) {
  .mpubs-notification-form-layout {
    grid-template-columns: 1fr;
  }

  .mpubs-notification-form-shell-head {
    flex-direction: column;
  }

  .mpubs-notification-form-shell-head p {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .mpubs-notification-form-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-notification-form-hero-copy h1 {
    font-size: 1.8rem;
  }

  .mpubs-notification-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Customer login */

.mpubs-customer-login-screen {
  min-height: 100vh;
  padding: 32px;
  background:
    radial-gradient(circle at top left, rgba(214, 177, 100, 0.12), transparent 34%),
    linear-gradient(135deg, #f8f6f1 0%, #fbfaf7 45%, #f3f5f8 100%);
}

.mpubs-customer-login-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  border: 1px solid rgba(205, 213, 225, 0.7);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.09);
  backdrop-filter: blur(12px);
}

.mpubs-customer-login-panel {
  display: grid;
  align-content: center;
  gap: 1.8rem;
  padding: 56px 52px;
  background: rgba(255, 255, 255, 0.9);
}

.mpubs-customer-login-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #162a4d;
  text-decoration: none;
}

.mpubs-customer-login-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.mpubs-customer-login-wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mpubs-customer-login-copy h1 {
  margin: 0.45rem 0 0.85rem;
  color: #162a4d;
  font-size: 2.7rem;
  line-height: 0.98;
  font-weight: 600;
}

.mpubs-customer-login-copy p {
  margin: 0;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.8;
}

.mpubs-customer-login-form {
  display: grid;
  gap: 1rem;
}

.mpubs-customer-login-form .form-label {
  color: #55657d;
  font-size: 0.84rem;
  font-weight: 600;
}

.mpubs-customer-login-form .form-control {
  min-height: 54px;
  border-radius: 14px;
  border-color: #dfe6f1;
  background: rgba(255, 255, 255, 0.94);
}

.mpubs-customer-login-form .form-control:focus {
  border-color: #d1a648;
  box-shadow: 0 0 0 4px rgba(209, 166, 72, 0.12);
}

.mpubs-customer-login-actions {
  display: flex;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.mpubs-customer-login-actions .btn {
  min-width: 160px;
  border-radius: 14px;
}

.mpubs-customer-login-actions .btn-primary {
  background: linear-gradient(135deg, #162a4d 0%, #213d6c 100%);
  border-color: #162a4d;
}

.mpubs-customer-login-actions .btn-primary:hover,
.mpubs-customer-login-actions .btn-primary:focus {
  background: linear-gradient(135deg, #122340 0%, #1c335a 100%);
  border-color: #122340;
}

.mpubs-customer-login-note {
  color: #8094ae;
  font-size: 0.92rem;
}

.mpubs-customer-login-note a {
  color: #d1a648;
  font-weight: 600;
}

.mpubs-customer-login-hero {
  position: relative;
  display: grid;
  align-items: stretch;
  min-height: 100%;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, 0.06), rgba(10, 18, 32, 0.28)),
    url('/images/admin/admin-login-right.png') center center / cover no-repeat;
}

.mpubs-customer-login-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(214, 177, 100, 0.35);
  border-radius: 22px;
  pointer-events: none;
}

.mpubs-customer-login-hero-frame {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding: 46px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.1), rgba(8, 14, 26, 0.72));
}

.mpubs-customer-login-hero-content {
  max-width: 520px;
  color: #f6f2ea;
}

.mpubs-customer-login-hero-content h2 {
  margin: 0.5rem 0 0.9rem;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 600;
  color: #ffffff;
}

.mpubs-customer-login-hero-content p {
  margin: 0;
  color: rgba(241, 245, 249, 0.86);
  font-size: 1rem;
  line-height: 1.8;
}

.mpubs-customer-login-features {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.mpubs-customer-login-feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(214, 177, 100, 0.18);
  border-radius: 16px;
  background: rgba(9, 16, 29, 0.28);
  backdrop-filter: blur(8px);
}

.mpubs-customer-login-feature em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(214, 177, 100, 0.16);
  color: #ddb45e;
  font-size: 1.15rem;
}

.mpubs-customer-login-feature strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.mpubs-customer-login-feature span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(241, 245, 249, 0.76);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 1199.98px) {
  .mpubs-customer-login-shell {
    grid-template-columns: 1fr;
  }

  .mpubs-customer-login-hero {
    min-height: 520px;
  }
}

@media (max-width: 767.98px) {
  .mpubs-customer-login-screen {
    padding: 14px;
  }

  .mpubs-customer-login-shell {
    min-height: calc(100vh - 28px);
    border-radius: 22px;
  }

  .mpubs-customer-login-panel {
    padding: 28px 24px;
  }

  .mpubs-customer-login-copy h1 {
    font-size: 2.1rem;
  }

  .mpubs-customer-login-actions {
    flex-direction: column;
  }

  .mpubs-customer-login-actions .btn {
    width: 100%;
  }

  .mpubs-customer-login-hero {
    min-height: 460px;
    padding: 14px;
  }

  .mpubs-customer-login-hero-frame {
    padding: 26px 22px;
  }

  .mpubs-customer-login-hero-content h2 {
    font-size: 1.9rem;
  }
}

/* Customer register */

.mpubs-customer-register-screen {
  min-height: 100vh;
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(214, 177, 100, 0.12), transparent 34%),
    linear-gradient(135deg, #f7f6f1 0%, #faf9f5 45%, #f2f5f8 100%);
}

.mpubs-customer-register-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  border: 1px solid rgba(205, 213, 225, 0.7);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.09);
  backdrop-filter: blur(12px);
}

.mpubs-customer-register-panel {
  display: grid;
  align-content: center;
  gap: 1.8rem;
  padding: 52px;
  background: rgba(255, 255, 255, 0.92);
}

.mpubs-customer-register-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #162a4d;
  text-decoration: none;
}

.mpubs-customer-register-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.mpubs-customer-register-wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mpubs-customer-register-copy h1 {
  margin: 0.45rem 0 0.85rem;
  color: #162a4d;
  font-size: 2.6rem;
  line-height: 0.98;
  font-weight: 600;
}

.mpubs-customer-register-copy p {
  margin: 0;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.8;
}

.mpubs-customer-register-form {
  display: grid;
  gap: 1rem;
}

.mpubs-customer-register-form .form-label {
  color: #55657d;
  font-size: 0.84rem;
  font-weight: 600;
}

.mpubs-customer-register-form .form-control {
  min-height: 54px;
  border-radius: 14px;
  border-color: #dfe6f1;
  background: rgba(255, 255, 255, 0.94);
}

.mpubs-customer-register-form .form-control:focus {
  border-color: #d1a648;
  box-shadow: 0 0 0 4px rgba(209, 166, 72, 0.12);
}

.mpubs-customer-password-field {
  position: relative;
}

.mpubs-customer-password-field .form-control {
  padding-right: 54px;
}

.mpubs-customer-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #8094ae;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mpubs-customer-password-toggle:hover,
.mpubs-customer-password-toggle:focus {
  background: rgba(209, 166, 72, 0.12);
  color: #b98627;
  outline: none;
}

.mpubs-customer-password-guidance {
  margin-top: 0.55rem;
  color: #8094ae;
  font-size: 0.84rem;
  line-height: 1.6;
}

.mpubs-customer-password-strength {
  margin-top: 0.8rem;
}

.mpubs-customer-password-strength-track {
  height: 8px;
  border-radius: 999px;
  background: #edf2f9;
  overflow: hidden;
}

.mpubs-customer-password-strength-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: #cbd5e1;
  transition: width 0.22s ease, background-color 0.22s ease;
}

.mpubs-customer-password-strength-fill[data-strength-tone="weak"] {
  background: #e85347;
}

.mpubs-customer-password-strength-fill[data-strength-tone="fair"] {
  background: #f4b740;
}

.mpubs-customer-password-strength-fill[data-strength-tone="good"] {
  background: #09c2de;
}

.mpubs-customer-password-strength-fill[data-strength-tone="strong"] {
  background: #1ee0ac;
}

.mpubs-customer-password-strength-fill[data-strength-tone="muted"] {
  background: #d8dee9;
}

.mpubs-customer-password-strength-text {
  margin-top: 0.55rem;
  color: #6b7a90;
  font-size: 0.84rem;
  line-height: 1.5;
}

.mpubs-customer-register-actions {
  display: flex;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.mpubs-customer-register-actions .btn {
  min-width: 160px;
  border-radius: 14px;
}

.mpubs-customer-register-actions .btn-primary {
  background: linear-gradient(135deg, #162a4d 0%, #213d6c 100%);
  border-color: #162a4d;
}

.mpubs-customer-register-actions .btn-primary:hover,
.mpubs-customer-register-actions .btn-primary:focus {
  background: linear-gradient(135deg, #122340 0%, #1c335a 100%);
  border-color: #122340;
}

.mpubs-customer-register-note {
  color: #8094ae;
  font-size: 0.92rem;
}

.mpubs-customer-register-note a {
  color: #d1a648;
  font-weight: 600;
}

.mpubs-customer-register-hero {
  position: relative;
  display: grid;
  align-items: stretch;
  min-height: 100%;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, 0.08), rgba(10, 18, 32, 0.3)),
    url('/images/admin/admin-login-right.png') center center / cover no-repeat;
}

.mpubs-customer-register-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(214, 177, 100, 0.35);
  border-radius: 22px;
  pointer-events: none;
}

.mpubs-customer-register-hero-frame {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding: 46px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.1), rgba(8, 14, 26, 0.72));
}

.mpubs-customer-register-hero-content {
  max-width: 540px;
  color: #f6f2ea;
}

.mpubs-customer-register-hero-content h2 {
  margin: 0.5rem 0 0.9rem;
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 600;
  color: #ffffff;
}

.mpubs-customer-register-hero-content p {
  margin: 0;
  color: rgba(241, 245, 249, 0.86);
  font-size: 1rem;
  line-height: 1.8;
}

.mpubs-customer-register-features {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.mpubs-customer-register-feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(214, 177, 100, 0.18);
  border-radius: 16px;
  background: rgba(9, 16, 29, 0.28);
  backdrop-filter: blur(8px);
}

.mpubs-customer-register-feature em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(214, 177, 100, 0.16);
  color: #ddb45e;
  font-size: 1.15rem;
}

.mpubs-customer-register-feature strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.mpubs-customer-register-feature span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(241, 245, 249, 0.76);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 1199.98px) {
  .mpubs-customer-register-shell {
    grid-template-columns: 1fr;
  }

  .mpubs-customer-register-hero {
    min-height: 520px;
  }
}

@media (max-width: 767.98px) {
  .mpubs-customer-register-screen {
    padding: 14px;
  }

  .mpubs-customer-register-shell {
    min-height: calc(100vh - 28px);
    border-radius: 22px;
  }

  .mpubs-customer-register-panel {
    padding: 28px 24px;
  }

  .mpubs-customer-register-copy h1 {
    font-size: 2.05rem;
  }

  .mpubs-customer-register-actions {
    flex-direction: column;
  }

  .mpubs-customer-register-actions .btn {
    width: 100%;
  }

  .mpubs-customer-register-hero {
    min-height: 460px;
    padding: 14px;
  }

  .mpubs-customer-register-hero-frame {
    padding: 26px 22px;
  }

  .mpubs-customer-register-hero-content h2 {
    font-size: 1.9rem;
  }
}

/* Customer dashboard */

.mpubs-customer-dashboard-screen .nk-content-body {
  display: grid;
  gap: 1.5rem;
}

.mpubs-customer-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.mpubs-customer-dashboard-hero-copy,
.mpubs-customer-dashboard-profile,
.mpubs-customer-dashboard-statusband,
.mpubs-customer-dashboard-summary-card,
.mpubs-customer-dashboard-maincard,
.mpubs-customer-dashboard-card {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 16px;
}

.mpubs-customer-dashboard-hero-copy {
  padding: 34px 36px;
  background:
    radial-gradient(circle at top left, rgba(209, 166, 72, 0.13), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: 0 18px 42px rgba(16, 25, 36, 0.06);
}

.mpubs-customer-dashboard-hero-copy h1 {
  margin: 0.55rem 0 0.95rem;
  color: #162a4d;
  font-size: 2.35rem;
  line-height: 0.98;
  font-weight: 600;
}

.mpubs-customer-dashboard-hero-copy p {
  margin: 0;
  max-width: 720px;
  color: #6b7a90;
  font-size: 1rem;
  line-height: 1.8;
}

.mpubs-customer-dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.mpubs-customer-dashboard-hero-side {
  display: grid;
  gap: 14px;
}

.mpubs-customer-dashboard-profile {
  padding: 24px;
  box-shadow: 0 16px 40px rgba(16, 25, 36, 0.05);
}

.mpubs-customer-dashboard-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b9852f;
}

.mpubs-customer-dashboard-profile-name {
  margin-top: 0.9rem;
  color: #162a4d;
  font-size: 1.28rem;
  line-height: 1.2;
  font-weight: 600;
}

.mpubs-customer-dashboard-profile-email {
  margin-top: 0.35rem;
  color: #8094ae;
  font-size: 0.94rem;
  word-break: break-word;
}

.mpubs-customer-dashboard-statusband {
  padding: 18px 20px;
  display: grid;
  gap: 0.9rem;
  background:
    linear-gradient(180deg, rgba(22, 42, 77, 0.02), rgba(22, 42, 77, 0.04)),
    #fff;
}

.mpubs-customer-dashboard-statusitem strong,
.mpubs-customer-dashboard-summary-title {
  display: block;
  color: #162a4d;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
}

.mpubs-customer-dashboard-statusitem span,
.mpubs-customer-dashboard-summary-card p,
.mpubs-customer-dashboard-card-copy {
  display: block;
  margin-top: 0.25rem;
  color: #6b7a90;
  font-size: 0.9rem;
  line-height: 1.65;
}

.mpubs-customer-dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mpubs-customer-dashboard-summary-card {
  padding: 20px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  box-shadow: 0 12px 32px rgba(16, 25, 36, 0.04);
}

.mpubs-customer-dashboard-summary-card p {
  margin-bottom: 0;
}

.mpubs-customer-dashboard-summary-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(185, 133, 47, 0.1);
  color: #b9852f;
  font-size: 1.1rem;
}

.mpubs-customer-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: 18px;
}

.mpubs-customer-dashboard-maincard,
.mpubs-customer-dashboard-card {
  padding: 24px;
  box-shadow: 0 12px 32px rgba(16, 25, 36, 0.04);
}

.mpubs-customer-dashboard-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mpubs-customer-dashboard-card-head h2 {
  margin: 0.35rem 0 0;
  color: #162a4d;
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 600;
}

.mpubs-customer-dashboard-card-copy {
  margin: 0 0 1.2rem;
}

.mpubs-customer-dashboard-stack {
  display: grid;
  gap: 18px;
}

.mpubs-customer-dashboard-feed .border-bottom:last-child {
  border-bottom: 0 !important;
}

.mpubs-customer-dashboard-feed .fw-medium a {
  color: #162a4d;
}

.mpubs-customer-dashboard-feed .fw-medium a:hover {
  color: #b9852f;
}

.mpubs-customer-dashboard-feed {
  display: grid;
  gap: 0.95rem;
}

.mpubs-customer-activity-empty {
  padding: 1.15rem 1rem;
  border: 1px dashed #d7dfeb;
  border-radius: 16px;
  color: #8094ae;
  font-size: 0.94rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.mpubs-customer-activity-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border: 1px solid #e5e9f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.mpubs-customer-activity-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(185, 133, 47, 0.1);
  color: #b9852f;
  font-size: 1rem;
}

.mpubs-customer-activity-main {
  min-width: 0;
}

.mpubs-customer-activity-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.mpubs-customer-activity-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(185, 133, 47, 0.1);
  color: #b9852f;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mpubs-customer-activity-time {
  color: #8094ae;
  font-size: 0.82rem;
}

.mpubs-customer-activity-title {
  margin: 0.65rem 0 0;
  color: #162a4d;
  font-size: 1.04rem;
  line-height: 1.3;
  font-weight: 600;
}

.mpubs-customer-activity-title-link {
  color: inherit;
}

a.mpubs-customer-activity-title-link:hover {
  color: #b9852f;
}

.mpubs-customer-activity-copy {
  margin: 0.35rem 0 0;
  color: #6b7a90;
  font-size: 0.92rem;
  line-height: 1.6;
}

.mpubs-customer-notification-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid #e5e9f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.mpubs-customer-notification-card.is-unread {
  border-color: rgba(95, 142, 243, 0.28);
  box-shadow: inset 3px 0 0 #5f8ef3;
}

.mpubs-customer-notification-main {
  min-width: 0;
}

.mpubs-customer-notification-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mpubs-customer-notification-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(95, 142, 243, 0.1);
  color: #4b7de8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mpubs-customer-notification-time {
  color: #8094ae;
  font-size: 0.82rem;
}

.mpubs-customer-notification-title {
  margin: 0.7rem 0 0;
  color: #162a4d;
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 600;
}

.mpubs-customer-notification-message {
  margin: 0.45rem 0 0;
  color: #6b7a90;
  font-size: 0.94rem;
  line-height: 1.7;
}

.mpubs-customer-notification-linkwrap {
  margin-top: 0.7rem;
}

.mpubs-customer-notification-link {
  color: #4b7de8;
  font-size: 0.9rem;
  font-weight: 600;
}

.mpubs-customer-notification-actions {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  flex-wrap: wrap;
}

@media (max-width: 767.98px) {
  .mpubs-customer-activity-item {
    grid-template-columns: 1fr;
  }

  .mpubs-customer-notification-card {
    grid-template-columns: 1fr;
  }

  .mpubs-customer-notification-actions {
    justify-content: flex-start;
  }
}

/* Customer book detail */

.mpubs-customer-book-detail-screen .nk-content-body {
  display: grid;
  gap: 1.5rem;
}

.mpubs-customer-book-detail-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.8rem 1.9rem;
  border: 1px solid #e5e9f2;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(209, 166, 72, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: 0 16px 38px rgba(16, 25, 36, 0.05);
}

.mpubs-customer-book-detail-hero-copy h1 {
  margin: 0.45rem 0 0.8rem;
  color: #162a4d;
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 600;
}

.mpubs-customer-book-detail-hero-copy p {
  margin: 0;
  max-width: 760px;
  color: #6b7a90;
  font-size: 0.98rem;
  line-height: 1.8;
}

.mpubs-customer-book-detail-card {
  display: grid;
  gap: 1.35rem;
}

.mpubs-customer-book-detail-layout,
.mpubs-customer-book-files-card {
  border: 1px solid #e5e9f2;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 14px 34px rgba(16, 25, 36, 0.04);
}

.mpubs-customer-book-detail-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.5rem;
}

.mpubs-customer-book-detail-side {
  display: grid;
  gap: 1rem;
}

.mpubs-customer-book-detail-coverwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid #edf2f8;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
}

.mpubs-customer-book-detail-cover {
  width: min(100%, 260px);
  max-width: 260px;
  aspect-ratio: 3 / 4.25;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(16, 25, 36, 0.12);
}

.mpubs-customer-book-detail-sidecard {
  padding: 1rem 1.05rem;
  border: 1px solid #edf2f8;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.75);
}

.mpubs-customer-book-detail-sidecard h3 {
  margin: 0.4rem 0 0;
  color: #162a4d;
  font-size: 1rem;
  font-weight: 600;
}

.mpubs-customer-book-detail-sidecard p,
.mpubs-customer-book-files-head p,
.mpubs-customer-book-files-empty {
  margin: 0.45rem 0 0;
  color: #6b7a90;
  font-size: 0.92rem;
  line-height: 1.7;
}

.mpubs-customer-book-detail-main {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.mpubs-customer-book-detail-head h2 {
  margin: 0;
  color: #162a4d;
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 600;
}

.mpubs-customer-book-detail-featured {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  background: rgba(185, 133, 47, 0.12);
  color: #b9852f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mpubs-customer-book-detail-subtitle {
  margin: 0.7rem 0 0;
  color: #8094ae;
  font-size: 1.02rem;
  line-height: 1.6;
}

.mpubs-customer-book-detail-description {
  color: #526484;
  font-size: 0.98rem;
  line-height: 1.9;
}

.mpubs-customer-book-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.mpubs-customer-book-meta-item {
  padding: 0.95rem 1rem;
  border: 1px solid #edf2f8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.mpubs-customer-book-meta-label {
  display: block;
  color: #8094ae;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mpubs-customer-book-meta-value {
  display: block;
  margin-top: 0.45rem;
  color: #162a4d;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.mpubs-customer-book-files-card {
  padding: 1.35rem 1.4rem;
}

.mpubs-customer-book-files-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mpubs-customer-book-files-head h2 {
  margin: 0.35rem 0 0;
  color: #162a4d;
  font-size: 1.28rem;
  font-weight: 600;
}

.mpubs-customer-book-files-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(75, 125, 232, 0.08);
  color: #4b7de8;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.mpubs-customer-book-files-grid {
  display: grid;
  gap: 0.9rem;
}

.mpubs-customer-book-file-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border: 1px solid #edf2f8;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 252, 255, 0.98) 100%);
}

.mpubs-customer-book-file-itemhead {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.mpubs-customer-book-file-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(75, 125, 232, 0.1);
  color: #4b7de8;
  font-size: 1rem;
}

.mpubs-customer-book-file-copy {
  min-width: 0;
}

.mpubs-customer-book-file-topline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.mpubs-customer-book-file-type {
  color: #162a4d;
  font-size: 1rem;
  font-weight: 700;
}

.mpubs-customer-book-file-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  background: rgba(185, 133, 47, 0.1);
  color: #b9852f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mpubs-customer-book-file-meta {
  margin-top: 0.28rem;
  color: #526484;
  font-size: 0.88rem;
  font-weight: 600;
}

.mpubs-customer-book-file-submeta {
  margin-top: 0.18rem;
  color: #8094ae;
  font-size: 0.8rem;
}

.mpubs-customer-book-file-action {
  min-width: 146px;
  justify-content: center;
}

.mpubs-customer-book-files-empty {
  padding: 1rem 1.05rem;
  border: 1px dashed #d7dfeb;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.mpubs-policy-admin-screen .nk-content-body {
  padding: 8px 0 40px;
}

.mpubs-policy-admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 24px;
  padding: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #12284a 0%, #24534c 100%);
  color: #fff;
  box-shadow: 0 20px 45px rgba(20, 40, 74, 0.14);
}

.mpubs-policy-admin-hero-copy h1 {
  margin: 0.25rem 0 0;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
}

.mpubs-policy-admin-hero-copy p {
  max-width: 680px;
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

.mpubs-policy-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.mpubs-policy-admin-shell,
.mpubs-policy-admin-sidecard {
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 25, 40, 0.06);
}

.mpubs-policy-admin-shell {
  padding: 24px;
}

.mpubs-policy-admin-shell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf2f8;
}

.mpubs-policy-admin-shell-head h2,
.mpubs-policy-admin-sidecard h3 {
  margin: 0.25rem 0 0;
  color: #162a4d;
  font-weight: 600;
}

.mpubs-policy-admin-shell-head p,
.mpubs-policy-admin-sidecard p {
  margin: 0.4rem 0 0;
  color: #8094ae;
  line-height: 1.6;
}

.mpubs-policy-admin-shell .form-label {
  color: #526484;
  font-weight: 700;
}

.mpubs-policy-admin-shell .form-control {
  border-color: #dfe6f1;
  border-radius: 8px;
}

.mpubs-policy-admin-shell textarea.form-control {
  min-height: 420px;
  resize: vertical;
  line-height: 1.7;
}

.mpubs-policy-admin-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 20px;
}

.mpubs-policy-admin-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.mpubs-policy-admin-sidecard {
  padding: 20px;
}

.mpubs-policy-admin-meta {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background: #f8fafc;
}

.mpubs-policy-admin-meta span {
  color: #8094ae;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mpubs-policy-admin-meta strong {
  color: #162a4d;
  font-size: 0.95rem;
}

@media (max-width: 991.98px) {
  .mpubs-policy-admin-layout {
    grid-template-columns: 1fr;
  }

  .mpubs-policy-admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .mpubs-policy-admin-hero,
  .mpubs-policy-admin-shell,
  .mpubs-policy-admin-sidecard {
    border-radius: 8px;
  }

  .mpubs-policy-admin-hero,
  .mpubs-policy-admin-shell {
    padding: 20px;
  }

  .mpubs-policy-admin-shell-head {
    display: block;
  }
}

@media (max-width: 1199.98px) {
  .mpubs-customer-book-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .mpubs-customer-book-detail-hero {
    flex-direction: column;
    padding: 1.4rem 1.25rem;
    border-radius: 14px;
  }

  .mpubs-customer-book-detail-hero-copy h1 {
    font-size: 1.8rem;
  }

  .mpubs-customer-book-detail-layout,
  .mpubs-customer-book-files-card {
    padding: 1.1rem;
    border-radius: 14px;
  }

  .mpubs-customer-book-meta-grid {
    grid-template-columns: 1fr;
  }

  .mpubs-customer-book-files-head {
    flex-direction: column;
    align-items: stretch;
  }

  .mpubs-customer-book-file-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1199.98px) {
  .mpubs-customer-dashboard-hero,
  .mpubs-customer-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .mpubs-customer-dashboard-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .mpubs-customer-dashboard-hero-copy,
  .mpubs-customer-dashboard-profile,
  .mpubs-customer-dashboard-statusband,
  .mpubs-customer-dashboard-summary-card,
  .mpubs-customer-dashboard-maincard,
  .mpubs-customer-dashboard-card {
    border-radius: 12px;
  }

  .mpubs-customer-dashboard-hero-copy {
    padding: 24px 22px;
  }

  .mpubs-customer-dashboard-hero-copy h1 {
    font-size: 1.85rem;
  }

  .mpubs-customer-dashboard-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.mpubs-deletion-admin-hero {
  align-items: center;
  background: linear-gradient(135deg, #173c31 0%, #235949 100%);
  border-radius: 8px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 1.75rem;
}

.mpubs-deletion-admin-hero h1 {
  color: #fff;
  font-size: 2rem;
  margin: 0.25rem 0 0.5rem;
}

.mpubs-deletion-admin-hero p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 720px;
}

.mpubs-deletion-admin-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}

.mpubs-deletion-admin-summary-card,
.mpubs-deletion-admin-list-shell {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(16, 25, 36, 0.05);
}

.mpubs-deletion-admin-summary-card {
  padding: 1.15rem;
}

.mpubs-deletion-admin-summary-label,
.mpubs-deletion-admin-summary-note {
  color: #8094ae;
  font-size: 0.82rem;
}

.mpubs-deletion-admin-summary-value {
  color: #173c31;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0.45rem 0;
}

.mpubs-deletion-admin-toolbar {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem;
}

.mpubs-deletion-admin-toolbar h2 {
  margin-bottom: 0;
}

.mpubs-deletion-admin-toolbar-meta {
  color: #8094ae;
  margin-top: 0.25rem;
}

.mpubs-deletion-admin-filters {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.6fr);
  min-width: min(560px, 100%);
}

.mpubs-deletion-admin-table-wrap {
  border-top: 1px solid #edf2f8;
}

.mpubs-deletion-admin-table {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .mpubs-deletion-admin-hero,
  .mpubs-deletion-admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .mpubs-deletion-admin-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mpubs-deletion-admin-filters {
    min-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .mpubs-deletion-admin-summary-grid,
  .mpubs-deletion-admin-filters {
    grid-template-columns: 1fr;
  }

  .mpubs-deletion-admin-hero {
    padding: 1.25rem;
  }

  .mpubs-deletion-admin-hero h1 {
    font-size: 1.5rem;
  }
}
