/* ArcHRM — ArcCRM base + mocks */
@import url("/assets/css/arc-crm-product.css");

.crm-product .product-frame-head {
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
  background: #12344d;
}

.crm-product .product-frame-head > svg {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.crm-product .record-section,
.crm-product .onboarding-section,
.crm-product .frontline-section,
.crm-product .compliance-section,
.crm-product .selfservice-section,
.crm-product .analytics-section {
  background: var(--crm-surface);
}

.crm-product .crm-network-band > .network-bg {
  z-index: 0;
  opacity: 1;
}

.crm-product .crm-network-band > *:not(.network-bg) {
  z-index: 1;
}

.crm-product .crm-network-band .record-section,
.crm-product .crm-network-band .onboarding-section,
.crm-product .crm-network-band .frontline-section,
.crm-product .crm-network-band .compliance-section,
.crm-product .crm-network-band .selfservice-section,
.crm-product .crm-network-band .analytics-section {
  background: transparent;
  padding-top: 56px;
  padding-bottom: 56px;
}

.crm-product .industry-section {
  background-color: var(--crm-surface);
  background-image: url("/assets/img/arc-crm-industries-bg-2.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.crm-product .ahrm-industry-boxes {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .crm-product .ahrm-industry-boxes {
    grid-template-columns: 1fr;
  }
}

/* Hero eyebrow + CTA — match arc-ap-automation */
.crm-product .hero.ahrm-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(245, 184, 0, 0.12);
  border: 1px solid rgba(245, 184, 0, 0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.6px;
  margin-bottom: 24px;
}

.crm-product .hero.ahrm-hero .hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  background: #f5b800;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(245, 184, 0, 0.7);
  animation: ahrm-hero-pulse 1.6s infinite;
}

@keyframes ahrm-hero-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1);
  }
}

.crm-product .hero.ahrm-hero .hero-ctas .btn-gold {
  gap: 9px;
  padding: 15px 28px;
  background: #f5b800;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14.5px;
  color: #0d1f42;
  box-shadow: none;
  transition: all 0.25s;
}

.crm-product .hero.ahrm-hero .hero-ctas .btn-gold:hover {
  background: #ffca2c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 184, 0, 0.35);
  color: #0d1f42;
}

.crm-product .hero.ahrm-hero {
  overflow: visible;
  padding: clamp(36px, 4.5vw, 60px) 0 clamp(40px, 5vw, 64px);
}

.crm-product .hero.ahrm-hero .hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  padding-left: 0;
  padding-right: 0;
}

