:root {
  --green: #0b3d2e;
  --deep: #06281f;
  --mint: #1d5c3b;
  --gold: #d29f30;
  --gold2: #e9c65e;
  --cream: #f4ead8;
  --paper: #fff8ea;
  --ink: #09251d;
  --muted: #6d746f;
  --line: rgba(210, 159, 48, 0.24);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Cairo,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  background: radial-gradient(
    circle at 50% -10%,
    #1b5a42 0,
    #0b3d2e 38%,
    #041e18 100%
  );
  color: var(--ink);
  min-height: 100vh;
}
.staff-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px 12px 96px;
}
.phone-card {
  width: min(460px, 100%);
  background: linear-gradient(145deg, #fff8e8, #f7ecd2);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px 22px;
  box-shadow:
    var(--shadow),
    inset 0 0 45px rgba(255, 255, 255, 0.45);
}
.app-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.brand {
  display: block;
  font-size: 27px;
  color: var(--green);
  font-weight: 900;
}
.app-top p {
  margin: 2px 0 0;
  color: var(--muted);
}
.btn,
.primary {
  border: 0;
  border-radius: 24px;
  padding: 13px 22px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #052d23;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(179, 126, 25, 0.22);
  font-family: inherit;
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(210, 159, 48, 0.42);
  box-shadow: none;
}
.input {
  width: 100%;
  border: 1px solid rgba(194, 150, 63, 0.35);
  background: #fffdf7;
  border-radius: 18px;
  padding: 14px 16px;
  font-family: inherit;
  font-weight: 700;
  margin: 6px 0 14px;
  outline: 0;
  color: var(--ink);
}
.input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 166, 61, 0.18);
}
label {
  font-weight: 900;
}
.notice,
.alert,
.success,
.toast {
  padding: 13px 15px;
  border-radius: 18px;
  margin: 12px 0 18px;
  line-height: 1.8;
}
.notice {
  background: #fff7dd;
  border: 1px solid #e7bd5c;
  color: #8a5b00;
}
.alert {
  background: #fff0ed;
  border: 1px solid #e09b8f;
  color: #8a1e12;
}
.success {
  background: #eaf9ef;
  border: 1px solid #81c995;
  color: #116b31;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.small {
  font-size: 12px;
}
.hero-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
}
.staff-app {
  width: min(520px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 12px 102px;
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 22px;
  background: linear-gradient(
    135deg,
    rgba(11, 61, 46, 0.96),
    rgba(6, 40, 31, 0.98)
  );
  color: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(233, 198, 94, 0.32);
}
.hero-card:before {
  content: "";
  position: absolute;
  inset: -80px -70px auto auto;
  width: 190px;
  height: 190px;
  background: radial-gradient(
    circle,
    rgba(233, 198, 94, 0.34),
    transparent 65%
  );
}
.hero-card:after {
  content: "☾";
  position: absolute;
  left: 22px;
  top: 24px;
  color: rgba(233, 198, 94, 0.22);
  font-size: 82px;
  font-weight: 900;
}
.hero-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid rgba(233, 198, 94, 0.34);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #f8eac1;
  background: rgba(255, 255, 255, 0.08);
}
.hero-card h1 {
  margin: 10px 0 6px;
  font-size: 26px;
  line-height: 1.35;
}
.hero-card p {
  margin: 0;
  color: #e8e3d3;
  font-weight: 700;
}
.logout {
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: #fff7df;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 900;
}
.mosque-chip {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(233, 198, 94, 0.24);
  padding: 12px;
  border-radius: 22px;
}
.mosque-chip span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  display: grid;
  place-items: center;
}
.mosque-chip small {
  margin-inline-start: auto;
  color: #f7e7be;
  font-weight: 800;
}
.status-card,
.install-card {
  margin: 14px 0;
  background: linear-gradient(135deg, #fff9eb, #f2e3c3);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.status-card small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}
.status-card strong {
  display: block;
  color: var(--green);
  font-size: 18px;
}
.status-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.pulse-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #20b264;
  box-shadow: 0 0 0 0 rgba(32, 178, 100, 0.5);
  animation: pulse 1.7s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 14px rgba(32, 178, 100, 0);
  }
}
.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.quick-stats a {
  text-decoration: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px 6px;
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
}
.quick-stats b {
  display: block;
  color: var(--green);
  font-size: 22px;
}
.quick-stats span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}
.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.action-tile {
  min-height: 138px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 16px;
  text-align: right;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.09);
  transition:
    0.22s transform,
    0.22s box-shadow;
}
.action-tile:active {
  transform: scale(0.98);
}
.action-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.13);
}
.action-tile i {
  font-style: normal;
  font-size: 32px;
}
.action-tile b {
  font-size: 18px;
}
.action-tile span {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.82;
}
.action-tile.green {
  background: linear-gradient(135deg, #104532, #0b3d2e);
  color: white;
}
.action-tile.gold {
  background: linear-gradient(135deg, #f3d475, #c38f25);
  color: #10251d;
}
.action-tile.cream {
  background: linear-gradient(135deg, #fff7e2, #ead7ad);
}
.action-tile.dark {
  background: linear-gradient(135deg, #092d24, #061b16);
  color: #fff8e8;
}
.action-tile.blue {
  background: linear-gradient(135deg, #eaf4ff, #d7e6f9);
}
.action-tile.white {
  background: #fff;
}
.install-card {
  gap: 10px;
}
.install-card div {
  display: grid;
}
.install-card b {
  color: var(--green);
}
.install-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.install-card button {
  border: 0;
  border-radius: 16px;
  padding: 10px 13px;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-weight: 900;
}
.install-card #dismissInstall {
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(9, 37, 29, 0.1);
  color: var(--ink);
}
.panel {
  margin-top: 16px;
  background: linear-gradient(
    145deg,
    rgba(255, 250, 238, 0.96),
    rgba(244, 234, 216, 0.92)
  );
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
  scroll-margin-top: 16px;
}
.panel h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 20px;
}
.subhead {
  margin: 18px 0 10px;
  color: var(--green);
}
.timeline {
  display: grid;
  gap: 10px;
}
.timeline article {
  position: relative;
  background: #fff;
  border: 1px solid rgba(210, 159, 48, 0.18);
  border-radius: 20px;
  padding: 14px 14px 14px 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}
.timeline article span {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4ead8;
  color: #7b5517;
  font-size: 11px;
  font-weight: 900;
}
.timeline article b {
  display: block;
  margin: 7px 0 4px;
}
.timeline article small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}
.native-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(500px, calc(100% - 20px));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  background: rgba(6, 40, 31, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(233, 198, 94, 0.32);
  border-radius: 26px;
  padding: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  z-index: 50;
}
.native-nav a {
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff7e4;
  font-weight: 900;
  font-size: 18px;
  padding: 7px 2px;
  border-radius: 20px;
}
.native-nav span {
  font-size: 10px;
  margin-top: 2px;
}
.native-nav a.active,
.native-nav a:hover {
  background: linear-gradient(
    135deg,
    rgba(233, 198, 94, 0.35),
    rgba(255, 255, 255, 0.09)
  );
}
.file {
  background: #fff;
}
@media (max-width: 430px) {
  .staff-app {
    padding: 10px 10px 96px;
  }
  .hero-card {
    border-radius: 28px;
    padding: 20px;
  }
  .hero-card h1 {
    font-size: 23px;
  }
  .actions-grid {
    gap: 10px;
  }
  .action-tile {
    min-height: 126px;
    border-radius: 23px;
    padding: 14px;
  }
  .quick-stats {
    gap: 7px;
  }
  .quick-stats a {
    padding: 10px 4px;
  }
  .panel {
    border-radius: 24px;
    padding: 16px;
  }
  .native-nav {
    bottom: 9px;
    width: calc(100% - 16px);
  }
}

/* MANARA M-18.B PRIME — Staff Native Brand + Smart Operations */
.manara-staff-logo {
  display: block;
  background-image: url("../images/brand-collection.png");
  background-repeat: no-repeat;
  background-size: 640px auto;
  width: 178px;
  height: 82px;
  background-position: -238px -108px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.24));
  margin-bottom: 8px;
}
.staff-brand-stack .brand {
  margin-top: 2px;
}
.hero-logo {
  margin: 0 0 12px auto;
  transform: scale(0.92);
  transform-origin: right center;
}
.branded-hero {
  background:
    radial-gradient(
      circle at 12% 0,
      rgba(243, 211, 123, 0.24),
      transparent 31%
    ),
    linear-gradient(
      135deg,
      rgba(7, 32, 24, 0.98),
      rgba(12, 73, 52, 0.96) 62%,
      rgba(4, 22, 17, 0.98)
    );
}
.branded-hero:after {
  content: "";
  left: 18px;
  top: 22px;
  width: 92px;
  height: 92px;
  background-image: url("../images/brand-collection.png");
  background-repeat: no-repeat;
  background-size: 360px auto;
  background-position: -15px -118px;
  opacity: 0.22;
  color: transparent;
}
.smart-status {
  border-color: rgba(210, 159, 48, 0.36);
  background: linear-gradient(135deg, #fffaf0, #f1dfb5);
}
.notification-center {
  background:
    radial-gradient(circle at 0 0, rgba(243, 211, 123, 0.16), transparent 30%),
    linear-gradient(
      145deg,
      rgba(255, 250, 238, 0.98),
      rgba(244, 234, 216, 0.95)
    );
}
.notification-item.unread {
  border-color: rgba(32, 178, 100, 0.32);
  box-shadow:
    0 0 0 1px rgba(32, 178, 100, 0.08),
    0 12px 28px rgba(11, 61, 46, 0.08);
}
.notification-item.unread:before {
  content: "";
  position: absolute;
  inset-inline-start: 12px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #20b264;
  box-shadow: 0 0 0 6px rgba(32, 178, 100, 0.12);
}
.actions-grid .action-tile {
  position: relative;
  overflow: hidden;
}
.actions-grid .action-tile:after {
  content: "";
  position: absolute;
  inset: auto -35% -45% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.phone-card.login-card {
  position: relative;
  overflow: hidden;
}
.phone-card.login-card:before {
  content: "";
  position: absolute;
  inset: -80px -80px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(210, 159, 48, 0.14);
}
@media (max-width: 430px) {
  .manara-staff-logo {
    width: 150px;
    height: 70px;
    background-size: 540px auto;
    background-position: -201px -92px;
  }
  .hero-logo {
    transform: scale(0.86);
    margin-bottom: 8px;
  }
  .branded-hero:after {
    width: 74px;
    height: 74px;
    background-size: 292px auto;
    background-position: -12px -95px;
  }
}
.tap-pulse {
  transform: scale(0.985) !important;
  filter: brightness(1.03);
}

/* M-18.B.2 Surgical Brand Precision Overrides */
.manara-staff-logo {
  display: block !important;
  background-image: url("../images/logo.png") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  width: 196px !important;
  height: 96px !important;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.24)) !important;
  margin-bottom: 8px !important;
}
.branded-hero:after {
  background-image: url("../images/manara-icon-master.png") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
}
@media (max-width: 430px) {
  .manara-staff-logo {
    width: 160px !important;
    height: 78px !important;
  }
  .branded-hero:after {
    width: 74px !important;
    height: 74px !important;
  }
}

