:root {
  --saas-bg: #eff3f8;
  --saas-sidebar: #1f2a40;
  --saas-sidebar-2: #182238;
  --saas-line: #dbe3ef;
  --saas-text: #1c2940;
  --saas-muted: #6f7f9b;
  --saas-accent: #3b82f6;
  --saas-good: #12b886;
  --saas-bad: #fa5252;
}

html {
  background: var(--saas-bg);
}

body.saas-body {
  margin: 0;
  background: var(--saas-bg);
  color: var(--saas-text);
  overflow: hidden;
}

.saas-shell {
  height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: var(--saas-bg);
}

.saas-sidebar {
  background: linear-gradient(180deg, var(--saas-sidebar) 0%, var(--saas-sidebar-2) 100%);
  color: #c5d0e3;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
  padding: 1.1rem 0.85rem;
}

.saas-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.saas-sidebar-head .saas-brand {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
}

.saas-sidebar-head .saas-sidebar-toggle {
  margin: 0;
}

.saas-brand {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 0.5rem;
}

.saas-brand-logo {
  padding: 0.55rem 0.7rem;
}

.saas-brand-image {
  display: block;
  width: 100%;
  max-width: 154px;
  height: auto;
  object-fit: contain;
}

.saas-sidebar-toggle {
  border-radius: 0.6rem;
  border-color: rgba(255, 255, 255, 0.22);
  margin: 0 0 0.9rem 0.7rem;
}

.saas-sidebar-toggle:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.saas-group {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7f91af;
  margin: 0.95rem 0.5rem 0.45rem;
}

.saas-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #c8d4e8;
  text-decoration: none;
  font-size: 0.87rem;
  border-radius: 0.55rem;
  padding: 0.55rem 0.65rem;
  margin: 0.16rem 0;
}

@media (min-width: 992px) {
  body.saas-sidebar-collapsed .saas-shell {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  body.saas-sidebar-collapsed .saas-sidebar {
    padding: 0.8rem 0.4rem;
  }

  body.saas-sidebar-collapsed .saas-sidebar-head {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
  }

  body.saas-sidebar-collapsed .saas-group {
    display: none;
  }

  body.saas-sidebar-collapsed .saas-link {
    justify-content: center;
    gap: 0;
    padding-left: 0;
    padding-right: 0;
    margin: 0.08rem 0;
  }

  body.saas-sidebar-collapsed .saas-link-label {
    display: none;
  }

  body.saas-sidebar-collapsed .saas-brand {
    justify-content: center;
    gap: 0;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }

  body.saas-sidebar-collapsed .saas-brand-image {
    max-width: 56px;
  }

  body.saas-sidebar-collapsed .saas-sidebar-toggle {
    margin: 0;
    align-self: center;
  }

  body.saas-sidebar-collapsed .saas-brand-label {
    display: none;
  }
}

.saas-link:hover,
.saas-link.is-active {
  color: #fff;
  background: rgba(89, 139, 255, 0.24);
}

.saas-main {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  background: var(--saas-bg);
}

.saas-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--saas-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: 1rem;
}

.saas-search {
  max-width: 360px;
  width: 100%;
  position: relative;
}

.saas-search .form-control {
  border-radius: 0.7rem;
  border-color: var(--saas-line);
  padding-left: 2rem;
  font-size: 0.88rem;
}

.saas-search i {
  position: absolute;
  top: 50%;
  left: 0.7rem;
  transform: translateY(-50%);
  color: #97a7c0;
  font-size: 0.86rem;
}

.saas-content {
  overflow-y: auto;
  padding: 1.15rem;
  background: var(--saas-bg);
  min-height: 100vh;
}

.admin-saas-page .saas-content {
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 24%),
    linear-gradient(180deg, #eef3f9 0%, #f7faff 100%);
}

.saas-card,
.saas-tile {
  border: 1px solid var(--saas-line);
  border-radius: 0.85rem;
  background: #fff;
}

.saas-card {
  padding: 0.95rem;
  height: 100%;
}

.admin-saas-page .saas-card {
  border-color: #d9e4f0;
  box-shadow: 0 18px 40px rgba(28, 41, 64, 0.08);
  background: #fff;
}

