@font-face {
  font-family: "FSAlbert";
  src: url("https://www.ahdubai.com/fonts/FSAlbertArabic.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "FSAlbert";
  src: url("https://www.ahdubai.com/fonts/FSAlbertArabic-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.ahd-analytics{
  --ahd-navy: #00205b;
  --ahd-navy-deep: #001642;
  --ahd-navy-soft: #0b3772;
  --ahd-green: #00b140;
  --ahd-green-dark: #007c32;
  --ahd-lime: #92c740;
  --band-mint: #eef5f1;
  --ink: #13213c;
  --muted: #5e6b7f;
  --soft: #f3f6f8;
  --line: #dce4e8;
  --white: #ffffff;
  --warning: #8a5b00;
  --danger: #9a3434;
  --shadow-sm: 0 2px 12px rgba(0, 32, 91, 0.07);
  --shadow-md: 0 18px 44px rgba(0, 32, 91, 0.11);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --font: "FSAlbert", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

.ahd-analytics, .ahd-analytics *{
  box-sizing: border-box;
}

.ahd-analytics{
  scroll-behavior: smooth;
}

.ahd-analytics{
  margin: 0;
  color: var(--ink);
  background: #f6f8fa;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ahd-analytics button, .ahd-analytics select{
  font: inherit;
}

.ahd-analytics button, .ahd-analytics a, .ahd-analytics select{
  -webkit-tap-highlight-color: transparent;
}

.ahd-analytics a{
  color: inherit;
}

.ahd-analytics .portal-shell{
  min-height: 100vh;
  overflow: visible;
}

.ahd-analytics .skip-link{
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ahd-navy);
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transform: translateY(-150%);
}

.ahd-analytics .skip-link:focus{
  transform: translateY(0);
}

.ahd-analytics :focus-visible{
  outline: 3px solid var(--ahd-lime);
  outline-offset: 3px;
}

.ahd-analytics .site-header{
  position: relative;
  z-index: 20;
  color: white;
  background: var(--ahd-navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ahd-analytics .header-inner{
  width: min(1440px, calc(100% - 48px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ahd-analytics .brand-lockup{
  display: flex;
  align-items: center;
  min-width: 0;
}

.ahd-analytics .brand-lockup img{
  width: 212px;
  height: auto;
  object-fit: contain;
}

.ahd-analytics .brand-divider{
  width: 1px;
  height: 38px;
  margin: 0 20px;
  background: rgba(255, 255, 255, 0.28);
}

.ahd-analytics .brand-lockup > div{
  display: grid;
  gap: 2px;
  white-space: nowrap;
}

.ahd-analytics .brand-lockup strong{
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.ahd-analytics .brand-lockup span:last-child{
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ahd-analytics .site-header nav{
  display: flex;
  align-items: center;
  gap: 8px;
}

.ahd-analytics .site-header nav a{
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.92rem;
  transition: color 160ms ease, background 160ms ease;
}

.ahd-analytics .site-header nav a:hover{
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.ahd-analytics main{
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.ahd-analytics .hero{
  position: relative;
  min-height: 370px;
  margin-top: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  color: white;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 177, 64, 0.2), transparent 34%),
    linear-gradient(130deg, var(--ahd-navy-deep), var(--ahd-navy));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.ahd-analytics .hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ahd-green), var(--ahd-lime));
}

.ahd-analytics .hero-copy{
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 54px 58px 56px;
}

.ahd-analytics .eyebrow, .ahd-analytics .section-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ahd-green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ahd-analytics .hero .eyebrow{
  color: #8fe9ad;
}

.ahd-analytics .hero h1{
  max-width: 720px;
  margin: 18px 0 18px;
  font-size: clamp(2.25rem, 4.3vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.ahd-analytics .hero-copy > p{
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
  line-height: 1.65;
}

.ahd-analytics .hero-trust{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
}

.ahd-analytics .hero-trust span{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
}

.ahd-analytics .hero-trust svg, .ahd-analytics .hero-trust .pi{
  color: #88dda4;
}

.ahd-analytics .hero-visual{
  position: relative;
  min-height: 370px;
}

.ahd-analytics .hero-visual img{
  object-fit: cover;
  object-position: center;
}

.ahd-analytics .hero-visual span{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      #001642 0%,
      #001642 18%,
      rgba(0, 22, 66, 0.94) 32%,
      rgba(0, 32, 91, 0.62) 46%,
      rgba(0, 32, 91, 0.22) 60%,
      rgba(0, 32, 91, 0.04) 74%,
      transparent 88%
    );
}

.ahd-analytics .control-bar{
  position: relative;
  z-index: 4;
  min-height: 82px;
  margin: -1px 30px 0;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: white;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-sm);
}

.ahd-analytics .period-control{
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 1px 10px;
}

.ahd-analytics .period-control svg, .ahd-analytics .period-control .pi{
  grid-row: 1 / 3;
  color: var(--ahd-green-dark);
}

.ahd-analytics .period-control label{
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ahd-analytics .period-control select{
  min-width: 218px;
  padding: 1px 26px 1px 0;
  color: var(--ahd-navy);
  background: transparent;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.ahd-analytics .period-control select:disabled{
  opacity: 0.64;
  cursor: wait;
}

.ahd-analytics .period-status{
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.ahd-analytics .period-status > div{
  min-width: 0;
  display: grid;
}

.ahd-analytics .period-status strong{
  overflow: hidden;
  color: var(--ink);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ahd-analytics .period-status span:not(.status-dot):not(.partial-badge){
  color: var(--muted);
  font-size: 0.77rem;
}

.ahd-analytics .status-dot{
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  background: var(--ahd-green);
  border: 2px solid #bcebc9;
  border-radius: 999px;
  box-shadow: 0 0 0 3px #e9f8ed;
}

.ahd-analytics .partial-badge, .ahd-analytics .grain-label{
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #6d4a00;
  background: #fff3d7;
  border: 1px solid #f2d794;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.ahd-analytics .refresh-button, .ahd-analytics .secondary-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: white;
  background: var(--ahd-navy);
  border: 0;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.ahd-analytics .refresh-button:hover, .ahd-analytics .secondary-button:hover{
  background: var(--ahd-navy-soft);
  transform: translateY(-1px);
}

.ahd-analytics .refresh-button:disabled{
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.ahd-analytics .rotating{
  animation: rotate 1s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.ahd-analytics .loading-state, .ahd-analytics .error-state{
  margin: 28px 30px 0;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.ahd-analytics .loading-heading, .ahd-analytics .error-state{
  display: flex;
  align-items: center;
  gap: 16px;
}

.ahd-analytics .loading-heading > div, .ahd-analytics .error-state > div{
  display: grid;
  gap: 3px;
}

.ahd-analytics .loading-heading span:not(.spinner), .ahd-analytics .error-state p{
  margin: 0;
  color: var(--muted);
}

.ahd-analytics .spinner{
  width: 24px;
  height: 24px;
  border: 3px solid #d8e8dc;
  border-top-color: var(--ahd-green-dark);
  border-radius: 999px;
  animation: rotate 0.85s linear infinite;
}

.ahd-analytics .skeleton-grid{
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ahd-analytics .skeleton-grid span{
  height: 132px;
  background: linear-gradient(100deg, #f2f5f6 15%, #e6edef 35%, #f2f5f6 55%);
  background-size: 200% 100%;
  border-radius: var(--radius-sm);
  animation: shimmer 1.6s infinite linear;
}

@keyframes shimmer {
  to { background-position-x: -200%; }
}

.ahd-analytics .error-state{
  justify-content: flex-start;
  border-left: 4px solid var(--ahd-navy);
}

.ahd-analytics .error-state > svg, .ahd-analytics .error-state > .pi{
  color: var(--ahd-green-dark);
}

.ahd-analytics .error-state h2{
  margin: 0;
  font-size: 1.12rem;
}

.ahd-analytics .error-state .secondary-button{
  margin-left: auto;
}

.ahd-analytics .content-section{
  padding: 88px 30px 0;
  scroll-margin-top: 16px;
}

.ahd-analytics .section-heading{
  margin-bottom: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.ahd-analytics .section-heading h2{
  margin: 5px 0 0;
  color: var(--ahd-navy);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ahd-analytics .section-heading > p{
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  text-align: start;
}

.ahd-analytics .metric-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ahd-analytics .metric-card, .ahd-analytics .panel{
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.ahd-analytics .metric-card{
  position: relative;
  min-height: 312px;
  padding: 24px 22px 22px;
  overflow: visible;
}

.ahd-analytics .metric-card::before{
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  pointer-events: none;
  background: linear-gradient(var(--ahd-green), var(--ahd-lime));
  border-radius: inherit;
  -webkit-mask-image: linear-gradient(#000, #000);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 4px 100%;
  -webkit-mask-position: left;
  mask-image: linear-gradient(#000, #000);
  mask-repeat: no-repeat;
  mask-size: 4px 100%;
  mask-position: left;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: metric-accent-in 720ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.ahd-analytics .metric-heading{
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ahd-analytics .metric-icon, .ahd-analytics .panel-icon, .ahd-analytics .quality-icon{
  display: inline-grid;
  place-items: center;
  color: var(--ahd-navy);
  background: #edf5f0;
  border-radius: 9px;
}

.ahd-analytics .metric-icon{
  width: 38px;
  height: 38px;
  margin-right: 2px;
  font-size: 17px;
}

.ahd-analytics .metric-heading .info-tip{
  margin-inline-start: auto;
}

.ahd-analytics .metric-explainer{
  margin: 12px 0 0;
  min-height: 3.9em;
  color: #4a5568;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}

.ahd-analytics .metric-value{
  margin: 18px 0 0;
  color: var(--ahd-navy);
  font-size: clamp(38px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.ahd-analytics .metric-detail{
  min-height: 24px;
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.4;
}

.ahd-analytics .change{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 700;
}

.ahd-analytics .metric-card .change .pi {
  font-size: 14px;
}

.ahd-analytics .change.positive{ color: #007032; }
.ahd-analytics .change.negative{ color: var(--danger); }
.ahd-analytics .change.neutral{ color: #687386; }

.ahd-analytics .info-tip{
  position: relative;
  display: inline-flex;
}

.ahd-analytics .info-tip button{
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #687386;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: help;
}

.ahd-analytics .info-tip button:hover{
  color: var(--ahd-navy);
  background: var(--soft);
}

.ahd-analytics .tooltip{
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  bottom: auto;
  z-index: 120;
  width: min(280px, 75vw);
  padding: 10px 12px;
  color: white;
  background: var(--ahd-navy-deep);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.45;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.ahd-analytics .info-tip:hover .tooltip, .ahd-analytics .info-tip:focus-within .tooltip, .ahd-analytics .info-tip.is-open .tooltip{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ahd-analytics .baseline-note, .ahd-analytics .quality-footnote{
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 14px 4px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.ahd-analytics .baseline-note svg, .ahd-analytics .baseline-note .pi, .ahd-analytics .quality-footnote svg, .ahd-analytics .quality-footnote .pi{
  color: var(--ahd-green-dark);
}

.ahd-analytics .panel{
  padding: 24px;
}

.ahd-analytics .trend-card{
  margin-top: 18px;
}

.ahd-analytics .panel-heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ahd-analytics .panel-heading > div:first-child{
  display: flex;
  align-items: center;
  gap: 12px;
}

.ahd-analytics .panel-heading h3, .ahd-analytics .quality-grid h3{
  margin: 0;
  color: var(--ahd-navy);
  font-size: 1.06rem;
  letter-spacing: -0.012em;
}

.ahd-analytics .panel-heading p{
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.ahd-analytics .panel-icon{
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
}

.ahd-analytics .panel-heading.compact{
  margin-bottom: 22px;
}

.ahd-analytics .grain-label{
  color: #5e6b7f;
  background: #fff;
  border: 1px solid var(--line);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ahd-analytics .grain-toggle{
  display: inline-flex;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.ahd-analytics .grain-with-tip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ahd-analytics .grain-toggle button{
  appearance: none;
  min-height: 32px;
  padding: 0 12px;
  color: #5e6b7f;
  background: transparent;
  border: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.ahd-analytics .grain-toggle button.active{
  color: #fff;
  background: var(--ahd-navy);
}

.ahd-analytics .grain-toggle button:disabled{
  cursor: not-allowed;
  opacity: 0.45;
}

.ahd-analytics .trend-card .panel-icon{
  color: #fff;
  background: var(--ahd-navy);
  border-radius: 50%;
}

.ahd-analytics .trend-panel{
  margin-top: 22px;
}

.ahd-analytics .chart-toolbar{
  display: flex;
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.ahd-analytics .chart-metric{
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-bottom: -1px;
}

.ahd-analytics .chart-toolbar button{
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 2px 10px;
  margin: 0;
  color: #5e6b7f;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.ahd-analytics .chart-toolbar button.active{
  color: var(--ahd-navy);
  background: transparent;
  box-shadow: none;
  border-bottom-color: var(--ahd-green);
}

.ahd-analytics .chart-toolbar .info-tip button{
  width: 24px;
  height: 24px;
}

.ahd-analytics .chart-explainer{
  margin: 12px 0 0;
  max-width: 46rem;
  color: #4a5568;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}

.ahd-analytics .trend-chart{
  width: 100%;
  min-height: 250px;
  margin-top: 10px;
  overflow: visible;
  fill: none;
  cursor: crosshair;
}

.ahd-analytics .trend-plot{
  fill: transparent;
  pointer-events: all;
}

.ahd-analytics .trend-chart-wrap{
  position: relative;
  overflow: visible;
}

.ahd-analytics .grid-line{
  stroke: #e4eaee;
  stroke-width: 1;
}

.ahd-analytics .axis-label{
  fill: #6d7889;
  font-family: var(--font);
  font-size: 11px;
}

.ahd-analytics .x-axis{
  font-weight: 700;
}

.ahd-analytics .trend-area{
  fill: #00b140;
  fill-opacity: 0.16;
}

.ahd-analytics .trend-line{
  fill: none !important;
  stroke: var(--ahd-green);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.ahd-analytics .trend-dot{
  fill: #fff;
  stroke: var(--ahd-green);
  stroke-width: 2.5;
  pointer-events: none;
}

.ahd-analytics .trend-dot.is-active{
  fill: var(--ahd-green);
}

.ahd-analytics .trend-hit{
  fill: transparent;
  stroke: none;
  pointer-events: none;
}

.ahd-analytics .trend-tooltip{
  position: absolute;
  z-index: 3;
  min-width: 132px;
  padding: 8px 10px;
  color: #fff;
  background: var(--ahd-navy);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(7, 21, 43, 0.18);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  white-space: nowrap;
}

.ahd-analytics .trend-tooltip strong,
.ahd-analytics .trend-tooltip span{
  display: block;
}

.ahd-analytics .trend-tooltip strong{
  font-size: 0.78rem;
}

.ahd-analytics .trend-tooltip span{
  margin-top: 2px;
  font-size: 0.92rem;
  font-weight: 700;
}

.ahd-analytics .chart-legend{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.73rem;
}

.ahd-analytics .chart-legend span{
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ahd-analytics .legend-line{
  width: 22px;
  height: 3px;
  background: var(--ahd-green);
  border-radius: 999px;
}

.ahd-analytics .two-column-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ahd-analytics .platform-list{
  display: grid;
  gap: 22px;
}

.ahd-analytics .platform-visual{
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 220px;
}

.ahd-analytics .platform-donut{
  position: relative;
  width: 168px;
  height: 168px;
}

.ahd-analytics .platform-donut svg{
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ahd-analytics .platform-donut .donut-track,
.ahd-analytics .platform-donut .donut-fill{
  fill: none;
  stroke-width: 12;
}

.ahd-analytics .platform-donut .donut-track{
  stroke: #16385f;
}

.ahd-analytics .platform-donut .donut-fill{
  stroke: var(--ahd-green);
  stroke-linecap: round;
}

.ahd-analytics .donut-center{
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.ahd-analytics .donut-center span{
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.ahd-analytics .donut-center strong{
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.ahd-analytics .platform-card{
  color: #fff;
  background: var(--ahd-navy-deep);
  border: 0;
}

.ahd-analytics .platform-card .panel-heading h3{
  color: #fff;
}

.ahd-analytics .platform-card .panel-heading p{
  color: rgba(255, 255, 255, 0.58);
}

.ahd-analytics .platform-card .panel-icon{
  color: #fff;
  background: var(--ahd-green);
  border-radius: 50%;
}

.ahd-analytics .platform-card .info-tip button{
  color: rgba(255, 255, 255, 0.72);
}

.ahd-analytics .platform-card .info-tip button:hover{
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.ahd-analytics .platform-card .platform-label strong,
.ahd-analytics .platform-card .platform-share{
  color: #fff;
}

.ahd-analytics .platform-card .platform-label span{
  color: rgba(255, 255, 255, 0.55);
}

.ahd-analytics .platform-card .bar-track{
  background: rgba(255, 255, 255, 0.12);
}

.ahd-analytics .platform-card .empty-inline{
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.ahd-analytics .geography-card{
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ahd-analytics .geography-card .panel-icon{
  color: #fff;
  background: var(--ahd-navy);
  border-radius: 50%;
}

.ahd-analytics .geography-card .location-list{
  flex: 1;
}

.ahd-analytics .platform-row{
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr auto;
  align-items: center;
  gap: 14px;
}

.ahd-analytics .platform-label{
  display: grid;
}

.ahd-analytics .platform-label strong{
  color: var(--ahd-navy);
}

.ahd-analytics .platform-label span{
  color: var(--muted);
  font-size: 0.75rem;
}

.ahd-analytics .bar-track{
  position: relative;
  min-width: 0;
  width: 100%;
  height: 10px;
  overflow: hidden;
  background: #e6ecef;
  border-radius: 999px;
}

.ahd-analytics .bar-track span{
  display: block;
  height: 100%;
  max-width: 100%;
  background: var(--ahd-green);
  border-radius: inherit;
}

.ahd-analytics .platform-share{
  min-width: 48px;
  color: var(--ahd-navy);
  text-align: end;
}

.ahd-analytics .location-list{
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.ahd-analytics .location-list li{
  min-height: 53px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #edf0f2;
}

.ahd-analytics .location-list li:last-child{
  border-bottom: 0;
}

.ahd-analytics .rank{
  padding-inline-end: 12px;
  color: #8290a0;
  border-inline-end: 1px solid #e6ecef;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ahd-analytics .location-list li > span:nth-child(2){
  min-width: 0;
  display: grid;
}

.ahd-analytics .location-list strong{
  overflow: hidden;
  color: var(--ink);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ahd-analytics .location-list small{
  color: var(--muted);
  font-size: 0.72rem;
}

.ahd-analytics .location-share{
  color: var(--ahd-green);
  font-size: 0.82rem;
  font-weight: 700;
}

.ahd-analytics .experience-section{
  margin-top: 0;
  padding-top: 48px;
  padding-bottom: 72px;
  background: var(--band-mint);
  border-radius: var(--radius-lg);
}

.ahd-analytics .experience-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 22px;
}

.ahd-analytics .ranked-bars{
  display: grid;
  gap: 0;
}

.ahd-analytics .ranked-row{
  display: grid;
  grid-template-columns: minmax(128px, 0.42fr) minmax(180px, 1fr) minmax(88px, auto);
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f3;
}

.ahd-analytics .ranked-row:last-child{
  border-bottom: 0;
}

.ahd-analytics .ranked-label{
  min-width: 0;
  display: grid;
}

.ahd-analytics .ranked-label strong{
  overflow: hidden;
  color: var(--ink);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ahd-analytics .ranked-label span, .ahd-analytics .ranked-value{
  color: var(--muted);
  font-size: 0.71rem;
}

.ahd-analytics .ranked-value{
  color: var(--ahd-navy);
  font-weight: 700;
  text-align: end;
}

.ahd-analytics .feature-list{
  display: grid;
  gap: 12px;
}

.ahd-analytics .feature-row{
  position: relative;
  min-height: 92px;
  padding: 16px 16px 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  background: #f8fafb;
  border: 1px solid #e6ecef;
  border-radius: var(--radius-sm);
}

.ahd-analytics .feature-family{
  color: var(--ahd-green);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ahd-analytics .feature-row h4{
  margin: 2px 0 1px;
  color: var(--ahd-navy);
  font-size: 0.88rem;
}

.ahd-analytics .feature-row p{
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.ahd-analytics .feature-metrics{
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0 5px;
  text-align: right;
}

.ahd-analytics .feature-metrics strong{
  color: var(--ahd-navy);
  font-size: 0.84rem;
}

.ahd-analytics .feature-metrics span{
  color: var(--muted);
  font-size: 0.68rem;
}

.ahd-analytics .feature-bar{
  position: absolute;
  left: 0;
  bottom: 0;
  height: 8px;
  max-width: 100%;
  background: var(--ahd-green);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.ahd-analytics .empty-inline{
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 22px;
  color: var(--muted);
  background: var(--soft);
  border: 1px dashed #cad5da;
  border-radius: var(--radius-sm);
  text-align: center;
}

.ahd-analytics .quality-section{
  padding-bottom: 88px;
}

.ahd-analytics .quality-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ahd-analytics .quality-grid article{
  min-height: 220px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ahd-analytics .quality-grid .readiness-card{
  color: white;
  background: var(--ahd-navy);
  border-color: var(--ahd-navy);
}

.ahd-analytics .quality-icon{
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
}

.ahd-analytics .quality-grid h3{
  margin-bottom: 8px;
}

.ahd-analytics .quality-grid p{
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.62;
}

.ahd-analytics .quality-grid .readiness-card h3{
  color: white;
}

.ahd-analytics .quality-grid .readiness-card p{
  color: rgba(255, 255, 255, 0.73);
}

.ahd-analytics .quality-grid .readiness-card .quality-icon{
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.ahd-analytics .quality-footnote{
  margin-top: 18px;
}

.ahd-analytics footer{
  min-height: 118px;
  padding: 28px max(24px, calc((100% - 1380px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
  background: var(--ahd-navy-deep);
}

.ahd-analytics footer > div{
  display: grid;
}

.ahd-analytics footer strong{
  font-size: 0.94rem;
}

.ahd-analytics footer span, .ahd-analytics footer p{
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
}

.ahd-analytics footer p{
  letter-spacing: 0.04em;
}

/* AHD Analytics v2 */

.ahd-analytics .header-inner{
  width: min(1540px, calc(100% - 40px));
  min-height: 92px;
  gap: 20px;
}

.ahd-analytics .desktop-nav{
  flex: 1 1 auto;
  justify-content: center;
}

.ahd-analytics .site-header .desktop-nav a{
  padding: 9px 9px;
  white-space: nowrap;
}

.ahd-analytics .header-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.ahd-analytics .header-action, .ahd-analytics .mobile-menu-actions a{
  min-height: 38px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.ahd-analytics .header-action:hover, .ahd-analytics .mobile-menu-actions a:hover{
  color: white;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.22);
}

.ahd-analytics .guide-action{
  color: white;
  background: rgba(0, 177, 64, 0.16);
  border-color: rgba(143, 233, 173, 0.3);
}

.ahd-analytics .language-switch{
  min-height: 38px;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
}

.ahd-analytics .language-switch svg, .ahd-analytics .language-switch .pi{
  margin-inline-end: 2px;
}

.ahd-analytics .language-switch button{
  padding: 3px 4px;
  color: rgba(255, 255, 255, 0.64);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.ahd-analytics .language-switch button.active, .ahd-analytics .language-switch button:hover{
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.ahd-analytics .mobile-menu-button{
  width: 40px;
  height: 40px;
  padding: 0;
  display: none;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  cursor: pointer;
}

.ahd-analytics .mobile-menu{
  display: none;
}

.ahd-analytics .monthly-brief{
  margin-top: 18px;
  overflow: hidden;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 94% 0%, rgba(146, 199, 64, 0.12), transparent 31%),
    white;
}

.ahd-analytics .monthly-brief:not(:has(.partial-month-note)) {
  padding-bottom: 24px;
}

.ahd-analytics .monthly-heading > div:first-child > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ahd-analytics .monthly-heading h3 {
  order: 1;
  margin: 0;
  font-size: 1.18rem;
}

.ahd-analytics .monthly-heading .section-kicker {
  order: 2;
  margin-top: 8px;
}

.ahd-analytics .monthly-heading p {
  order: 3;
}

.ahd-analytics .monthly-heading{
  align-items: flex-start;
}

.ahd-analytics .monthly-heading > div:first-child{
  align-items: flex-start;
}

.ahd-analytics .month-comparison{
  padding: 8px 11px;
  display: grid;
  color: var(--muted);
  background: #eef5f1;
  border: 1px solid #d9e8df;
  border-radius: 10px;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: end;
}

.ahd-analytics .month-comparison strong{
  color: var(--ahd-navy);
  font-size: 0.86rem;
}

.ahd-analytics .monthly-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.ahd-analytics .monthly-stat{
  position: relative;
  min-width: 0;
  padding: 8px 20px 4px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 3px 8px;
  background: transparent;
  border: 0;
  border-inline-end: 1px solid var(--line);
  border-radius: 0;
}

.ahd-analytics .monthly-stat:last-child{
  border-inline-end: 0;
  padding-inline-end: 0;
}

.ahd-analytics .monthly-stat:not(:first-child){
  padding-inline-start: 20px;
}

.ahd-analytics .monthly-stat-icon{
  width: 29px;
  height: 29px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  color: var(--ahd-green-dark);
  background: #e9f6ee;
  border-radius: 8px;
}

.ahd-analytics .monthly-stat-label{
  overflow: hidden;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ahd-analytics .monthly-stat-explain{
  grid-column: 2;
  margin: 0 0 6px;
  color: #4a5568;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
}

.ahd-analytics .monthly-stat > strong{
  grid-column: 2;
  color: var(--ahd-navy);
  font-size: 1.35rem;
  line-height: 1.05;
}

.ahd-analytics .monthly-stat .change, .ahd-analytics .monthly-stat small{
  grid-column: 1 / 3;
}

.ahd-analytics .monthly-stat .change{
  margin-top: 9px;
  color: #007032;
  white-space: normal;
}

.ahd-analytics .monthly-stat .change.negative{
  color: var(--danger);
}

.ahd-analytics .monthly-stat .change.neutral{
  color: #687386;
}

.ahd-analytics .monthly-stat small{
  color: var(--muted);
  font-size: 0.68rem;
}

.ahd-analytics .partial-month-note{
  margin: 18px -24px 0;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6d4a00;
  background: #f4ebd0;
  font-size: 0.78rem;
  line-height: 1.4;
}

.ahd-analytics .partial-month-note .pi{
  flex: 0 0 auto;
  color: var(--ahd-green);
}

.ahd-analytics .journey-section{
  margin-top: 88px;
  padding: 76px 40px;
  background:
    radial-gradient(circle at 92% 8%, rgba(0, 177, 64, 0.1), transparent 28%),
    #eef3f4;
  border-radius: var(--radius-lg);
}

.ahd-analytics .journey-heading-note{
  margin: -8px 0 20px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(210, 222, 225, 0.9);
  border-radius: 11px;
  font-size: 0.8rem;
}

.ahd-analytics .journey-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ahd-analytics .journey-card{
  position: relative;
  min-height: 220px;
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.ahd-analytics .journey-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--ahd-green), var(--ahd-lime));
  transform: scaleX(0);
  transform-origin: left;
  animation: bar-fill 820ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.ahd-analytics .journey-card h3{
  margin: 7px 0 8px;
  color: var(--ahd-navy);
  font-size: 1rem;
  line-height: 1.22;
}

.ahd-analytics .journey-card > p{
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.48;
}

.ahd-analytics .journey-metrics{
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid #edf0f2;
}

.ahd-analytics .journey-metrics span{
  min-width: 0;
  display: grid;
  color: var(--muted);
  font-size: 0.67rem;
}

.ahd-analytics .journey-metrics strong{
  color: var(--ahd-navy);
  font-size: 1.08rem;
}

.ahd-analytics .limitation-card{
  color: white;
  background: var(--ahd-navy);
  border-color: var(--ahd-navy);
}

.ahd-analytics .limitation-card .feature-family, .ahd-analytics .limitation-card h3, .ahd-analytics .limitation-card > strong{
  color: white;
}

.ahd-analytics .limitation-card > strong{
  margin: auto 0 8px;
  font-size: 0.92rem;
}

.ahd-analytics .limitation-card > p{
  color: rgba(255, 255, 255, 0.7);
}

.ahd-analytics .subsection-heading{
  margin: 54px 0 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ahd-analytics .subsection-heading > div:first-child{
  display: flex;
  align-items: center;
  gap: 12px;
}

.ahd-analytics .subsection-heading h2{
  margin: 0;
  color: var(--ahd-navy);
  font-size: 1.55rem;
}

.ahd-analytics .subsection-heading p{
  max-width: 760px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.ahd-analytics .content-section.experience-section,
.ahd-analytics .content-section.audience-section{
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 48px max(32px, calc((100% - 1440px) / 2 + 32px)) 72px;
  background: var(--band-mint);
  border-radius: 0;
}

.ahd-analytics .content-section.experience-section{
  margin-top: 0;
}

.ahd-analytics .content-section.audience-section{
  margin-top: 0;
}

.ahd-analytics .audience-section .two-column-grid{
  align-items: stretch;
  gap: 22px;
}

.ahd-analytics .experience-section .section-heading,
.ahd-analytics .audience-section .section-heading{
  margin-bottom: 22px;
}

.ahd-analytics .experience-section .section-heading h2,
.ahd-analytics .audience-section .section-heading h2{
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}

.ahd-analytics .experience-section .section-kicker,
.ahd-analytics .audience-section .section-kicker{
  font-size: 0.82rem;
}

.ahd-analytics .experience-section .section-heading > p,
.ahd-analytics .audience-section .section-heading > p{
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.55;
}

.ahd-analytics .experience-section .panel-heading h3,
.ahd-analytics .audience-section .panel-heading h3{
  font-size: 1.28rem;
}

.ahd-analytics .experience-section .panel-heading p,
.ahd-analytics .audience-section .panel-heading p{
  font-size: 0.95rem;
}

.ahd-analytics .experience-section .list-count,
.ahd-analytics .audience-section .list-count{
  font-size: 0.82rem;
}

.ahd-analytics .ranked-label strong{
  font-size: 1.05rem;
}

.ahd-analytics .ranked-label span{
  font-size: 0.88rem;
}

.ahd-analytics .ranked-value{
  font-size: 0.95rem;
}

.ahd-analytics .feature-family{
  font-size: 0.78rem;
}

.ahd-analytics .feature-row h4{
  font-size: 1.08rem;
}

.ahd-analytics .feature-row p{
  font-size: 0.88rem;
  line-height: 1.45;
}

.ahd-analytics .feature-metrics strong{
  font-size: 1.02rem;
}

.ahd-analytics .feature-metrics span{
  font-size: 0.82rem;
}

.ahd-analytics .platform-label strong,
.ahd-analytics .location-list strong{
  font-size: 1.05rem;
}

.ahd-analytics .platform-label span,
.ahd-analytics .location-list small{
  font-size: 0.88rem;
}

.ahd-analytics .platform-share,
.ahd-analytics .location-share{
  font-size: 1rem;
}

.ahd-analytics .donut-center span{
  font-size: 0.92rem;
}

.ahd-analytics .donut-center strong{
  font-size: 1.85rem;
}

.ahd-analytics .experience-grid{
  align-items: stretch;
}

.ahd-analytics .screen-card, .ahd-analytics .feature-card{
  min-width: 0;
}

.ahd-analytics .list-count{
  width: 100%;
  margin: -6px 0 8px;
  padding: 8px 12px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 8px;
  font-size: 0.67rem;
  font-weight: 700;
  text-align: end;
}

.ahd-analytics .scroll-list{
  max-height: 560px;
  padding-inline-end: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

.ahd-analytics .scroll-list::-webkit-scrollbar{
  width: 9px;
}

.ahd-analytics .scroll-list::-webkit-scrollbar-track{
  background: #edf1f2;
  border-radius: 999px;
}

.ahd-analytics .scroll-list::-webkit-scrollbar-thumb{
  background: #aebbc1;
  border: 2px solid #edf1f2;
  border-radius: 999px;
}

.ahd-analytics .scroll-list:focus-visible{
  border-radius: 8px;
}

.ahd-analytics .feature-list.scroll-list{
  padding-inline-end: 8px;
}

.ahd-analytics .audience-section{
  padding-top: 76px;
}

.ahd-analytics .compact-scroll{
  max-height: 400px;
}

.ahd-analytics .reading-path{
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  overflow: hidden;
  background: var(--ahd-navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.ahd-analytics .reading-path article{
  position: relative;
  min-height: 218px;
  padding: 22px;
  color: white;
  background: var(--ahd-navy);
}

.ahd-analytics .reading-path article > span{
  position: absolute;
  top: 15px;
  inset-inline-end: 17px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ahd-analytics .reading-path article > svg, .ahd-analytics .reading-path article > .pi{
  margin-bottom: 34px;
  color: #8fe9ad;
}

.ahd-analytics .reading-path h3{
  margin: 0 0 8px;
  font-size: 1rem;
}

.ahd-analytics .reading-path p{
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.55;
}

.ahd-analytics .quality-grid article{
  min-height: 238px;
}

.ahd-analytics .quality-grid article small{
  margin-top: 14px;
  display: block;
  color: var(--ahd-green-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.ahd-analytics .instrumentation-note{
  margin-top: 18px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.8rem;
}

.ahd-analytics .instrumentation-note svg, .ahd-analytics .instrumentation-note .pi{
  flex: 0 0 auto;
  color: var(--ahd-green-dark);
}

.ahd-analytics .footer-actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

.ahd-analytics .footer-actions a{
  min-height: 38px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  font-size: 0.77rem;
  font-weight: 700;
  text-decoration: none;
}

.ahd-analytics .footer-actions .powered-link{
  color: white;
  background: rgba(0, 177, 64, 0.18);
  border-color: rgba(143, 233, 173, 0.38);
  letter-spacing: 0.025em;
}

.ahd-analytics .footer-actions a:hover{
  background: rgba(255, 255, 255, 0.12);
}

.ahd-analytics [dir="rtl"] .section-heading > p, .ahd-analytics [dir="rtl"] .feature-metrics, .ahd-analytics [dir="rtl"] .platform-share{
  text-align: left;
}

.ahd-analytics [dir="rtl"] .metric-card::before{
  left: 0;
  right: 0;
  -webkit-mask-position: right;
  mask-position: right;
}

.ahd-analytics [dir="rtl"] .tooltip{
  right: auto;
  left: 0;
}

.ahd-analytics [dir="rtl"] .bar-track span, .ahd-analytics [dir="rtl"] .feature-bar, .ahd-analytics [dir="rtl"] .journey-card::before{
  transform-origin: right center;
}

.ahd-analytics [dir="rtl"] .feature-bar{
  right: 0;
  left: auto;
}

@keyframes bar-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes metric-accent-in {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@media (max-width: 1180px) {
  .ahd-analytics .header-inner, .ahd-analytics main{
    width: min(100% - 32px, 1180px);
  }

  .ahd-analytics .site-header .desktop-nav{
    display: none;
  }

  .ahd-analytics .mobile-menu-button{
    display: grid;
  }

  .ahd-analytics .header-actions .header-action{
    display: none;
  }

  .ahd-analytics .mobile-menu.open{
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
    padding: 0 0 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
  }

  .ahd-analytics .site-header .mobile-menu nav{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .ahd-analytics .mobile-menu-actions{
    display: flex;
    gap: 7px;
  }

  .ahd-analytics .metric-grid, .ahd-analytics .quality-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .ahd-analytics .monthly-grid, .ahd-analytics .reading-path{
    grid-template-columns: repeat(2, 1fr);
  }

  .ahd-analytics .journey-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ahd-analytics .experience-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .ahd-analytics .header-inner{
    width: min(100% - 24px, 900px);
  }

  .ahd-analytics .mobile-menu.open{
    width: min(100% - 24px, 900px);
    grid-template-columns: 1fr;
  }

  .ahd-analytics .mobile-menu-actions{
    justify-content: flex-start;
  }

  .ahd-analytics .hero{
    grid-template-columns: 1fr;
  }

  .ahd-analytics .hero-copy{
    padding: 48px 38px 52px;
  }

  .ahd-analytics .hero-visual{
    position: absolute;
    inset: 0 0 0 45%;
    opacity: 0.3;
  }

  .ahd-analytics .control-bar{
    grid-template-columns: 1fr auto;
  }

  .ahd-analytics .period-status{
    grid-column: 1 / 3;
    grid-row: 2;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .ahd-analytics .two-column-grid{
    grid-template-columns: 1fr;
  }

  .ahd-analytics .journey-section, .ahd-analytics .experience-section, .ahd-analytics .audience-section{
    padding-right: 28px;
    padding-left: 28px;
  }

  .ahd-analytics .journey-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ahd-analytics .section-heading{
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .ahd-analytics .section-heading > p{
    max-width: 680px;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .ahd-analytics .header-inner, .ahd-analytics main{
    width: min(100% - 20px, 680px);
  }

  .ahd-analytics .header-inner{
    min-height: 82px;
  }

  .ahd-analytics .header-actions{
    gap: 6px;
  }

  .ahd-analytics .language-switch{
    padding-inline: 6px;
  }

  .ahd-analytics .language-switch svg, .ahd-analytics .language-switch .pi{
    display: none;
  }

  .ahd-analytics .mobile-menu.open{
    width: min(100% - 20px, 680px);
    padding-bottom: 14px;
  }

  .ahd-analytics .site-header .mobile-menu nav{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .ahd-analytics .site-header .mobile-menu nav a{
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  .ahd-analytics .mobile-menu-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ahd-analytics .mobile-menu-actions a{
    justify-content: center;
  }

  .ahd-analytics .brand-lockup img{
    width: 164px;
  }

  .ahd-analytics .brand-divider{
    height: 30px;
    margin: 0 12px;
  }

  .ahd-analytics .brand-lockup > div{
    display: none;
  }

  .ahd-analytics .hero{
    min-height: 410px;
    margin-top: 10px;
    border-radius: 20px;
  }

  .ahd-analytics .hero-copy{
    padding: 40px 25px 45px;
  }

  .ahd-analytics .hero h1{
    margin-top: 14px;
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .ahd-analytics .hero-copy > p{
    font-size: 1rem;
  }

  .ahd-analytics .hero-visual{
    inset: 48% 0 0;
    opacity: 0.18;
  }

  .ahd-analytics .control-bar{
    margin: 0 6px;
    padding: 16px;
    gap: 14px;
    border-radius: 0 0 16px 16px;
  }

  .ahd-analytics .period-control select{
    min-width: 0;
    max-width: 205px;
  }

  .ahd-analytics .refresh-button{
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .ahd-analytics .refresh-button svg, .ahd-analytics .refresh-button .pi{
    width: 18px;
    height: 18px;
  }

  .ahd-analytics .period-status{
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ahd-analytics .period-status .partial-badge{
    margin-left: 19px;
  }

  .ahd-analytics .loading-state, .ahd-analytics .error-state{
    margin: 18px 6px 0;
    padding: 20px;
  }

  .ahd-analytics .error-state{
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .ahd-analytics .error-state .secondary-button{
    width: 100%;
    margin-left: 0;
  }

  .ahd-analytics .skeleton-grid, .ahd-analytics .metric-grid, .ahd-analytics .quality-grid, .ahd-analytics .monthly-grid, .ahd-analytics .reading-path, .ahd-analytics .journey-grid{
    grid-template-columns: 1fr;
  }

  .ahd-analytics .content-section{
    padding: 62px 6px 0;
  }

  .ahd-analytics .content-section.experience-section,
  .ahd-analytics .content-section.audience-section{
    margin-top: 0;
    padding: 40px 16px 52px;
  }

  .ahd-analytics .journey-section{
    margin-top: 62px;
    padding: 58px 16px;
    border-radius: 20px;
  }

  .ahd-analytics .journey-heading-note{
    align-items: flex-start;
  }

  .ahd-analytics .journey-card{
    min-height: 196px;
  }

  .ahd-analytics .subsection-heading{
    margin-top: 44px;
  }

  .ahd-analytics .subsection-heading > div:first-child{
    align-items: flex-start;
  }

  .ahd-analytics .monthly-heading{
    flex-direction: column;
  }

  .ahd-analytics .month-comparison{
    width: 100%;
    text-align: start;
  }

  .ahd-analytics .monthly-stat{
    grid-template-columns: auto 1fr;
  }

  .ahd-analytics .reading-path{
    gap: 1px;
  }

  .ahd-analytics .reading-path article{
    min-height: 190px;
  }

  .ahd-analytics .quality-section{
    padding-bottom: 62px;
  }

  .ahd-analytics .metric-card{
    min-height: 280px;
  }

  .ahd-analytics .metric-explainer{
    min-height: 0;
  }

  .ahd-analytics .panel{
    padding: 18px;
  }

  .ahd-analytics .monthly-brief:not(:has(.partial-month-note)) {
    padding-bottom: 18px;
  }

  .ahd-analytics .partial-month-note{
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .ahd-analytics .panel-heading{
    align-items: flex-start;
  }

  .ahd-analytics .trend-chart{
    min-height: 210px;
  }

  .ahd-analytics .chart-legend{
    align-items: flex-start;
    flex-direction: column;
  }

  .ahd-analytics .platform-visual{
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .ahd-analytics .platform-row{
    grid-template-columns: 94px 1fr;
  }

  .ahd-analytics .platform-share{
    grid-column: 2;
    text-align: start;
  }

  .ahd-analytics .ranked-row{
    grid-template-columns: minmax(120px, 0.46fr) minmax(140px, 1fr);
  }

  .ahd-analytics .ranked-value{
    grid-column: 2;
  }

  .ahd-analytics .feature-row{
    grid-template-columns: 1fr;
  }

  .ahd-analytics .feature-metrics{
    width: fit-content;
    text-align: left;
  }

  .ahd-analytics .scroll-list{
    max-height: 490px;
  }

  .ahd-analytics footer{
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 24px;
  }

  .ahd-analytics .footer-actions{
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .ahd-analytics .footer-actions a{
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ahd-analytics{ scroll-behavior: auto; }
  .ahd-analytics, .ahd-analytics *, .ahd-analytics *::before, .ahd-analytics *::after{
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


.ahd-analytics .portal-shell {
  min-height: calc(100vh - 6.5rem);
}

.ahd-analytics .hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ahd-analytics .pi {
  line-height: 1;
}

.layout-main-content:has(.ahd-analytics) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.ahd-analytics #main-content,
.ahd-analytics .content-section {
  scroll-margin-top: 5rem;
}

.ahd-analytics .skip-link:not(:focus):not(:focus-visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.layout-wrapper.layout-dashboard-page .layout-main,
.layout-wrapper.layout-dashboard-page .layout-main-content {
  overflow: visible !important;
}

.layout-wrapper.layout-dashboard-page .layout-main-content {
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.layout-wrapper.layout-dashboard-page .layout-header-fixed {
  height: 0;
  min-height: 0;
  overflow: visible;
  background: transparent;
}

.ahd-analytics main {
  width: 100%;
  max-width: none;
  margin: 0;
}

.ahd-analytics .site-header {
  position: fixed;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
  height: 70px;
  color: var(--ahd-navy);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.ahd-analytics .header-inner {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  min-height: 70px !important;
  height: 70px;
  padding: 0 20px;
  overflow: hidden;
}

.ahd-analytics .header-lead {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.ahd-analytics .brand-lockup {
  gap: 10px;
}

.ahd-analytics .brand-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ahd-navy);
}

.ahd-analytics .brand-mark img,
.ahd-analytics .brand-lockup img {
  width: 32px;
  height: auto;
  max-height: 32px;
  object-fit: contain;
}

.ahd-analytics .brand-lockup strong {
  color: var(--ahd-navy);
  font-size: 0.95rem;
  line-height: 1.15;
}

.ahd-analytics .brand-lockup span:last-child {
  color: #7b8796;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ahd-analytics .desktop-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.ahd-analytics .site-header nav a,
.ahd-analytics .site-header .desktop-nav a {
  position: relative;
  padding: 6px 10px 8px;
  color: #5e6b7f;
  background: transparent;
  border-radius: 0;
  font-size: 0.86rem;
  font-weight: 600;
}

.ahd-analytics .site-header nav a:hover,
.ahd-analytics .site-header .desktop-nav a:hover {
  color: var(--ahd-navy);
  background: transparent;
}

.ahd-analytics .site-header nav a.active,
.ahd-analytics .site-header .desktop-nav a.active {
  color: var(--ahd-navy);
  font-weight: 700;
}

.ahd-analytics .site-header nav a.active::after,
.ahd-analytics .site-header .desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  background: var(--ahd-green);
  border-radius: 2px;
}

.ahd-analytics .header-actions {
  gap: 12px;
}

.ahd-analytics .header-action,
.ahd-analytics .mobile-menu-actions a,
.ahd-analytics .refresh-button,
.ahd-analytics .secondary-button {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
}

.ahd-analytics .header-action,
.ahd-analytics .mobile-menu-actions a {
  min-height: 40px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ahd-navy);
  background: #fff;
  border: 1px solid #d5dee5;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.ahd-analytics .header-action svg,
.ahd-analytics .mobile-menu-actions a svg,
.ahd-analytics .language-switch svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ahd-analytics .header-action:hover,
.ahd-analytics .mobile-menu-actions a:hover {
  color: var(--ahd-navy);
  background: #f7f9fb;
  border-color: #c8d2d8;
}

.ahd-analytics .guide-action,
.ahd-analytics .mobile-menu-actions a:first-child {
  color: #fff !important;
  background: var(--ahd-navy) !important;
  border-color: var(--ahd-navy) !important;
}

.ahd-analytics .guide-action:hover,
.ahd-analytics .mobile-menu-actions a:first-child:hover {
  background: var(--ahd-navy-soft) !important;
}

.ahd-analytics .cms-menu-button,
.ahd-analytics .header-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--ahd-navy) !important;
  background: #fff;
  border: 1px solid #d5dee5;
  border-radius: 10px;
  text-decoration: none !important;
}

.ahd-analytics .cms-menu-button:hover {
  background: #f7f9fb;
  color: var(--ahd-navy) !important;
}

.ahd-analytics .mobile-menu-button {
  color: var(--ahd-navy) !important;
  background: #fff;
  border: 1px solid #d5dee5;
}

.ahd-analytics .header-logout {
  color: #9a3434 !important;
}

.ahd-analytics .header-logout:hover {
  background: #fdecec;
  color: #9a3434 !important;
}

.ahd-analytics .header-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 180px;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--ahd-navy);
  background: #fff;
  border: 1px solid #d5dee5;
  border-radius: 10px;
}

.ahd-analytics .header-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.ahd-analytics .language-switch {
  min-height: 40px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8a94a3;
  background: #fff;
  border: 1px solid #d5dee5;
  border-radius: 10px;
}

.ahd-analytics .language-switch > span {
  color: var(--ahd-navy);
  font-weight: 700;
}

.ahd-analytics .language-switch button {
  appearance: none;
  -webkit-appearance: none;
  min-height: 0;
  padding: 0;
  color: var(--ahd-navy) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ahd-analytics .language-switch button.active,
.ahd-analytics .language-switch button:hover {
  color: var(--ahd-navy) !important;
  background: transparent !important;
  font-weight: 800;
}

.ahd-analytics .hero {
  position: relative;
  display: block;
  width: 100%;
  height: calc(100vh - 70px);
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.ahd-analytics .hero-visual {
  position: absolute;
  inset: 0;
  min-height: 0;
  line-height: 0;
}

.ahd-analytics .hero-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}

.ahd-analytics .hero-visual span {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      #001642 0%,
      #001642 38%,
      rgba(0, 22, 66, 0.95) 52%,
      rgba(0, 32, 91, 0.72) 66%,
      rgba(0, 32, 91, 0.38) 80%,
      rgba(0, 22, 66, 0.12) 100%
    );
}

.ahd-analytics .hero-copy {
  position: absolute;
  z-index: 2;
  inset-inline-start: max(32px, calc((100% - 1440px) / 2 + 32px));
  inset-inline-end: auto;
  top: 0;
  bottom: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(760px, calc(100% - 64px));
  margin: 0;
  padding: 0;
}

.ahd-analytics .hero h1 {
  max-width: 720px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.ahd-analytics .hero-copy > p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.65;
}

.ahd-analytics .hero .control-bar {
  position: absolute;
  z-index: 4;
  inset-inline-start: max(32px, calc((100% - 1440px) / 2 + 32px));
  bottom: 28px;
  width: min(900px, calc(100% - 64px));
  min-height: 76px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
  color: #fff;
  background: var(--ahd-navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 22, 66, 0.28);
}

.ahd-analytics .hero .period-control {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  padding: 14px 22px 14px 18px;
  background: #fff;
  border-radius: 13px 0 0 13px;
}

.ahd-analytics .hero .period-control > .pi {
  color: var(--ahd-green);
  font-size: 1.2rem;
}

.ahd-analytics .hero .period-control-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.ahd-analytics .hero .period-control label {
  color: var(--ahd-green);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ahd-analytics .hero .period-control select {
  min-width: 176px;
  padding: 0 22px 0 0;
  color: var(--ahd-navy);
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300205b' d='M1.2 1.3 6 6.1 10.8 1.3'/%3E%3C/svg%3E") no-repeat right center;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.ahd-analytics .hero .period-control select:focus {
  outline: none;
}

.ahd-analytics .hero .period-status {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 20px;
  border-left: 0;
}

.ahd-analytics .hero .period-status > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ahd-analytics .hero .status-dot {
  width: 8px;
  height: 8px;
  background: #19d35a;
  border: 0;
  box-shadow: 0 0 0 4px rgba(25, 211, 90, 0.22);
}

.ahd-analytics .hero .period-status strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ahd-analytics .hero .period-status span:not(.status-dot):not(.partial-badge) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.ahd-analytics .hero .refresh-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px 0 14px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
}

.ahd-analytics .hero .refresh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  height: 42px;
  padding: 0 16px;
  color: #fff !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 10px;
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  transform: none;
}

.ahd-analytics .hero .refresh-button .pi {
  font-size: 0.95rem;
  color: #fff;
}

.ahd-analytics .hero .refresh-button:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  transform: none;
}

.ahd-analytics .secondary-button {
  color: #fff !important;
  background: var(--ahd-navy) !important;
  border: 0 !important;
}

.ahd-analytics .content-section,
.ahd-analytics .loading-state,
.ahd-analytics .error-state {
  width: min(1440px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.ahd-analytics .content-section {
  scroll-margin-top: 88px;
}

.ahd-analytics .section-heading > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ahd-analytics .section-heading > div:first-child::before {
  content: "";
  width: 42px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--ahd-green);
}

.ahd-analytics .section-heading h2 {
  order: 1;
  margin: 0;
}

.ahd-analytics .section-heading .section-kicker {
  order: 2;
  margin-top: 8px;
}

.ahd-analytics .section-aside {
  display: grid;
  justify-items: end;
  gap: 10px;
  max-width: 420px;
}

.ahd-analytics .section-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 0.78rem;
}

.ahd-analytics .section-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ahd-analytics .section-trust .pi {
  color: var(--ahd-green);
}

.ahd-analytics .section-aside > p {
  margin: 0;
  color: var(--muted);
  text-align: start;
}

.ahd-analytics .content-section.journey-section {
  width: 100%;
  max-width: none;
  margin: 72px 0 0;
  padding: 88px max(40px, calc((100% - 1440px) / 2 + 40px)) 48px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 177, 64, 0.16), transparent 32%),
    var(--ahd-navy-deep);
  border-radius: 0;
}

.ahd-analytics .journey-section .section-heading {
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 28px;
}

.ahd-analytics .journey-section .section-heading h2,
.ahd-analytics .journey-section .subsection-heading h2 {
  color: #fff;
}

.ahd-analytics .journey-section .section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.08;
}

.ahd-analytics .journey-section .section-heading .section-kicker {
  margin-top: 10px;
  color: #8fe9ad;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.ahd-analytics .journey-section .section-heading > p,
.ahd-analytics .journey-section .subsection-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.ahd-analytics .journey-section .section-heading > p {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.65;
  text-align: start;
}

.ahd-analytics .journey-section .section-kicker,
.ahd-analytics .journey-section .feature-family {
  color: #8fe9ad;
}

.ahd-analytics .journey-heading-note {
  margin: 0 0 44px;
  padding: 8px 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  line-height: 1.6;
}

.ahd-analytics .journey-heading-note .info-tip button,
.ahd-analytics .journey-heading-note .pi {
  color: #8fe9ad;
}

.ahd-analytics .journey-grid {
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ahd-analytics .journey-card {
  min-height: 280px;
  padding: 12px 36px 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.14);
}

.ahd-analytics .journey-grid > .journey-card:first-child {
  padding-inline-start: 0;
}

.ahd-analytics .journey-card:nth-last-child(2) {
  border-inline-end: 0;
  padding-inline-end: 0;
}

.ahd-analytics .journey-card::before {
  display: none;
}

.ahd-analytics .journey-card h3 {
  margin: 14px 0 16px;
  color: #fff;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.ahd-analytics .journey-card > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.65;
}

.ahd-analytics .journey-metrics {
  padding-top: 28px;
  gap: 16px 28px;
  border-top-color: rgba(255, 255, 255, 0.14);
}

.ahd-analytics .journey-metrics strong {
  color: #fff;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.ahd-analytics .journey-metrics span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ahd-analytics .journey-section .subsection-heading {
  margin: 72px 0 32px;
  gap: 24px;
}

.ahd-analytics .journey-section .subsection-heading h2 {
  font-size: clamp(28px, 3vw, 36px);
}

.ahd-analytics .journey-section .subsection-heading p {
  max-width: 720px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.ahd-analytics .journey-section .subsection-heading .panel-icon {
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--ahd-green);
  border-radius: 50%;
}

.ahd-analytics .limitation-card {
  grid-column: 1 / -1;
  min-height: auto;
  margin-top: 36px;
  padding: 28px 0 4px;
  display: grid;
  grid-template-columns: minmax(160px, 0.85fr) minmax(200px, 1.1fr) minmax(200px, 0.95fr) minmax(280px, 1.6fr);
  align-items: start;
  gap: 20px 40px;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
}

.ahd-analytics .limitation-card > strong {
  color: #e8c547;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ahd-analytics .limitation-card h3 {
  margin: 0;
  font-size: 22px;
}

.ahd-analytics .limitation-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.55;
}

.ahd-analytics .experience-section,
.ahd-analytics .audience-section,
.ahd-analytics .quality-section {
  border-radius: 0;
}

.ahd-analytics .quality-section .section-heading {
  margin-bottom: 36px;
}

.ahd-analytics .quality-section .section-heading h2 {
  font-size: clamp(32px, 3.6vw, 42px);
}

.ahd-analytics .reading-path {
  margin: 8px 0 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.ahd-analytics .reading-path article {
  position: relative;
  min-height: 260px;
  padding: 36px 28px 32px 0;
  color: var(--ahd-navy);
  background: transparent;
  border: 0;
  border-inline-end: 1px solid var(--line);
}

.ahd-analytics .reading-path article:last-child {
  border-inline-end: 0;
  padding-inline-end: 0;
}

.ahd-analytics .reading-path article:not(:first-child) {
  padding-inline-start: 28px;
}

.ahd-analytics .reading-path article::before {
  content: "";
  position: absolute;
  top: -5px;
  inset-inline-start: 0;
  width: 10px;
  height: 10px;
  background: var(--ahd-green);
  border-radius: 50%;
}

.ahd-analytics .reading-path article:not(:first-child)::before {
  inset-inline-start: 28px;
}

.ahd-analytics .reading-path article > span {
  position: static;
  display: block;
  margin: 0 0 16px;
  color: #9aa3b2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ahd-analytics .reading-path article > .pi {
  display: block;
  margin-bottom: 18px;
  color: var(--ahd-green);
  font-size: 20px;
}

.ahd-analytics .reading-path h3 {
  margin: 0 0 10px;
  color: var(--ahd-navy);
  font-size: 18px;
  line-height: 1.25;
}

.ahd-analytics .reading-path p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ahd-analytics .quality-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ahd-analytics .quality-grid article {
  min-height: 280px;
  padding: 28px;
  background: #f6f8fa;
  border: 0;
  border-inline-end: 1px solid var(--line);
  border-radius: 0;
}

.ahd-analytics .quality-grid article:nth-child(2n) {
  border-inline-end: 0;
}

.ahd-analytics .quality-grid article.history-card,
.ahd-analytics .quality-grid article:first-child {
  color: #fff;
  background: var(--ahd-navy-deep);
}

.ahd-analytics .quality-grid .quality-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--ahd-green);
  background: #e5f6ea;
  border-radius: 50%;
}

.ahd-analytics .quality-grid article.history-card .quality-icon,
.ahd-analytics .quality-grid article:first-child .quality-icon {
  color: #fff;
  background: var(--ahd-green);
}

.ahd-analytics .quality-grid h3 {
  margin: 0 0 10px;
  color: var(--ahd-navy);
  font-size: 18px;
  line-height: 1.3;
}

.ahd-analytics .quality-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.ahd-analytics .quality-grid article.history-card h3,
.ahd-analytics .quality-grid article:first-child h3 {
  color: #fff;
}

.ahd-analytics .quality-grid article.history-card p,
.ahd-analytics .quality-grid article:first-child p {
  color: rgba(255, 255, 255, 0.82);
}

.ahd-analytics .quality-grid article small {
  margin-top: auto;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.ahd-analytics .quality-grid article.history-card,
.ahd-analytics .quality-grid article:first-child {
  display: flex;
  flex-direction: column;
}

.ahd-analytics .quality-footnote {
  justify-content: flex-end;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.ahd-analytics .quality-footnote .pi {
  color: var(--ahd-green);
}

.ahd-analytics .portal-shell {
  padding-top: 70px;
}

.layout-wrapper.layout-dashboard-page .ahd-analytics .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: auto;
  z-index: 1000;
  transition: left 0.2s, right 0.2s;
}

@media (min-width: 992px) {
  .layout-wrapper.layout-sidebar.layout-dashboard-page .ahd-analytics .site-header {
    left: 92px;
  }

  .layout-wrapper.layout-static.layout-dashboard-page .ahd-analytics .site-header,
  .layout-wrapper.layout-slim.layout-dashboard-page .ahd-analytics .site-header,
  .layout-wrapper.layout-sidebar.layout-sidebar-static.layout-dashboard-page .ahd-analytics .site-header,
  .layout-wrapper.layout-sidebar.layout-dashboard-page:has(.layout-menu-wrapper.layout-sidebar-active) .ahd-analytics .site-header {
    left: 21rem;
  }

  .layout-wrapper.layout-static.layout-static-inactive.layout-dashboard-page .ahd-analytics .site-header,
  .layout-wrapper.layout-overlay.layout-dashboard-page .ahd-analytics .site-header {
    left: 0;
    right: 0;
  }

  .layout-wrapper.layout-rtl.layout-sidebar.layout-dashboard-page .ahd-analytics .site-header {
    left: 0;
    right: 92px;
  }

  .layout-wrapper.layout-rtl.layout-static.layout-dashboard-page .ahd-analytics .site-header,
  .layout-wrapper.layout-rtl.layout-slim.layout-dashboard-page .ahd-analytics .site-header,
  .layout-wrapper.layout-rtl.layout-sidebar.layout-sidebar-static.layout-dashboard-page .ahd-analytics .site-header,
  .layout-wrapper.layout-rtl.layout-sidebar.layout-dashboard-page:has(.layout-menu-wrapper.layout-sidebar-active) .ahd-analytics .site-header {
    left: 0;
    right: 21rem;
  }

  .layout-wrapper.layout-rtl.layout-static.layout-static-inactive.layout-dashboard-page .ahd-analytics .site-header,
  .layout-wrapper.layout-rtl.layout-overlay.layout-dashboard-page .ahd-analytics .site-header {
    left: 0;
    right: 0;
  }
}

@media (max-width: 1100px) {
  .ahd-analytics .hero-copy,
  .ahd-analytics .hero .control-bar {
    inset-inline-start: 16px;
    width: calc(100% - 32px);
  }

  .ahd-analytics .limitation-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .ahd-analytics .hero-copy {
    padding: 0;
    bottom: 168px;
    width: calc(100% - 32px);
  }

  .ahd-analytics .hero .control-bar {
    grid-template-columns: 1fr auto;
    bottom: 16px;
  }

  .ahd-analytics .hero .period-status {
    grid-column: 1 / 2;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .ahd-analytics .section-aside,
  .ahd-analytics .section-aside > p,
  .ahd-analytics .section-trust {
    justify-items: start;
    text-align: left;
    justify-content: flex-start;
  }

  .ahd-analytics .journey-grid {
    grid-template-columns: 1fr;
  }

  .ahd-analytics .journey-card,
  .ahd-analytics .journey-grid > .journey-card:first-child,
  .ahd-analytics .journey-card:nth-last-child(2) {
    min-height: 0;
    padding: 8px 0 28px;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .ahd-analytics .limitation-card {
    margin-top: 12px;
    padding-top: 24px;
    gap: 12px;
  }

  .ahd-analytics .reading-path {
    grid-template-columns: 1fr 1fr;
  }

  .ahd-analytics .reading-path article:nth-child(2n) {
    border-inline-end: 0;
    padding-inline-end: 0;
  }

  .ahd-analytics .quality-grid {
    grid-template-columns: 1fr;
  }

  .ahd-analytics .quality-grid article,
  .ahd-analytics .quality-grid article:nth-child(3n) {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .ahd-analytics .quality-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .ahd-analytics .hero h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .ahd-analytics .hero-copy > p {
    font-size: 1rem;
  }
  .ahd-analytics .hero .refresh-action {
    padding: 0 12px;
  }

  .ahd-analytics .hero .refresh-button {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }

  .ahd-analytics .hero .refresh-button span {
    display: none;
  }

  .ahd-analytics .hero .refresh-button .pi {
    font-size: 16px;
  }
}