/* MANARA M-19 PRIME — Final Delivery WOW Experience */
body.dashboard-page {
  background:
    radial-gradient(
      circle at 80% -10%,
      rgba(233, 198, 94, 0.2),
      transparent 26%
    ),
    radial-gradient(circle at 10% 0, rgba(36, 146, 98, 0.22), transparent 30%),
    linear-gradient(180deg, #06281f 0%, #0b3d2e 46%, #041e18 100%);
}
.staff-app {
  position: relative;
}
.staff-app:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -1;
}
.wow-strip,
.client-wow-card {
  margin: 14px 0;
  border-radius: 26px;
  padding: 15px 16px;
  border: 1px solid rgba(233, 198, 94, 0.34);
  background: linear-gradient(
    135deg,
    rgba(255, 248, 234, 0.96),
    rgba(244, 234, 216, 0.9)
  );
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wow-strip b,
.client-wow-card b {
  display: block;
  color: var(--green);
  font-size: 15px;
  line-height: 1.7;
}
.wow-strip span,
.client-wow-card span {
  display: block;
  color: #8b6a22;
  font-weight: 900;
  font-size: 11px;
}
.wow-strip em {
  font-style: normal;
  background: linear-gradient(135deg, #0b3d2e, #1d5c3b);
  color: #ffe9a6;
  border: 1px solid rgba(233, 198, 94, 0.45);
  border-radius: 18px;
  padding: 8px 11px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(11, 61, 46, 0.18);
}
.section-title {
  margin: 18px 2px 10px;
  color: #fff8e6;
}
.section-title h2 {
  margin: 0;
  font-size: 20px;
}
.section-title p {
  margin: 3px 0 0;
  color: rgba(255, 248, 230, 0.78);
  font-size: 12px;
  font-weight: 800;
}
.client-wow-card {
  background:
    radial-gradient(circle at 0 0, rgba(233, 198, 94, 0.2), transparent 36%),
    linear-gradient(135deg, #fffdf7, #f4ead8);
}
.client-wow-card small {
  white-space: nowrap;
  background: #0b3d2e;
  color: #ffe8a6;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 900;
  font-size: 10px;
}
.offline-banner {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(20px);
  width: min(480px, calc(100% - 28px));
  background: rgba(8, 31, 25, 0.94);
  color: #fff8e6;
  border: 1px solid rgba(233, 198, 94, 0.35);
  border-radius: 18px;
  padding: 11px 14px;
  z-index: 70;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}
.offline-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.tap-pulse {
  animation: manaraTap 0.24s ease-out;
}
@keyframes manaraTap {
  50% {
    transform: scale(0.975);
    filter: brightness(1.08);
  }
}
.panel form {
  position: relative;
}
.panel form:after {
  content: "آمن ومربوط بالإدارة";
  display: inline-flex;
  margin-top: 8px;
  background: rgba(11, 61, 46, 0.08);
  color: var(--green);
  border: 1px solid rgba(11, 61, 46, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
}
.primary {
  width: 100%;
  font-size: 15px;
}
.input.file {
  border-style: dashed;
  background: #fffaf0;
}
.native-nav {
  bottom: calc(10px + env(safe-area-inset-bottom));
}
.hero-card {
  transform: translateZ(0);
}
@media (max-width: 430px) {
  .wow-strip,
  .client-wow-card {
    border-radius: 22px;
    padding: 13px;
  }
  .client-wow-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-title h2 {
    font-size: 18px;
  }
  .offline-banner {
    bottom: 84px;
  }
}

/* MANARA M-20 GOLDEN DELIVERY — Client WOW + Handover Polish */
body.dashboard-page:after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 170px;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(4, 30, 24, 0.92),
    rgba(4, 30, 24, 0)
  );
  z-index: 1;
}
.staff-app > * {
  position: relative;
  z-index: 2;
}
.hero-card {
  border-color: rgba(233, 198, 94, 0.48);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
.hero-card h1 {
  letter-spacing: -0.02em;
}
.wow-strip {
  background:
    radial-gradient(circle at 10% 0, rgba(233, 198, 94, 0.24), transparent 34%),
    linear-gradient(135deg, #fffdf7, #f3e2bd);
}
.quick-stats a {
  transition:
    0.18s transform,
    0.18s box-shadow;
}
.quick-stats a:active {
  transform: scale(0.97);
}
.action-tile:focus-visible,
.primary:focus-visible,
.install-card button:focus-visible,
.native-nav a:focus-visible {
  outline: 3px solid rgba(233, 198, 94, 0.72);
  outline-offset: 3px;
}
.panel {
  scroll-margin-bottom: 110px;
}
.toast.success {
  box-shadow: 0 14px 34px rgba(32, 178, 100, 0.16);
  font-weight: 900;
}
.toast.alert {
  box-shadow: 0 14px 34px rgba(180, 50, 32, 0.14);
  font-weight: 900;
}
.native-nav {
  z-index: 90;
}
.offline-banner {
  z-index: 95;
}
.install-card {
  z-index: 3;
}
@media (max-width: 430px) {
  .quick-stats b {
    font-size: 20px;
  }
  .quick-stats span {
    font-size: 10px;
  }
  .action-tile b {
    font-size: 16px;
  }
  .hero-card p {
    font-size: 13px;
  }
  .mosque-chip {
    align-items: flex-start;
  }
  .mosque-chip small {
    font-size: 11px;
  }
}

/* MANARA M-20.1 — Native Bottom Navigation Precision + Final Handover Alignment */
body.dashboard-page {
  padding-bottom: 0 !important;
  overflow-x: hidden;
}
.staff-app {
  padding-bottom: calc(132px + env(safe-area-inset-bottom)) !important;
}
.native-nav {
  left: 50% !important;
  right: auto !important;
  bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  transform: translateX(-50%) !important;
  width: min(420px, calc(100% - 28px)) !important;
  max-width: 420px !important;
  min-height: 72px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: center !important;
  justify-items: stretch !important;
  gap: 6px !important;
  padding: 8px 10px !important;
  border-radius: 30px !important;
  background: linear-gradient(
    180deg,
    rgba(11, 61, 46, 0.94),
    rgba(6, 40, 31, 0.92)
  ) !important;
  border: 1px solid rgba(233, 198, 94, 0.42) !important;
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
  z-index: 120 !important;
}
.native-nav a {
  height: 56px !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 6px 2px !important;
  border-radius: 22px !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-align: center !important;
  white-space: nowrap !important;
}
.native-nav span {
  display: block !important;
  margin: 0 !important;
  font-size: 10.5px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
}
.native-nav a.active {
  background: linear-gradient(
    135deg,
    rgba(233, 198, 94, 0.34),
    rgba(255, 255, 255, 0.12)
  ) !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(233, 198, 94, 0.16) inset !important;
}
.native-nav a:active {
  transform: scale(0.97) !important;
}
.offline-banner {
  bottom: calc(106px + env(safe-area-inset-bottom)) !important;
}
.panel:last-of-type {
  margin-bottom: 10px !important;
}
@media (max-width: 430px) {
  .staff-app {
    padding-bottom: calc(128px + env(safe-area-inset-bottom)) !important;
  }
  .native-nav {
    width: calc(100% - 22px) !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    min-height: 68px !important;
    padding: 7px 8px !important;
    border-radius: 28px !important;
    gap: 4px !important;
  }
  .native-nav a {
    height: 53px !important;
    font-size: 18px !important;
    border-radius: 20px !important;
  }
  .native-nav span {
    font-size: 9.8px !important;
  }
  .offline-banner {
    bottom: calc(100px + env(safe-area-inset-bottom)) !important;
  }
}
@media (min-width: 720px) {
  .native-nav {
    width: 390px !important;
  }
  .staff-app {
    padding-bottom: 128px !important;
  }
}

/* MANARA M-20.3 — Bottom Navigation Forensic Native Recovery */
html,
body.dashboard-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}
body.dashboard-page {
  padding-bottom: 0 !important;
}
.staff-app {
  width: min(520px, 100%) !important;
  margin-inline: auto !important;
  padding-bottom: calc(126px + env(safe-area-inset-bottom)) !important;
}
body.dashboard-page:after {
  height: 148px !important;
  z-index: 1 !important;
}
.native-nav {
  position: fixed !important;
  inset-inline: auto !important;
  left: 50vw !important;
  right: auto !important;
  bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  transform: translate3d(-50%, 0, 0) !important;
  width: min(370px, calc(100vw - 42px)) !important;
  max-width: 370px !important;
  min-width: 0 !important;
  min-height: 64px !important;
  height: 64px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 3px !important;
  padding: 6px 8px !important;
  border-radius: 28px !important;
  background: linear-gradient(
    180deg,
    rgba(12, 72, 52, 0.94),
    rgba(5, 35, 27, 0.96)
  ) !important;
  border: 1px solid rgba(233, 198, 94, 0.48) !important;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.045) inset !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  z-index: 150 !important;
  direction: rtl !important;
}
.native-nav a {
  width: 100% !important;
  height: 52px !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  padding: 5px 1px !important;
  margin: 0 !important;
  border-radius: 20px !important;
  color: #fff8e6 !important;
  font-size: 17px !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transform: none !important;
}
.native-nav span {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 9.4px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  text-align: center !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.native-nav a.active {
  background: linear-gradient(
    135deg,
    rgba(233, 198, 94, 0.37),
    rgba(255, 255, 255, 0.12)
  ) !important;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(233, 198, 94, 0.2) inset !important;
}
.native-nav a:active {
  transform: scale(0.97) !important;
}
.offline-banner {
  bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  width: min(390px, calc(100vw - 30px)) !important;
}
.panel {
  scroll-margin-bottom: 118px !important;
}
@media (max-width: 430px) {
  .staff-app {
    padding-bottom: calc(122px + env(safe-area-inset-bottom)) !important;
  }
  .native-nav {
    width: min(358px, calc(100vw - 34px)) !important;
    max-width: 358px !important;
    height: 62px !important;
    min-height: 62px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    padding: 6px 7px !important;
    border-radius: 27px !important;
    gap: 2px !important;
  }
  .native-nav a {
    height: 50px !important;
    font-size: 16.5px !important;
    border-radius: 19px !important;
  }
  .native-nav span {
    font-size: 9px !important;
    letter-spacing: -0.045em !important;
  }
  .offline-banner {
    bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }
}
@media (max-width: 360px) {
  .native-nav {
    width: calc(100vw - 24px) !important;
    padding-inline: 6px !important;
  }
  .native-nav a {
    font-size: 15.5px !important;
  }
  .native-nav span {
    font-size: 8.4px !important;
  }
}
@media (min-width: 720px) {
  .native-nav {
    width: 360px !important;
    max-width: 360px !important;
  }
  .staff-app {
    padding-bottom: 124px !important;
  }
}

/* MANARA PHASE M-24 / V41 — Staff PWA Client Signature Polish */
.wow-strip em {
  background: linear-gradient(135deg, #103f31, #d29f30) !important;
  color: #fff8e6 !important;
}
.client-wow-card {
  border-color: rgba(233, 198, 94, 0.48) !important;
}
.action-tile {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}
.action-tile:active {
  transform: scale(0.985);
}
.native-nav {
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset !important;
}

/* MANARA PHASE M-26 / V42 — Final Client Approval Simulation + Hidden Bugs Eradication */
.wow-strip em {
  background: linear-gradient(135deg, #0b3d2e, #d29f30) !important;
  color: #fff8e6 !important;
  min-width: 54px;
  text-align: center;
}
.native-nav {
  will-change: transform;
  contain: layout paint !important;
}
.native-nav a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.client-wow-card small {
  background: linear-gradient(135deg, #0b3d2e, #1d5c3b) !important;
  border: 1px solid rgba(233, 198, 94, 0.35);
}
@media (max-width: 390px) {
  .native-nav {
    width: calc(100vw - 22px) !important;
  }
  .native-nav span {
    font-size: 8.2px !important;
  }
  .native-nav a {
    font-size: 15px !important;
  }
}
@media (orientation: landscape) and (max-height: 520px) {
  .native-nav {
    height: 56px !important;
    min-height: 56px !important;
  }
  .native-nav a {
    height: 45px !important;
  }
  .staff-app {
    padding-bottom: 92px !important;
  }
}