.saas-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.saas-panel-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #263a5b;
}

.admin-saas-page h1,
.admin-saas-page h2,
.admin-saas-page .saas-panel-title,
.admin-saas-page .saas-stat-title,
.admin-saas-page .saas-stat-value,
.admin-saas-page .admin-quick-action strong {
  color: #24324a;
}

.admin-saas-page .saas-muted,
.admin-saas-page .saas-card small,
.admin-saas-page .admin-quick-action small {
  color: #71829b;
}

.admin-metric-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.admin-saas-page .admin-metric-row > [class*="col-"] {
  flex: 1 1 0;
  max-width: 100%;
}

.saas-tile {
  padding: 0.8rem;
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.saas-tile:hover {
  border-color: #b9c9e3;
}

.saas-tile small {
  color: var(--saas-muted);
  display: block;
  margin-top: 0.18rem;
}

.admin-quick-actions-card {
  padding: 16px;
}

.admin-quick-actions-list {
  display: grid;
  gap: 10px;
}

.admin-quick-action {
  display: grid;
  gap: 4px;
  text-decoration: none;
  color: #24324a;
  background: #fff;
  border: 1px solid #d9e4f0;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 28px rgba(28, 41, 64, 0.05);
}

.admin-quick-action:hover {
  border-color: #bfd0e4;
  background: #f8fbff;
}

.saas-muted {
  color: var(--saas-muted);
}

.builder-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--saas-line);
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.75rem;
  display: block;
  color: var(--saas-text);
}

.builder-item:hover {
  border-color: #b9c9e3;
  background: #f8fbff;
}

.builder-item.is-active {
  border-color: rgba(59, 130, 246, 0.55);
  background: rgba(59, 130, 246, 0.06);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.12);
}

.builder-item.is-drag-over {
  border-color: rgba(59, 130, 246, 0.75);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.18);
}

.builder-drag {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--saas-muted);
  cursor: grab;
  user-select: none;
  line-height: 1;
  font-size: 14px;
  margin-top: 2px;
}

.builder-item.is-dragging .builder-drag {
  cursor: grabbing;
}

.builder-item:hover .builder-drag {
  background: rgba(15, 25, 45, 0.06);
  color: var(--saas-text);
}

.builder-pill {
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  border: 1px solid var(--saas-line);
  color: var(--saas-muted);
}

.builder-pill.is-on {
  border-color: rgba(18, 184, 134, 0.35);
  color: #0f9f74;
  background: rgba(18, 184, 134, 0.08);
}

.builder-pill.is-off {
  border-color: rgba(250, 82, 82, 0.28);
  color: #d63333;
  background: rgba(250, 82, 82, 0.06);
}

.builder-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 22px;
  padding: 0;
  line-height: 1;
}

.builder-delete i {
  font-size: 0.85rem;
}

.saas-preview-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1060;
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 16px 40px rgba(15, 25, 45, 0.22);
}

.saas-preview-pop {
  position: fixed;
  right: 18px;
  bottom: 78px;
  z-index: 1060;
  width: 520px;
  max-width: calc(100vw - 36px);
  height: 640px;
  max-height: calc(100vh - 120px);
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: none;
}

.saas-preview-pop.is-open {
  display: block;
}

.saas-preview-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.22);
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
  line-height: 1;
  font-size: 1.35rem;
  display: grid;
  place-items: center;
  z-index: 2;
}

.saas-preview-close:hover {
  background: #ffffff;
}

.saas-phone-wrap {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
}

.saas-phone-iframe {
  width: 400px;
  height: 720px;
  max-height: 100%;
  border: 0;
  border-radius: 34px;
  background: #ffffff;
  position: relative;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.25);
}

@media (max-width: 420px) {
  .saas-preview-pop { right: 12px; bottom: 72px; padding: 12px; }
  .saas-phone-iframe { width: 300px; }
}

@media (max-width: 991.98px) {
  body.saas-body { overflow: auto; }
  .saas-shell {
    min-width: 1024px;
  }
}

.saas-mobile-menu-toggle {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1030;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  display: none;
  align-items: center;
  justify-content: center;
}

.saas-mobile-menu-toggle:hover {
  background: #ffffff;
}

