html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.site-nav {
  position: sticky;
  top: 0;
  z-index: 9995;
  color: #334155;
  font-family: Poppins, Hind, Arial, sans-serif;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  background: #ffffff;
}
.site-nav a { color: inherit; text-decoration: none; }
.site-nav__container {
  width: min(100% - 1.5rem, 88rem);
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.site-nav__utility { background: #0f172a; color: #cbd5e1; font: 12px Hind, Arial, sans-serif; }
.site-nav__utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-nav__status { color: #34d399; font-weight: 700; }
.site-nav__support { color: #94a3b8; }
.site-nav__utility-links { display: flex; align-items: center; gap: 1rem; }
.site-nav__utility-links a:hover { color: #fff; }
.site-nav__language { padding: 2px 8px; border: 1px solid #047857; border-radius: 4px; color: #6ee7b7; }
.site-nav__header {
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(15,23,42,.06);
  backdrop-filter: blur(12px);
}
.site-nav__main { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.site-nav__brand { display: flex; align-items: center; gap: .65rem; flex: 0 0 auto; }
.site-nav__mark { width: 44px; height: 44px; display: block; flex: 0 0 44px; object-fit: cover; border-radius: 12px; }
.site-nav__brand strong { display: block; color: #0f172a; font-size: 21px; line-height: 1; letter-spacing: -.5px; }
.site-nav__brand strong span { color: #ea580c; }
.site-nav__brand small { display: block; margin-top: 4px; color: #64748b; font: 11px Hind, Arial, sans-serif; letter-spacing: .3px; }
.site-nav__desktop {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 700;
}
.site-nav__desktop > a, .site-nav__dropdown > a {
  display: inline-flex;
  align-items: center;
  padding: 24px 5.5px;
  white-space: nowrap;
  color: #334155;
  transition: color 0.15s ease;
}
.site-nav__notif-link {
  font-weight: 800;
  color: #0f172a !important;
}
.site-nav__desktop > a:hover, .site-nav__dropdown > a:hover { color: #ea580c !important; }
.site-nav__dropdown { position: relative; }
.site-nav__dropdown > a span { margin-left: 3px; font-size: 8px; }
.site-nav__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: white;
  border: 1px solid #e2e8f0;
  border-top: 2px solid #ea580c;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 25px rgba(15,23,42,.15);
  z-index: 10000;
}
.site-nav__menu--right { left: auto; right: 0; }
.site-nav__menu--wide { min-width: 260px; }
.site-nav__menu-header {
  padding: 8px 16px 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}
.site-nav__menu--resources {
  display: none;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 0;
  width: min(90vw, 760px);
  left: 50%;
  transform: translateX(-50%);
}
.site-nav__resource-group { padding: 10px 0; border-right: 1px solid #f1f5f9; }
.site-nav__resource-group:last-child { border-right: 0; }
.site-nav__resource-group strong { display: block; padding: 4px 16px 8px; color: #ea580c; font-size: 12px; }
.site-nav__resource-group a { display: block; padding: 6px 16px; border-bottom: 0; font: 13px Hind, Arial, sans-serif; }
.site-nav__resource-group a:hover { background: #f8fafc; color: #ea580c; }
.site-nav__dropdown:hover .site-nav__menu { display: block; }
.site-nav__dropdown:hover .site-nav__menu--resources { display: grid; }
.site-nav__menu a { display: block; padding: 10px 16px; border-bottom: 1px solid #f1f5f9; font: 13px Hind, Arial, sans-serif; }
.site-nav__menu a:last-child { border-bottom: 0; }
.site-nav__menu a:hover { background: #f8fafc; color: #ea580c; }
.site-nav__cta {
  padding: 9px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg,#ea580c,#c2410c);
  color: white !important;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 6px;
  box-shadow: 0 2px 6px rgba(234,88,12,0.25);
}
.site-nav__cta:hover { filter: brightness(1.08); }
.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex-shrink: 0 !important;
  padding: 0;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15,23,42,.08);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 8px;
  position: relative;
  z-index: 50;
  -webkit-tap-highlight-color: transparent;
}
.site-nav__toggle:hover,
.site-nav__toggle:focus-visible {
  border-color: #ea580c;
  background: #fff7ed;
  color: #ea580c;
  box-shadow: 0 2px 8px rgba(234,88,12,0.18);
  outline: none;
}
.site-nav__toggle.is-active {
  background: #fff7ed;
  border-color: #ea580c;
  color: #ea580c;
  box-shadow: 0 0 0 2px rgba(234,88,12,0.25);
}
.site-nav__toggle-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  line-height: 1;
  color: #0f172a;
  transition: transform 0.2s ease, color 0.2s ease;
}
.site-nav__toggle:hover .site-nav__toggle-dots,
.site-nav__toggle.is-active .site-nav__toggle-dots {
  color: #ea580c;
}
.site-nav__toggle-close {
  display: none;
  font-size: 20px;
  line-height: 1;
  color: #ea580c;
}
.site-nav__toggle.is-active .site-nav__toggle-dots {
  display: none;
}
.site-nav__toggle.is-active .site-nav__toggle-close {
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-nav__mobile { display: none; }
.site-nav__mobile-heading { padding: 9px 0 4px; color: #ea580c; font: 700 12px Hind, Arial, sans-serif; }
.site-floating-links { position: fixed; right: 18px; bottom: 18px; z-index: 1100; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.site-floating-links__item { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden; border-radius: 999px; color: #fff !important; box-shadow: 0 8px 18px rgba(15,23,42,.2); font-size: 21px; transition: width .2s ease, transform .2s ease, filter .2s ease; }
.site-floating-links__item span { display: none; font: 700 12px Hind, Arial, sans-serif; white-space: nowrap; }
.site-floating-links__item:hover { width: 132px; transform: translateY(-2px); filter: brightness(1.06); }
.site-floating-links__item:hover span { display: inline; }
.site-floating-links__item--whatsapp { background: #16a34a; }
.site-floating-links__item--youtube { background: #dc2626; display: none !important; }
.site-floating-links__item--android { background: #15803d; display: none !important; }
.has-shared-navbar > header:not(.site-nav__header):not(:has(h1)) { display: none !important; }

/* Responsive Adjustments for Laptops (1241px - 1360px) */
@media (min-width: 1241px) and (max-width: 1360px) {
  .site-nav__desktop > a, .site-nav__dropdown > a { padding: 24px 4px; font-size: 11px; }
  .site-nav__lang-pill { margin: 0 3px; padding: 4px 6px; font-size: 10px; }
  .site-nav__cta { padding: 7px 9px; font-size: 11px; }
  .pm-nav-search-btn kbd { display: none; }
}

/* Tablet & Mobile Screens (<= 1240px) */
@media (max-width: 1240px) {
  .site-nav__utility-inner { padding: 5px 0; flex-wrap: wrap; }
  .site-nav__support { display: none; }
  .site-nav__utility-links { margin-left: auto; }
  .site-nav__main { min-height: 64px; }
  .site-nav__desktop { display: none; }
  .site-nav__cta { display: none; }
  .site-nav__toggle {
    display: flex !important;
  }
  .site-nav__mobile {
    display: none;
    padding: 10px 1rem 14px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
  }
  .site-nav__mobile.is-open {
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 96px;
  }
  .site-nav__mobile::-webkit-scrollbar {
    width: 4px;
  }
  .site-nav__mobile::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
  .site-nav__mobile a {
    padding: 10px 8px;
    border-bottom: 1px solid #f1f5f9;
    font: 600 13.5px Hind, Arial, sans-serif;
    color: #334155;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .site-nav__mobile a:hover, .site-nav__mobile a:active {
    background: #f8fafc;
    color: #ea580c;
  }
}

/* Mobile Accordion for 32+ Study Resources */
.site-nav__mobile-accordion {
  margin: 6px 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}
.site-nav__mobile-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  font: 700 13px Hind, Arial, sans-serif;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: #f1f5f9;
}
.site-nav__mobile-accordion-toggle::-webkit-details-marker {
  display: none;
}
.site-nav__mobile-accordion[open] .site-nav__accordion-arrow {
  transform: rotate(180deg);
}
.site-nav__accordion-arrow {
  font-size: 11px;
  color: #64748b;
  transition: transform 0.2s ease;
}
.site-nav__mobile-accordion-content {
  padding: 6px 10px 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  max-height: 380px;
  overflow-y: auto;
}
.site-nav__mobile-accordion-content .site-nav__mobile-heading {
  display: block;
  padding: 8px 4px 4px;
  color: #ea580c;
  font: 700 12px Hind, Arial, sans-serif;
  border-bottom: 1px dashed #e2e8f0;
}
.site-nav__mobile-accordion-content a {
  display: block;
  padding: 7px 6px;
  font-size: 13px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

@media (max-width: 480px) {
  .site-nav__container { width: min(100% - 1.25rem, 80rem); }
  .site-nav__status { font-size: 11px; }
  .site-nav__utility-links { width: 100%; justify-content: space-between; gap: .5rem; }
  .site-nav__brand strong { font-size: 18px; }
  .site-nav__brand small { font-size: 10px; }
  .site-nav__mark { width: 38px; height: 38px; flex-basis: 38px; }
  .site-floating-links { right: 12px; bottom: 12px; gap: 8px; }
  .site-floating-links__item { width: 44px; height: 44px; font-size: 19px; }
  .site-floating-links__item:hover { width: 44px; }
  .site-floating-links__item:hover span { display: none; }
}

/* ==========================================================================
   MOBILE NATIVE APP UI & PWA BOTTOM NAVIGATION
   ========================================================================== */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Bottom Nav bar hidden on desktop */
.pwa-bottom-nav {
  display: none;
}

/* Install Banner hidden by default */
.pwa-install-banner {
  display: none;
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 460px);
  z-index: 99999;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: pwaSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pwa-install-banner.is-visible {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@keyframes pwaSlideDown {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.pwa-install-banner__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.pwa-install-banner__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.pwa-install-banner__text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.pwa-install-banner__text p {
  margin: 2px 0 0;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.3;
}

.pwa-install-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pwa-install-banner__btn {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.pwa-install-banner__btn:active {
  transform: scale(0.95);
}

.pwa-install-banner__close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 18px;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease;
}

.pwa-install-banner__close:hover {
  color: #ffffff;
}

/* Mobile Screens Styling (< 768px) */
@media (max-width: 767px) {
  body {
    padding-bottom: 74px !important;
  }

  .site-floating-links {
    bottom: 82px !important;
    right: 12px !important;
  }

  .pwa-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 9990;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    padding: 0 6px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    justify-content: space-around;
    align-items: center;
  }

  .pwa-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    height: 100%;
    color: #94a3b8;
    text-decoration: none !important;
    font-size: 9.5px;
    font-weight: 700;
    font-family: Poppins, Hind, sans-serif;
    letter-spacing: -0.2px;
    text-align: center;
    transition: color 0.2s ease, transform 0.15s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0 2px;
    white-space: nowrap;
  }

  .pwa-bottom-nav__item i {
    font-size: 18px;
    transition: transform 0.2s ease;
  }

  .pwa-bottom-nav__item:active {
    transform: scale(0.92);
  }

  .pwa-bottom-nav__item.is-active {
    color: #fb923c !important;
  }

  .pwa-bottom-nav__item.is-active i {
    transform: translateY(-2px) scale(1.1);
    color: #ea580c !important;
  }

  .pwa-bottom-nav__item--install {
    color: #34d399 !important;
  }

  .pwa-bottom-nav__item--install i {
    color: #10b981 !important;
    animation: pwaPulse 2s infinite;
  }

  @keyframes pwaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
  }

  .uiverse-card, .card, article {
    touch-action: manipulation;
  }

  button, a {
    touch-action: manipulation;
  }
}

/* Standalone Mode (PWA app window running on mobile device) */
@media (display-mode: standalone) {
  .site-nav__utility {
    display: none !important;
  }
  .site-nav__header {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .pwa-install-banner {
    display: none !important;
  }
}

/* ==========================================================================
   SUPABASE AUTH MODAL & USER PROFILE DROPDOWN
   ========================================================================== */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.auth-modal-overlay.hidden { display: none !important; }

.auth-modal-card {
  position: relative;
  width: min(100%, 420px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  padding: 24px;
  font-family: Poppins, Hind, sans-serif;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: #f1f5f9;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: #64748b;
}

.auth-modal-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
}

.auth-tab-btn {
  flex: 1;
  padding: 8px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
}
.auth-tab-btn.active {
  background: #ffffff;
  color: #047857;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.auth-title { font-size: 18px; font-weight: 800; color: #0f172a; margin: 0 0 4px; }
.auth-subtitle { font-size: 12px; color: #64748b; margin-bottom: 16px; }

.auth-input-group { margin-bottom: 14px; text-align: left; }
.auth-input-group label { display: block; font-size: 11px; font-weight: 700; color: #334155; margin-bottom: 4px; }
.auth-input-group input, .auth-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  outline: none;
}
.auth-input-group input:focus, .auth-select:focus { border-color: #047857; box-shadow: 0 0 0 3px rgba(4,120,87,0.15); }

.auth-btn-primary {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #047857, #0d9488);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.auth-btn-google {
  width: 100%;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.auth-divider { display: flex; align-items: center; margin: 16px 0; color: #94a3b8; font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
.auth-divider span { padding: 0 8px; }

.auth-alert { padding: 10px; border-radius: 8px; font-size: 12px; margin-bottom: 14px; }
.auth-alert.error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.auth-alert.success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* NAVBAR USER AVATAR & DROPDOWN */
.navbar-auth-slot { margin-left: 8px; }
.nav-login-btn {
  background: #047857;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.user-profile-dropdown { position: relative; display: inline-block; }
.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  cursor: pointer;
}
.user-avatar-badge {
  width: 30px;
  height: 30px;
  background: #ea580c;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}
.user-name-text { font-size: 12px; font-weight: 700; color: #0f172a; }

.user-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 8px 0;
  z-index: 1000;
}
.user-profile-dropdown:hover .user-dropdown-menu { display: block; }
.user-info-header { padding: 8px 16px; border-bottom: 1px solid #f1f5f9; }
.user-info-header strong { display: block; font-size: 13px; color: #0f172a; }
.user-info-header small { color: #ea580c; font-weight: 600; font-size: 10px; }
.user-dropdown-menu a, .user-dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: 12px;
  color: #334155;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.user-dropdown-menu a:hover, .user-dropdown-menu button:hover { background: #f8fafc; color: #ea580c; }

/* 🌐 SEO-FRIENDLY BILINGUAL LANGUAGE SWITCHER STYLES */
.site-nav__lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 8px;
  color: #334155;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.site-nav__lang-pill:hover {
  background: #fff;
  border-color: #ea580c;
  box-shadow: 0 2px 6px rgba(234,88,12,0.15);
  transform: translateY(-1px);
}
.site-nav__lang-pill .active-lang {
  color: #ea580c !important;
  font-weight: 900 !important;
}
.site-nav__utility-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(4, 120, 87, 0.2);
  border: 1px solid #059669;
  border-radius: 6px;
  padding: 2px 8px;
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.site-nav__utility-lang-btn:hover {
  background: #059669;
  color: #ffffff;
}
.site-nav__mobile-lang-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 8px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav__mobile-lang-box span {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.site-nav__mobile-lang-btns {
  display: flex;
  gap: 6px;
}
.site-nav__mobile-lang-btns button {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
}
.site-nav__mobile-lang-btns button.is-active {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}

/* ==========================================================================
   SUPPRESSION RULES: Netlify Badge / Widget & Floating Notification Bell
   ========================================================================== */
#pushNotificationBell,
#pushPromptBanner {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

[data-netlify-deploy-id],
.netlify-badge,
iframe[src*="netlify"],
#netlify-identity-widget,
div[class*="netlify-feedback"],
div[id*="netlify-feedback"],
div[class*="feedback-drawer"],
div[id*="feedback-drawer"],
netlify-drawer,
[data-netlify-feedback] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   🔍 SMART GLOBAL SEARCH BUTTON & LEFT SIDEBAR RESULTS DRAWER (HINDI + ENGLISH)
   ========================================================================== */
.pm-nav-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  padding: 6px 13px;
  font: 700 12px Hind, Poppins, sans-serif;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.pm-nav-search-btn:hover {
  border-color: #ea580c;
  background: #fff7ed;
  color: #c2410c;
  box-shadow: 0 3px 8px rgba(234, 88, 12, 0.14);
}
.pm-nav-search-btn i {
  color: #ea580c;
  font-size: 13px;
}
.pm-nav-search-btn kbd {
  background: #e2e8f0;
  color: #475569;
  font: 700 10px monospace;
  padding: 1px 5px;
  border-radius: 4px;
}

@media (max-width: 1240px) {
  .pm-nav-search-btn kbd {
    display: none;
  }
  .pm-nav-search-btn {
    padding: 7px 11px;
    margin-left: auto;
    margin-right: 0;
    font-size: 11.5px;
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  .site-nav__main {
    min-height: 58px;
    gap: 6px;
    padding: 0 4px;
  }
  .site-nav__brand {
    gap: 7px;
    min-width: 0;
    flex: 1 1 auto;
  }
  .site-nav__brand strong {
    font-size: 16.5px;
    letter-spacing: -0.3px;
    white-space: nowrap;
  }
  .site-nav__brand small {
    font-size: 9.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
  }
  .site-nav__mark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
  }
  .pm-nav-search-btn {
    padding: 6px 9px;
    font-size: 11px;
    gap: 4px;
    flex-shrink: 0;
  }
  .site-nav__toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    margin-left: 4px;
    border-radius: 10px;
  }
  .site-nav__toggle-dots {
    font-size: 19px;
  }
}

@media (max-width: 380px) {
  .site-nav__brand small {
    display: none;
  }
  .pm-nav-search-btn span {
    display: none;
  }
  .pm-nav-search-btn {
    padding: 6px 8px;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    justify-content: center;
  }
}

/* Left Sidebar Overlay & Drawer */
.pm-search-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 100060;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
  display: none;
  align-items: stretch;
  justify-content: flex-start;
}
.pm-search-sidebar-overlay.is-open {
  display: flex;
}

.pm-search-sidebar {
  width: min(92vw, 440px);
  height: 100vh;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  box-shadow: 16px 0 40px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  font-family: Hind, Poppins, sans-serif;
  animation: pmSidebarSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes pmSidebarSlideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.pm-search-sidebar__top {
  background: #ffffff;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.pm-search-sidebar__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.pm-search-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pm-search-sidebar__brand strong {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.pm-search-sidebar__close {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font: 700 11.5px Hind, sans-serif;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pm-search-sidebar__close:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #dc2626;
}

.pm-search-sidebar__input-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 2px 10px 2px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.pm-search-sidebar__input-wrap:focus-within {
  background: #ffffff;
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.pm-search-sidebar__search-icon {
  color: #ea580c;
  font-size: 14px;
  margin-right: 8px;
}

.pm-search-sidebar__input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 4px;
  font: 600 14px Hind, Poppins, sans-serif;
  color: #0f172a;
  outline: none;
}
.pm-search-sidebar__input::placeholder {
  color: #94a3b8;
  font-weight: 500;
  font-size: 13px;
}

.pm-search-sidebar__clear-btn {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
}
.pm-search-sidebar__clear-btn:hover {
  color: #dc2626;
}

.pm-search-sidebar__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
}

.pm-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font: 700 11px Hind, Poppins, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pm-cat-tab:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}
.pm-cat-tab.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}
.pm-cat-tab__count {
  background: rgba(148, 163, 184, 0.25);
  padding: 0 5px;
  border-radius: 999px;
  font-size: 10px;
}

/* Left Sidebar Scrollable Body */
.pm-search-sidebar__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Clean Welcome Idle Screen (When search input is blank) */
.pm-search-idle {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pm-search-idle__hero {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

.pm-search-idle__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.pm-search-idle__hero h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.pm-search-idle__hero p {
  margin: 0;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
}

.pm-search-idle__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pm-search-idle__heading {
  font-size: 11.5px;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.2px;
}

.pm-search-idle__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pm-search-idle__chips button {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font: 600 12px Hind, sans-serif;
  padding: 6px 11px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pm-search-idle__chips button:hover {
  border-color: #ea580c;
  background: #fff7ed;
  color: #c2410c;
}

.pm-search-idle__quicklinks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pm-search-idle__quicklinks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font: 700 12.5px Hind, sans-serif;
  color: #1e293b;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.pm-search-idle__quicklinks a:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #ea580c;
}
.pm-search-idle__quicklinks a i {
  font-size: 11px;
  color: #94a3b8;
}

/* Categorized Result Groups */
.pm-sidebar-group {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.pm-sidebar-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.pm-sidebar-group__title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pm-sidebar-group__title h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: #334155;
}

.pm-sidebar-group__count {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  background: #e2e8f0;
  padding: 1px 7px;
  border-radius: 999px;
}

.pm-sidebar-group__list {
  display: flex;
  flex-direction: column;
}

.pm-sidebar-result-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none !important;
  color: #0f172a;
  transition: background 0.15s ease;
}
.pm-sidebar-result-card:last-child {
  border-bottom: none;
}
.pm-sidebar-result-card:hover {
  background: #fff7ed;
}

.pm-sidebar-result-card__main {
  flex: 1;
  min-width: 0;
}

.pm-sidebar-result-card__title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}
.pm-sidebar-result-card:hover .pm-sidebar-result-card__title {
  color: #c2410c;
}

.pm-sidebar-result-card__sub {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.35;
}

.pm-sidebar-result-card__badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
  flex-shrink: 0;
}

.pm-search-empty {
  text-align: center;
  padding: 28px 16px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}
.pm-search-empty__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff7ed;
  color: #ea580c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 8px;
}
.pm-search-empty h3 {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
}
.pm-search-empty p {
  margin: 0 0 12px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}
.pm-search-empty__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.pm-search-empty__chips button {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font: 600 11.5px Hind, sans-serif;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.pm-search-empty__chips button:hover {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff;
}

.pm-search-sidebar__footer {
  padding: 10px 16px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  flex-shrink: 0;
}
.pm-search-sidebar__footer kbd {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 10px;
  color: #334155;
}

/* ==========================================================================
   UNIFIED GLOBAL FOOTER (.pm-global-footer)
   ========================================================================== */
.pm-global-footer {
  background: #020617;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
  padding: 3.5rem 0 2.5rem;
  margin-top: 3.5rem;
  font-family: Hind, Poppins, sans-serif;
}
.pm-global-footer__container {
  width: min(100% - 2rem, 84rem);
  margin: 0 auto;
}
.pm-global-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid #1e293b;
}
@media (max-width: 960px) {
  .pm-global-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .pm-global-footer__grid {
    grid-template-columns: 1fr;
  }
}
.pm-global-footer__brand strong {
  color: #ffffff;
  font-size: 20px;
  display: block;
}
.pm-global-footer__brand strong span {
  color: #ea580c;
}
.pm-global-footer__brand p {
  font-size: 13px;
  line-height: 1.65;
  color: #94a3b8;
  margin: 10px 0 14px;
}
.pm-global-footer__col h3 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: 0.2px;
}
.pm-global-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pm-global-footer__col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}
.pm-global-footer__col a:hover {
  color: #fb923c;
}
.pm-global-footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 12px;
  color: #64748b;
}
.pm-global-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.pm-global-footer__bottom-links a {
  color: #94a3b8;
  text-decoration: none;
}
.pm-global-footer__bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   🔠 FONT SIZE SCALING (A- / A / A+)
   ========================================================================== */
html[data-font-scale="sm"] { font-size: 14.5px; }
html[data-font-scale="md"] { font-size: 16px; }
html[data-font-scale="lg"] { font-size: 17.5px; }
html[data-font-scale="xl"] { font-size: 19px; }

.pm-font-scale-bar {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 1px 4px;
}

.pm-font-scale-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font: 800 11px Poppins, Hind, sans-serif;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.pm-font-scale-btn:hover {
  background: #ea580c;
  color: #ffffff;
}

/* ==========================================================================
   👨‍💻 PERSONAL BRANDING, SMART LOGIN CONVERSION & PROTECTED SHARING SYSTEM
   (Developed by Pradeep Sahu • 8839500214)
   ========================================================================== */

/* Footer Developer Card */
.pm-footer-dev-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #1e293b;
  border-left: 3px solid #ea580c;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 8px;
}

.pm-footer-dev-card__name {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pm-footer-dev-card__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
}

.pm-footer-dev-card__contact a {
  color: #fde68a;
  font-weight: 700;
  text-decoration: none;
}

.pm-footer-dev-card__contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Inline Resource Action Bar (Top of Study Pages) */
.pm-resource-action-bar {
  width: min(100% - 1.5rem, 80rem);
  margin: 14px auto;
  background: linear-gradient(90deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #cbd5e1;
  border-left: 4px solid #047857;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  font-family: Hind, Poppins, sans-serif;
}

.pm-resource-action-bar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #1e293b;
}

.pm-resource-action-bar__credit {
  font-weight: 700;
  color: #0f172a;
}

.pm-resource-action-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-weight: 800;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  text-decoration: none !important;
}

.pm-resource-action-bar__phone:hover {
  background: #047857;
  color: #ffffff;
}

.pm-resource-action-bar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pm-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 9px;
  font: 700 11.5px Hind, Poppins, sans-serif;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  transition: all 0.15s ease;
}

.pm-action-pill--save:hover,
.pm-action-pill--save.is-saved {
  border-color: #047857;
  background: #ecfdf5;
  color: #047857;
}

.pm-action-pill--alert:hover {
  border-color: #d97706;
  background: #fffbeb;
  color: #b45309;
}

.pm-action-pill--share {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff;
}

.pm-action-pill--share:hover {
  background: #c2410c;
  border-color: #c2410c;
}

/* Card-level Share Button */
.pm-card-share-wrap {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  justify-content: flex-end;
}

.pm-card-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font: 700 11px Hind, Poppins, sans-serif;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pm-card-share-btn:hover {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff;
}

/* Protected Share Modal */
.pm-share-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100080;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pm-share-modal-overlay.is-open {
  display: flex;
}

.pm-share-modal {
  width: min(100%, 480px);
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  font-family: Hind, Poppins, sans-serif;
  animation: pmModalPop 0.2s ease-out;
}

@keyframes pmModalPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pm-share-modal__header {
  background: #0f172a;
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pm-share-modal__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.pm-share-modal__header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.pm-share-modal__close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #cbd5e1;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}

.pm-share-modal__close:hover {
  background: #dc2626;
  color: #ffffff;
}

.pm-share-modal__body {
  padding: 16px 18px 18px;
}

.pm-share-preview-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}

.pm-share-preview-box__title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.pm-share-preview-box__snippet {
  font-size: 12px;
  color: #475569;
  margin-top: 4px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pm-share-locked-branding {
  margin-top: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 9px 11px;
  user-select: none;
}

.pm-share-locked-branding__head {
  font-size: 10.5px;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pm-share-locked-branding__rows {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11.5px;
  color: #1e293b;
}

.pm-share-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pm-share-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 11px;
  font: 700 12.5px Hind, Poppins, sans-serif;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.15s ease;
}

.pm-share-action-btn:hover {
  transform: translateY(-1px);
}

.pm-share-action-btn--wa {
  background: #16a34a;
  color: #ffffff;
}

.pm-share-action-btn--tg {
  background: #0284c7;
  color: #ffffff;
}

.pm-share-action-btn--card {
  background: #ea580c;
  color: #ffffff;
}

.pm-share-action-btn--copy {
  background: #0f172a;
  color: #ffffff;
}

.pm-share-copy-status {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  text-align: center;
  min-height: 18px;
}

/* Smart Login Conversion Floating Nudge */
.pm-login-nudge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 99980;
  width: min(calc(100vw - 32px), 350px);
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-top: 4px solid #ea580c;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.2);
  font-family: Hind, Poppins, sans-serif;
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.pm-login-nudge.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pm-login-nudge__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  font-size: 12px;
}

.pm-login-nudge__close:hover {
  background: #fee2e2;
  color: #dc2626;
}

.pm-login-nudge__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.pm-login-nudge__title {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.pm-login-nudge__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: #334155;
}

.pm-login-nudge__benefits i {
  color: #047857;
  margin-right: 5px;
}

.pm-login-nudge__actions {
  display: flex;
  gap: 7px;
}

.pm-login-nudge__cta {
  flex: 1;
  background: #047857;
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 8px 10px;
  font: 700 12px Hind, sans-serif;
  cursor: pointer;
}

.pm-login-nudge__cta:hover {
  background: #065f46;
}

.pm-login-nudge__secondary {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 8px 12px;
  font: 700 12px Hind, sans-serif;
  cursor: pointer;
}

.pm-login-nudge__credit {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #f1f5f9;
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  text-align: center;
}

/* Print Watermark */
.pm-print-watermark {
  display: none;
}

@media print {
  .pm-print-watermark {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 14px;
    background: #ffffff;
    border-top: 2px solid #0f172a;
    color: #0f172a;
    font: 800 11px Hind, sans-serif;
    text-align: center;
    z-index: 999999;
  }
  .pm-resource-action-bar,
  .pm-login-nudge,
  .pm-share-modal-overlay {
    display: none !important;
  }
}