.crm-product .hero.ahrm-hero .hero-left h1 {
  font-size: clamp(32px, 3.8vw, 48px);
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.crm-product .hero.ahrm-hero .hero-sub {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.crm-product .hero.ahrm-hero .hero-visual.product-frame {
  height: auto;
  display: block;
  overflow: hidden;
  border-radius: var(--crm-radius-lg);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
  animation: none;
  width: 100%;
  max-width: none;
  margin: 0;
}

.crm-product .hero.ahrm-hero .hero-visual.product-frame .hero-visual-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  height: auto;
  overflow: visible;
  padding: 28px 24px;
  background: linear-gradient(165deg, #0a1e3d 0%, #122a4f 100%);
}

.crm-product .hero.ahrm-hero .ahrm-hv-stage {
  position: relative;
  container-type: inline-size;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: clamp(20px, 4cqi, 32px);
  align-items: center;
  width: 100%;
}

.crm-product .hero.ahrm-hero .ahrm-hv-phone {
  grid-column: 2;
  grid-row: 1;
  width: clamp(200px, 42cqi, 248px);
}

.crm-product .hero.ahrm-hero .ahrm-hv-float {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}

.crm-product .hero.ahrm-hero .ahrm-hv-float-1 {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  margin-top: clamp(8px, 3cqi, 20px);
  max-width: clamp(118px, 26cqi, 150px);
  animation: ahrm-float-soft 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

.crm-product .hero.ahrm-hero .ahrm-hv-float-2 {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  align-self: end;
  margin-bottom: clamp(8px, 3cqi, 20px);
  max-width: clamp(118px, 26cqi, 150px);
  animation: ahrm-float-soft 8s ease-in-out infinite;
  animation-delay: 1s;
}

.crm-product .hero.ahrm-hero .product-frame-head svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Laptop — keep side-by-side but fit content in viewport */
@media (max-width: 1366px) {
  .crm-product .hero.ahrm-hero {
    padding: 36px 0 40px;
  }

  .crm-product .hero.ahrm-hero .hero-eyebrow {
    margin-bottom: 14px;
  }

  .crm-product .hero.ahrm-hero .hero-left h1 {
    font-size: clamp(30px, 3.2vw, 40px);
    margin-bottom: 16px;
  }

  .crm-product .hero.ahrm-hero .hero-sub {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .crm-product .hero.ahrm-hero .hero-visual.product-frame .hero-visual-body {
    min-height: 380px;
    padding: 22px 18px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-stage {
    column-gap: 14px;
    transform: scale(0.94);
    transform-origin: center center;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-phone {
    width: clamp(188px, 40cqi, 228px);
    padding: 14px 11px;
    border-width: 5px;
    border-radius: 28px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-phone-notch {
    margin-bottom: 10px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-phone-name {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-phone-tile {
    padding: 8px 10px;
    margin-bottom: 6px;
    gap: 8px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-phone-tile-icon {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-phone-tile-label {
    font-size: 9.5px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-phone-tile-sub {
    font-size: 8px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-float {
    padding: 10px 11px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-float-label {
    font-size: 7.5px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-float-value {
    font-size: 10.5px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-float-1,
  .crm-product .hero.ahrm-hero .ahrm-hv-float-2 {
    margin-top: 6px;
    margin-bottom: 6px;
    max-width: clamp(104px, 22cqi, 132px);
  }
}

/* Short laptop screens (e.g. 1366×768) */
@media (max-width: 1366px) and (max-height: 820px) {
  .crm-product .hero.ahrm-hero {
    padding: 28px 0 32px;
  }

  .crm-product .hero.ahrm-hero .hero-left h1 {
    font-size: clamp(28px, 3vw, 36px);
  }

  .crm-product .hero.ahrm-hero .hero-sub {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .crm-product .hero.ahrm-hero .hero-visual.product-frame .hero-visual-body {
    min-height: 350px;
    padding: 18px 14px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-stage {
    transform: scale(0.88);
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-phone,
  .crm-product .hero.ahrm-hero .ahrm-hv-float-1,
  .crm-product .hero.ahrm-hero .ahrm-hv-float-2 {
    animation: none;
  }
}

/* Stacked hero — tablet and below */
@media (max-width: 1000px) {
  .crm-product .hero.ahrm-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .crm-product .hero.ahrm-hero .hero-left {
    max-width: none;
  }

  .crm-product .hero.ahrm-hero .hero-visual.product-frame {
    max-width: 640px;
    margin-inline: auto;
  }

  .crm-product .hero.ahrm-hero .hero-visual.product-frame .hero-visual-body {
    min-height: 380px;
    padding: 24px 18px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-stage {
    transform: none;
    column-gap: 16px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-phone {
    width: clamp(200px, 40vw, 236px);
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-float-1,
  .crm-product .hero.ahrm-hero .ahrm-hv-float-2 {
    max-width: clamp(120px, 28vw, 150px);
  }
}

@media (max-width: 640px) {
  .crm-product .hero.ahrm-hero .hero-visual.product-frame .hero-visual-body {
    min-height: 340px;
    padding: 20px 14px;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-stage {
    display: flex;
    justify-content: center;
    transform: none;
  }

  .crm-product .hero.ahrm-hero .ahrm-hv-float {
    display: none;
  }
}

.crm-product .ahrm-frame-body,
.crm-product .hero-visual-body {
  padding: 22px;
}

.crm-product .ahrm-visual-panel {
  position: relative;
  border-radius: 10px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

.crm-product .ahrm-panel-cream {
  background: linear-gradient(145deg, #f8f4ea 0%, #f0ebdd 100%);
  border: 1px solid #e2e8f0;
}

.crm-product .ahrm-panel-navy {
  background: linear-gradient(150deg, #0d1f42 0%, #162b5b 100%);
}

.crm-product .ahrm-hero-panel {
  min-height: 360px;
}

.crm-product .ahrm-vp-glow-gold {
  position: absolute;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.crm-product .ahrm-vp-glow-blue {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(43, 126, 212, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes ahrm-float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Hero phone */
.crm-product .ahrm-hv-phone {
  position: relative;
  z-index: 3;
  width: 210px;
  max-width: 100%;
  background: linear-gradient(150deg, #142a55 0%, #0d1f42 100%);
  border: 6px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 16px 13px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  animation: ahrm-float-soft 6s ease-in-out infinite;
}

.crm-product .ahrm-hv-phone-notch {
  width: 60px;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  margin: 2px auto 14px;
}

.crm-product .ahrm-hv-phone-greet {
  font-family: inherit;
  font-size: 9px;
  font-weight: 800;
  color: #fdd84e;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.crm-product .ahrm-hv-phone-name {
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.crm-product .ahrm-hv-phone-tile {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  padding: 11px 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.crm-product .ahrm-hv-phone-tile-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.crm-product .ahrm-hv-phone-tile-icon.a {
  background: rgba(245, 184, 0, 0.18);
}

.crm-product .ahrm-hv-phone-tile-icon.b {
  background: rgba(43, 126, 212, 0.2);
}

.crm-product .ahrm-hv-phone-tile-icon.c {
  background: rgba(42, 158, 82, 0.2);
}

.crm-product .ahrm-hv-phone-tile-label {
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.crm-product .ahrm-hv-phone-tile-sub {
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

.crm-product .ahrm-hv-float {
  position: absolute;
  z-index: 4;
  width: max-content;
  max-width: 148px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.crm-product .ahrm-hv-float-1 {
  top: 8%;
  left: 0;
}

.crm-product .ahrm-hv-float-2 {
  bottom: 10%;
  right: 0;
}

.crm-product .ahrm-hv-float-label {
  font-size: 8.5px;
  color: #6b7a99;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.crm-product .ahrm-hv-float-value {
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  color: #0e0d59;
}

.crm-product .ahrm-hv-float-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 700;
  color: #2a9e52;
}

.crm-product .ahrm-hv-float-chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2a9e52;
}

/* Employee record */
.crm-product .ahrm-frag-rec {
  position: relative;
  z-index: 2;
  width: 300px;
  max-width: 100%;
}

.crm-product .ahrm-frag-rec-card {
  background: #fff;
  border: 1.5px solid #fbbc04;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.08);
  margin-bottom: 12px;
}

.crm-product .ahrm-frag-rec-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.crm-product .ahrm-frag-rec-avatar {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0e0d59 0%, #1e3a7a 100%);
  color: #fbbc04;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
}

.crm-product .ahrm-frag-rec-name {
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  color: #0e0d59;
}

.crm-product .ahrm-frag-rec-meta {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 1px;
}

.crm-product .ahrm-frag-rec-change {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: #64748b;
}

.crm-product .ahrm-frag-rec-change-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fbbc04;
  flex-shrink: 0;
}

.crm-product .ahrm-frag-rec-change strong {
  font-family: inherit;
  color: #0e0d59;
  font-weight: 700;
}

.crm-product .ahrm-frag-rec-fan {
  display: flex;
  justify-content: center;
  gap: 40px;
  height: 16px;
  align-items: flex-start;
  margin-bottom: 4px;
}

.crm-product .ahrm-frag-rec-fan span {
  width: 2px;
  background: #fbbc04;
  opacity: 0.5;
  height: 16px;
}

.crm-product .ahrm-frag-rec-targets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.crm-product .ahrm-frag-rec-target {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.crm-product .ahrm-frag-rec-target-name {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  color: #0e0d59;
  margin-bottom: 4px;
}

.crm-product .ahrm-frag-rec-target-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  color: #2a9e52;
}

.crm-product .ahrm-frag-rec-target-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2a9e52;
}

/* Onboarding */
.crm-product .ahrm-frag-onb {
  position: relative;
  z-index: 2;
  width: 280px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.crm-product .ahrm-frag-onb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 13px;
  border-bottom: 1px solid #e2e8f0;
}

.crm-product .ahrm-frag-onb-title {
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  color: #0e0d59;
}

.crm-product .ahrm-frag-onb-prog {
  font-family: inherit;
  font-size: 9px;
  font-weight: 800;
  color: #b8860b;
  background: rgba(245, 184, 0, 0.12);
  padding: 3px 8px;
  border-radius: 100px;
}

.crm-product .ahrm-frag-onb-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 0;
}

.crm-product .ahrm-frag-onb-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}

.crm-product .ahrm-frag-onb-check.done {
  background: #2a9e52;
  color: #fff;
}

.crm-product .ahrm-frag-onb-check.pending {
  background: #ede9e0;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}

.crm-product .ahrm-frag-onb-label {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #0e0d59;
}

.crm-product .ahrm-frag-onb-label.pending {
  color: #94a3b8;
}

.crm-product .ahrm-frag-onb-sync {
  margin-top: 12px;
  padding: 9px 12px;
  background: linear-gradient(135deg, rgba(42, 158, 82, 0.1) 0%, #fff 100%);
  border: 1px solid rgba(42, 158, 82, 0.3);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  color: #2a9e52;
}

.crm-product .ahrm-frag-onb-sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a9e52;
}

/* Frontline mobile */
.crm-product .ahrm-frag-mob {
  position: relative;
  z-index: 2;
  width: 200px;
  max-width: 100%;
  background: linear-gradient(150deg, #fff 0%, #f7f5ef 100%);
  border: 5px solid #0e0d59;
  border-radius: 30px;
  padding: 16px 13px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.crm-product .ahrm-frag-mob-notch {
  width: 50px;
  height: 4px;
  background: #ede9e0;
  border-radius: 100px;
  margin: 0 auto 14px;
}

.crm-product .ahrm-frag-mob-h {
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  color: #0e0d59;
  margin-bottom: 12px;
}

.crm-product .ahrm-frag-mob-tile {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 11px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.crm-product .ahrm-frag-mob-tile-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.crm-product .ahrm-frag-mob-tile-icon.a {
  background: rgba(245, 184, 0, 0.16);
}

.crm-product .ahrm-frag-mob-tile-icon.b {
  background: rgba(43, 126, 212, 0.14);
}

.crm-product .ahrm-frag-mob-tile-icon.c {
  background: rgba(42, 158, 82, 0.14);
}

.crm-product .ahrm-frag-mob-tile-icon.d {
  background: rgba(245, 158, 11, 0.16);
}

.crm-product .ahrm-frag-mob-tile-label {
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 800;
  color: #0e0d59;
}

.crm-product .ahrm-frag-mob-tile-sub {
  font-size: 8px;
  color: #94a3b8;
  margin-top: 1px;
}

/* Documents */
.crm-product .ahrm-frag-doc {
  position: relative;
  z-index: 2;
  width: 290px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.crm-product .ahrm-frag-doc-label {
  font-family: inherit;
  font-size: 9px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.crm-product .ahrm-frag-doc-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.crm-product .ahrm-frag-doc-item:last-child {
  border-bottom: none;
}

.crm-product .ahrm-frag-doc-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f7f5ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.crm-product .ahrm-frag-doc-name {
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  color: #0e0d59;
}

.crm-product .ahrm-frag-doc-meta {
  font-size: 9.5px;
  color: #94a3b8;
  margin-top: 1px;
}

.crm-product .ahrm-frag-doc-status {
  margin-left: auto;
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}

.crm-product .ahrm-frag-doc-status.ok {
  background: rgba(42, 158, 82, 0.12);
  color: #2a9e52;
}

.crm-product .ahrm-frag-doc-status.warn {
  background: rgba(245, 158, 11, 0.16);
  color: #f59e0b;
}

/* Self-service */
.crm-product .ahrm-frag-ss {
  position: relative;
  z-index: 2;
  width: 290px;
  max-width: 100%;
}

.crm-product .ahrm-frag-ss-req {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 15px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  margin-bottom: 9px;
}

.crm-product .ahrm-frag-ss-req-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
}

.crm-product .ahrm-frag-ss-req-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e0d59 0%, #1e3a7a 100%);
  color: #fbbc04;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 800;
}

.crm-product .ahrm-frag-ss-req-name {
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  color: #0e0d59;
}

.crm-product .ahrm-frag-ss-req-detail {
  font-size: 10px;
  color: #64748b;
  padding-left: 33px;
}

.crm-product .ahrm-frag-ss-arrow {
  text-align: center;
  color: #b8860b;
  font-size: 15px;
  margin: 1px 0;
}

.crm-product .ahrm-frag-ss-appr {
  background: linear-gradient(135deg, rgba(42, 158, 82, 0.08) 0%, #fff 100%);
  border: 1px solid rgba(42, 158, 82, 0.3);
  border-radius: 12px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.crm-product .ahrm-frag-ss-appr-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2a9e52;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.crm-product .ahrm-frag-ss-appr-text {
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  color: #0e0d59;
}

.crm-product .ahrm-frag-ss-appr-sub {
  font-size: 9.5px;
  color: #94a3b8;
  margin-top: 1px;
}

/* Analytics */
.crm-product .ahrm-frag-an {
  position: relative;
  z-index: 2;
  width: 300px;
  max-width: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.crm-product .ahrm-frag-an-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.crm-product .ahrm-frag-an-stat {
  background: #f7f5ef;
  border-radius: 10px;
  padding: 12px;
}

.crm-product .ahrm-frag-an-stat-label {
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.crm-product .ahrm-frag-an-stat-val {
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  color: #0e0d59;
  line-height: 1;
}

.crm-product .ahrm-frag-an-stat-val span {
  font-size: 10px;
  font-weight: 700;
}

.crm-product .ahrm-frag-an-stat-val .up {
  color: #d63b2e;
}

.crm-product .ahrm-frag-an-stat-val .down {
  color: #2a9e52;
}

.crm-product .ahrm-frag-an-chart-label {
  font-family: inherit;
  font-size: 8.5px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.crm-product .ahrm-frag-an-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 56px;
}

.crm-product .ahrm-frag-an-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #fbbc04 0%, #d9a200 100%);
}

.crm-product .ahrm-frag-an-bar.dim {
  background: #ede9e0;
}