@media (max-width: 991.98px) {
  .saas-mobile-menu-toggle { display: none; }
}

.push-admin-page .push-admin-card {
  padding: 0.9rem 1rem;
}

.push-admin-page .push-stats-shell {
  border: 1px solid #d9e4f0;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
  padding: 0.75rem 0.9rem;
  color: #32435f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 0.93rem;
}

.push-admin-page .push-stats-shell strong {
  color: #24324a;
}

.push-admin-page .push-form {
  display: grid;
  gap: 0.8rem;
}

.push-admin-page .push-field {
  display: grid;
  gap: 0.3rem;
}

.push-admin-page .push-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

@media (max-width: 767.98px) {
  .push-admin-page .push-grid {
    grid-template-columns: 1fr;
  }
}

.push-admin-page .saas-input {
  border-color: #d8e1ef;
  border-radius: 0.82rem;
  min-height: 42px;
  box-shadow: none;
}

.push-admin-page .push-textarea {
  min-height: 92px;
}

.push-admin-page .saas-input:focus {
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 0 0 0.18rem rgba(59, 130, 246, 0.12);
}

.push-admin-page .push-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0;
}

.push-admin-page .push-actions .btn-primary {
  min-width: 150px;
  border-radius: 0.82rem;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

/* Push composer */
.push-admin-page .push-workspace { width: 100%; max-width: none; padding: 1.5rem clamp(1rem, 2vw, 2rem) 2.5rem; }
.push-admin-page .push-page-head { align-items: flex-start; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 1.15rem; }
.push-admin-page .push-page-head h1 { color: #17233a; font-size: clamp(1.65rem, 2.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.04em; margin: .15rem 0 .35rem; }
.push-admin-page .push-page-head p { color: #7484a1; margin: 0; }
.push-admin-page .push-eyebrow { color: #3867b7; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.push-admin-page .push-audience-stats { align-items: center; background: linear-gradient(120deg, #183766, #245aa7); border-radius: 1rem; box-shadow: 0 12px 30px rgba(25, 64, 121, .18); color: #fff; display: flex; gap: .75rem; margin-bottom: 1rem; padding: .8rem 1rem; }
.push-admin-page .push-audience-stats > i { align-items: center; background: rgba(255,255,255,.13); border-radius: .65rem; display: inline-flex; font-size: 1.05rem; height: 36px; justify-content: center; width: 36px; }
.push-admin-page .push-audience-stats strong,.push-admin-page .push-audience-stats span { display: block; }
.push-admin-page .push-audience-stats strong { font-size: .9rem; }
.push-admin-page .push-audience-stats span { color: rgba(255,255,255,.72); font-size: .78rem; margin-top: .1rem; }
.push-admin-page .push-layout { align-items: start; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) minmax(310px, .38fr); }
.push-admin-page .push-composer { background: #fff; border: 1px solid #dce5f0; border-radius: 1.15rem; box-shadow: 0 18px 45px rgba(24, 45, 80, .08); overflow: hidden; }
.push-admin-page .push-section { border-bottom: 1px solid #e6edf5; padding: 1.25rem clamp(1rem, 2vw, 1.6rem); }
.push-admin-page .push-section-heading { align-items: flex-start; display: flex; gap: .7rem; margin-bottom: 1rem; }
.push-admin-page .push-section-heading h2 { color: #263550; font-size: 1rem; font-weight: 800; margin: .05rem 0 .16rem; }
.push-admin-page .push-section-heading p,.push-admin-page .push-field-note { color: #7888a4; font-size: .79rem; margin: 0; }
.push-admin-page .push-step { align-items: center; background: #e9f1ff; border-radius: 50%; color: #2763b9; display: inline-flex; flex: 0 0 auto; font-size: .76rem; font-weight: 800; height: 25px; justify-content: center; width: 25px; }
.push-admin-page .push-field { display: grid; gap: .38rem; }
.push-admin-page .push-field > label { color: #4e607e; font-size: .79rem; font-weight: 750; }
.push-admin-page .push-input-count,.push-admin-page .push-textarea-wrap { position: relative; }
.push-admin-page .push-input-count .saas-input { padding-right: 4.6rem; }
.push-admin-page .push-input-count span,.push-admin-page .push-textarea-wrap span { bottom: .55rem; color: #91a0b7; font-size: .7rem; pointer-events: none; position: absolute; right: .68rem; }
.push-admin-page .push-textarea { min-height: 105px; padding-bottom: 1.7rem; resize: vertical; }
.push-admin-page .push-option-grid { display: grid; gap: .55rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.push-admin-page .push-option { align-items: center; border: 1px solid #dbe4f0; border-radius: .85rem; cursor: pointer; display: flex; gap: .55rem; min-height: 76px; padding: .68rem; transition: .16s ease; }
.push-admin-page .push-option:hover { border-color: #a8c4eb; background: #f8fbff; }
.push-admin-page .push-option.is-selected { background: #eef5ff; border-color: #4f86d4; box-shadow: 0 0 0 2px rgba(79,134,212,.11); }
.push-admin-page .push-option input { position: absolute; opacity: 0; }
.push-admin-page .push-option > i { color: #4974b8; font-size: 1.15rem; }
.push-admin-page .push-option strong,.push-admin-page .push-option small { display: block; }
.push-admin-page .push-option strong { color: #33445f; font-size: .82rem; }
.push-admin-page .push-option small { color: #8493aa; font-size: .69rem; line-height: 1.2; margin-top: .12rem; }
.push-admin-page .push-device-field { margin-top: .8rem; }
.push-admin-page .push-grid { gap: .8rem; }
.push-admin-page .push-image-manager { align-items: stretch; background: #f8fbff; border: 1px dashed #bdcde2; border-radius: .9rem; display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr) 180px; margin-bottom: .85rem; padding: .9rem; }
.push-admin-page .push-image-upload { display: grid; gap: .55rem; justify-items: start; }
.push-admin-page .push-image-upload > span { color: #7d8ca5; font-size: .72rem; margin-top: -.35rem; }
.push-admin-page .push-image-or { color: #95a3b7; font-size: .72rem; position: relative; text-align: center; width: 100%; }
.push-admin-page .push-image-or:before,.push-admin-page .push-image-or:after { background: #dce6f2; content: ""; height: 1px; position: absolute; top: 50%; width: 30%; }
.push-admin-page .push-image-or:before { left: 0; }.push-admin-page .push-image-or:after { right: 0; }
.push-admin-page .push-image-clear { color: #bd3e4c; margin: -.35rem 0 0; padding-left: 0; }
.push-admin-page .push-image-preview { align-items: center; background: #fff; border: 1px solid #e0e8f2; border-radius: .7rem; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 130px; overflow: hidden; }
.push-admin-page .push-image-preview img { height: 100%; max-height: 140px; object-fit: cover; width: 100%; }
.push-admin-page .push-image-preview span { color: #667792; font-size: .68rem; padding: .35rem .5rem; text-align: center; }
.push-admin-page .push-delivery-grid { margin-top: .4rem; }
.push-admin-page .push-send-bar { align-items: center; background: #fbfcfe; display: flex; gap: 1rem; justify-content: space-between; padding: 1rem clamp(1rem, 2vw, 1.6rem); }
.push-admin-page .push-send-bar strong,.push-admin-page .push-send-bar span { display: block; }
.push-admin-page .push-send-bar strong { color: #263550; font-size: .86rem; }.push-admin-page .push-send-bar span { color: #8593a9; font-size: .71rem; margin-top: .16rem; }
.push-admin-page .push-send-bar .btn { border-radius: .75rem; font-weight: 750; padding: .65rem 1rem; white-space: nowrap; }
.push-admin-page .push-preview-shell { background: #172942; border-radius: 1.15rem; box-shadow: 0 20px 46px rgba(20, 39, 68, .2); color: #fff; padding: 1rem; position: sticky; top: 1rem; }
.push-admin-page .push-platform-switch { display:flex; gap:.2rem; padding:.2rem; border-radius:.65rem; background:rgba(255,255,255,.1); }
.push-admin-page .push-platform-switch button { border:0; border-radius:.45rem; background:transparent; color:#b9cbe5; font-size:.68rem; font-weight:750; padding:.38rem .5rem; }
.push-admin-page .push-platform-switch button.is-active { background:#fff; color:#172942; }
.push-admin-page .push-phone-android { background:linear-gradient(150deg,#f4f8ff,#dce9fa); }
.push-admin-page .push-android-notification { margin-top:1.1rem; padding:.8rem; border-radius:.65rem; background:#fff; box-shadow:0 5px 14px rgba(51,72,106,.18); }
.push-admin-page .push-android-header { display:flex; align-items:center; gap:.35rem; margin-bottom:.55rem; color:#687791; font-size:.58rem; }
.push-admin-page .push-android-header .push-app-icon { height:22px; width:22px; font-size:.65rem; }
.push-admin-page .push-android-header span:last-child { margin-left:auto; }
.push-admin-page .push-android-notification > strong { display:block; color:#1c2738; font-size:.78rem; line-height:1.2; }
.push-admin-page .push-android-notification > p { color:#34445a; font-size:.68rem; line-height:1.35; margin:.22rem 0 0; }
.push-admin-page .push-preview-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: .9rem; }.push-admin-page .push-preview-head span { color: #9eb9df; font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }.push-admin-page .push-preview-head h2 { font-size: 1rem; font-weight: 750; margin: .15rem 0 0; }.push-admin-page .push-preview-head > i { background: rgba(255,255,255,.1); border-radius: .7rem; font-size: 1.1rem; padding: .5rem .65rem; }
.push-admin-page .push-phone { background: linear-gradient(150deg, #eff4fb, #dce7f7); border: 5px solid #0b1424; border-radius: 1.45rem; color: #1c2738; min-height: 400px; overflow: hidden; padding: .35rem .45rem; }.push-admin-page .push-phone-status { display: flex; font-size: .58rem; justify-content: space-between; padding: .06rem .25rem; }.push-admin-page .push-notification { align-items: flex-start; background: rgba(255,255,255,.92); border-radius: .8rem; box-shadow: 0 7px 16px rgba(51,72,106,.15); display: flex; gap: .5rem; margin-top: 1.1rem; padding: .55rem; }.push-admin-page .push-app-icon { align-items: center; background: #1e4f91; border-radius: .42rem; color: #fff; display: flex; font-family: Georgia,serif; font-size: .8rem; font-weight: 800; height: 28px; justify-content: center; width: 28px; }.push-admin-page .push-notification-main { min-width: 0; width: 100%; }.push-admin-page .push-notification-meta { color: #6d7686; display: flex; font-size: .53rem; justify-content: space-between; margin-bottom: .18rem; }.push-admin-page .push-notification-main > strong { display: block; font-size: .76rem; line-height: 1.2; }.push-admin-page .push-notification-main p { font-size: .66rem; line-height: 1.3; margin: .18rem 0 0; }.push-admin-page .push-notification-main img { border-radius: .48rem; display: block; height: 118px; margin-top: .48rem; object-fit: cover; width: 100%; }.push-admin-page .push-phone-note { bottom: 1.1rem; color: #7a8799; font-size: .63rem; left: 1.2rem; position: absolute; }.push-admin-page .push-phone { position: relative; }.push-admin-page .push-preview-route { align-items: center; color: #bacde8; display: flex; font-size: .75rem; gap: .42rem; margin: .8rem .15rem .1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1199.98px) { .push-admin-page .push-layout { grid-template-columns: minmax(0, 1fr) 320px; }.push-admin-page .push-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .push-admin-page .push-layout { grid-template-columns: 1fr; }.push-admin-page .push-preview-shell { position: static; }.push-admin-page .push-phone { min-height: 275px; }.push-admin-page .push-phone-note { display: none; } }
@media (max-width: 575px) { .push-admin-page .push-page-head { align-items: flex-start; flex-direction: column; }.push-admin-page .push-image-manager { grid-template-columns: 1fr; }.push-admin-page .push-image-preview { min-height: 160px; }.push-admin-page .push-image-preview img { max-height: 130px; }.push-admin-page .push-send-bar { align-items: stretch; flex-direction: column; }.push-admin-page .push-send-bar .btn { width: 100%; }.push-admin-page .push-option-grid { grid-template-columns: 1fr 1fr; } }

.admin-saas-page .admin-landing-card {
  padding: 1.2rem 1.3rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-admin-page .contact-admin-card {
  padding: 1.1rem;
}

.contact-admin-page .contact-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.voucher-admin-page .contact-admin-card {
  padding-top: 0.9rem;
  padding-bottom: 1rem;
}

.voucher-admin-page .admin-config {
  margin-bottom: 0.45rem;
}

.voucher-admin-page .admin-summary-grid {
  margin-bottom: 0.65rem;
}

.voucher-admin-page .contact-toolbar {
  margin-top: 0.1rem;
  margin-bottom: 0.7rem;
}

.voucher-admin-page .voucher-pagination-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.voucher-admin-page .voucher-page-size {
  min-width: 150px;
}

.voucher-admin-page .voucher-pagination-meta {
  color: #7484a1;
  font-size: 0.88rem;
  margin-left: auto;
  margin-right: 0.25rem;
}

.voucher-admin-page .voucher-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.voucher-admin-page .voucher-pagination .btn {
  min-width: 42px;
}

.voucher-admin-page .schedule-accordion {
  display: grid;
  gap: 0.7rem;
}

.voucher-admin-page .schedule-accordion__item {
  border: 1px solid #d7e1ef;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(28, 41, 64, 0.07);
  overflow: hidden;
}

.voucher-admin-page .schedule-accordion__button {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  color: #24324a;
  gap: 0.7rem;
  padding: 1rem 1.05rem;
}

.voucher-admin-page .schedule-accordion__button:not(.collapsed) {
  background: #f4f8fd;
  box-shadow: none;
}

.voucher-admin-page .schedule-accordion__button:focus {
  border-color: #bfd0e4;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.12);
}

.voucher-admin-page .schedule-accordion__button > span {
  display: grid;
  gap: 0.2rem;
}

.voucher-admin-page .schedule-accordion__body {
  background: #f8fbff;
  border-top: 1px solid #e1e9f3;
  padding: 1rem;
}

.voucher-admin-page .admin-modal {
  background: rgba(18, 30, 48, 0.56);
  padding: 1.2rem;
  backdrop-filter: blur(6px);
}

.voucher-admin-page .admin-modal-card--wide {
  width: min(1120px, 96vw);
  max-height: min(860px, calc(100vh - 2.4rem));
  border: 1px solid #d7e1ef;
  border-radius: 1.1rem;
  background: #f8fbff;
  box-shadow: 0 26px 70px rgba(28, 41, 64, 0.24);
  padding: 0;
  overflow: hidden;
}

.voucher-admin-page .admin-modal-header {
  background: #fff;
  border-bottom: 1px solid #dfe7f2;
  padding: 1rem 1.15rem;
}

.voucher-admin-page .admin-modal-header strong {
  color: #24324a;
  font-size: 1rem;
}

.voucher-admin-page .admin-modal-close {
  border: 1px solid #d7e1ef;
  border-radius: 0.72rem;
  color: #52637d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.75rem;
  text-transform: uppercase;
}

.voucher-admin-page .admin-modal-close:hover {
  background: #f2f6fb;
  color: #24324a;
}

.voucher-admin-page .admin-modal-body {
  color: #24324a;
  padding: 1rem;
  overflow-y: auto;
}

.voucher-admin-page .schedule-manager {
  display: grid;
  gap: 1rem;
}

.voucher-admin-page .schedule-manager__intro {
  border: 1px solid #d7e1ef;
  border-radius: 1rem;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 34%),
    #fff;
  padding: 1rem 1.1rem;
}

.voucher-admin-page .schedule-manager__eyebrow {
  color: #7484a1;
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.voucher-admin-page .schedule-manager h2,
.voucher-admin-page .schedule-manager h3,
.voucher-admin-page .schedule-manager p {
  margin: 0;
}

.voucher-admin-page .schedule-manager h2 {
  color: #24324a;
  font-size: 1.35rem;
  font-weight: 800;
}

.voucher-admin-page .schedule-manager p {
  color: #7484a1;
  margin-top: 0.35rem;
}

.voucher-admin-page .schedule-manager__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  align-items: start;
}

.voucher-admin-page .schedule-card {
  border: 1px solid #d7e1ef;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(28, 41, 64, 0.07);
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
}

.voucher-admin-page .schedule-card h3 {
  color: #24324a;
  font-size: 0.95rem;
  font-weight: 800;
}

.voucher-admin-page .schedule-card .form-label {
  color: #62728e;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: -0.35rem;
}

.voucher-admin-page .schedule-card .btn-primary {
  border-radius: 0.78rem;
  font-weight: 700;
  justify-self: start;
  margin-top: 0.15rem;
}

.voucher-admin-page .schedule-card--list {
  max-height: min(560px, calc(100vh - 290px));
  min-height: 320px;
  grid-template-rows: auto minmax(0, 1fr);
}

.voucher-admin-page .schedule-list-head {
  align-items: center;
  border-bottom: 1px solid #e4ebf4;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
}

.voucher-admin-page .schedule-list-head p {
  font-size: 0.82rem;
}

.voucher-admin-page .schedule-pill {
  background: #eaf2ff;
  border: 1px solid #cfe0fb;
  border-radius: 999px;
  color: #1f5fbf;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.58rem;
}

.voucher-admin-page .schedule-list {
  display: grid;
  gap: 0.55rem;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.voucher-admin-page .schedule-row {
  align-items: center;
  border: 1px solid #e0e8f2;
  border-radius: 0.82rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  padding: 0.72rem 0.78rem;
}

.voucher-admin-page .schedule-row__main {
  min-width: 0;
}

.voucher-admin-page .schedule-row strong {
  color: #24324a;
  display: block;
  font-size: 0.92rem;
}

.voucher-admin-page .schedule-row__note {
  color: #7484a1;
  font-size: 0.8rem;
  margin-top: 0.2rem;
  overflow-wrap: anywhere;
}

.voucher-admin-page .schedule-row .btn {
  flex: 0 0 auto;
  border-radius: 0.65rem;
  font-weight: 700;
}

.voucher-admin-page .schedule-empty {
  align-items: center;
  border: 1px dashed #cbd8e8;
  border-radius: 0.82rem;
  color: #7484a1;
  display: flex;
  justify-content: center;
  min-height: 160px;
  padding: 1rem;
  text-align: center;
}

.voucher-admin-page .schedule-empty--error {
  border-color: rgba(250, 82, 82, 0.32);
  color: #b42318;
}

@media (max-width: 767.98px) {
  .voucher-admin-page .admin-modal {
    padding: 0.65rem;
  }

  .voucher-admin-page .admin-modal-card--wide {
    max-height: calc(100vh - 1.3rem);
  }

  .voucher-admin-page .schedule-manager__grid {
    grid-template-columns: 1fr;
  }

  .voucher-admin-page .schedule-card--list {
    max-height: none;
  }
}

.voucher-admin-page .voucher-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  color: #7484a1;
  font-size: 1rem;
  padding-bottom: 0.15rem;
}

.contact-admin-page .admin-summary-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid #d7e1ef;
  box-shadow: 0 14px 34px rgba(28, 41, 64, 0.07);
}

.contact-admin-page .admin-summary-label,
.contact-admin-page .admin-summary-sub,
.contact-admin-page .admin-help,
.contact-admin-page .saas-muted,
.contact-admin-page .contact-table-sub,
.contact-admin-page .contact-detail-sub,
.contact-admin-page .contact-detail-time {
  color: #7a89a6;
}

.contact-admin-page .admin-summary-card strong,
.contact-admin-page .contact-detail-head h2,
.contact-admin-page .contact-detail-list dd,
.contact-admin-page .contact-table tbody td,
.contact-admin-page .contact-table strong {
  color: #24324a;
}

.contact-admin-page .admin-config-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid #d7e1ef;
  box-shadow: 0 14px 34px rgba(28, 41, 64, 0.07);
  color: #24324a;
}

.contact-admin-page .admin-config-card:hover {
  border-color: #bfd0e4;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
}

.contact-admin-page .admin-config-title {
  color: #24324a;
}

.contact-admin-page .admin-config-meta,
.contact-admin-page .admin-config-action {
  color: #7484a1;
}

.contact-admin-page .contact-filter {
  min-width: 220px;
}

.contact-admin-page .contact-filter-cluster {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact-admin-page .contact-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-admin-page .contact-master-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 1rem;
}

@media (max-width: 1199.98px) {
  .contact-admin-page .contact-master-detail {
    grid-template-columns: 1fr;
  }
}

.contact-admin-page .contact-table-wrap {
  overflow: auto;
}

.contact-admin-page .contact-table {
  margin-bottom: 0;
}

.contact-admin-page .contact-table thead th {
  border-bottom: 1px solid #dfe7f2;
  color: #6f7f9b;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.contact-admin-page .contact-table tbody tr {
  cursor: pointer;
}

.contact-admin-page .contact-table tbody tr.is-active {
  background: rgba(59, 130, 246, 0.08);
}

.contact-admin-page .contact-table tbody td {
  border-top: 1px solid #e4ebf4;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.contact-admin-page .contact-table-sub {
  color: #7484a1;
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

.contact-admin-page .contact-detail-pane {
  border: 1px solid #d7e1ef;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem 1.05rem;
  box-shadow: 0 14px 34px rgba(28, 41, 64, 0.07);
  align-self: start;
  position: sticky;
  top: 1rem;
}

.contact-admin-page .contact-detail-empty {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-admin-page .contact-detail-head {
  display: grid;
  gap: 0.75rem;
}

.contact-admin-page .contact-detail-head {
  grid-template-columns: 1fr auto;
  align-items: start;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e4ebf4;
}

.contact-admin-page .contact-detail-kicker {
  color: #6f7f9b;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.contact-admin-page .contact-detail-head h2 {
  margin: 0;
  color: #24324a;
}

.contact-admin-page .contact-detail-sub,
.contact-admin-page .contact-detail-time {
  color: #7484a1;
}

.contact-admin-page .contact-detail-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 1rem 0;
}

.contact-admin-page .contact-detail-list div {
  display: grid;
  gap: 0.25rem;
}

.contact-admin-page .contact-detail-list dt {
  color: #6f7f9b;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-admin-page .contact-detail-list dd {
  margin: 0;
  color: #24324a;
  word-break: break-word;
}

.contact-admin-page .contact-detail-message-wrap {
  padding-top: 0.5rem;
  border-top: 1px solid #e4ebf4;
}

.contact-admin-page .contact-detail-actions {
  padding-top: 0.9rem;
  border-top: 1px solid #e4ebf4;
}

.contact-admin-page .contact-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-admin-page .contact-status-pill--new {
  background: rgba(59, 130, 246, 0.12);
  color: #2457d6;
}

.contact-admin-page .contact-status-pill--contacted {
  background: rgba(245, 158, 11, 0.15);
  color: #9a5d00;
}

@media (max-width: 991.98px) {
  .contact-admin-page .contact-detail-pane {
    position: static;
  }
}

.audit-log-page .saas-content {
  padding: 0;
  background: #0b1220;
  color: #d6deec;
}

.audit-log-page .audit-shell {
  min-height: 100vh;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.audit-log-page .audit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.audit-log-page .audit-kicker {
  color: #7f8ca3;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}

.audit-log-page .audit-head h1 {
  margin: 0;
  font-size: 1.25rem;
  color: #eef4ff;
}

.audit-log-page .audit-terminal {
  flex: 1 1 auto;
  overflow: auto;
  padding: 1rem;
  border-radius: 0.9rem;
  background: #050a14;
  border: 1px solid rgba(120, 141, 171, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.audit-log-page .audit-line {
  display: grid;
  grid-template-columns: 210px 110px minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(120, 141, 171, 0.12);
  color: #c8d3e3;
}

.audit-log-page .audit-line:last-child {
  border-bottom: 0;
}

.audit-log-page .audit-time {
  color: #89a0bf;
}

.audit-log-page .audit-kind {
  color: #6ea8ff;
  font-weight: 700;
}

.audit-log-page .audit-text {
  color: #e7edf8;
  white-space: pre-wrap;
  word-break: break-word;
}

.audit-log-page .audit-empty {
  color: #8b99af;
  padding: 0.8rem 0;
}

@media (max-width: 767.98px) {
  .audit-log-page .audit-shell {
    padding: 0.85rem;
  }

  .audit-log-page .audit-line {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
