/* Scoped styles for the four approved 2026-08 surfaces only. */

#blog,
#corporate {
  scroll-margin-top: 112px;
}

.ams-attendance-story,
.ams-attendance-story *,
.ams-enterprise,
.ams-enterprise *,
.ams-package-grid,
.ams-package-grid *,
.ams-business-package,
.ams-business-package *,
.ams-package-compare,
.ams-package-compare * {
  box-sizing: border-box;
}

/* ───────────────────────── Homepage: one continuous attendance story */
.ams-attendance-story {
  --ams-story-ink: #05322b;
  --ams-story-accent: #25897a;
  --ams-story-muted: rgba(5, 50, 43, .68);
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(290px, .78fr) minmax(560px, 1.22fr);
  grid-template-rows: auto auto;
  column-gap: clamp(38px, 5vw, 76px);
  padding-inline: max(24px, calc((100vw - 1220px) / 2));
  background: linear-gradient(180deg, #fbf7f5 0%, #ffffff 49%, #f2f8f5 100%);
  color: var(--ams-story-ink);
  isolation: isolate;
  overflow: clip;
}

.ams-attendance-story::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  inset: 12% auto auto -22%;
  border: 1px solid rgba(183, 122, 114, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 82px rgba(183, 122, 114, .025), 0 0 0 164px rgba(183, 122, 114, .018);
  pointer-events: none;
}

.ams-problem,
.ams-solution {
  min-width: 0;
  min-height: 76svh;
  display: flex;
  align-items: center;
  padding-block: clamp(76px, 9vw, 132px);
}

.ams-problem {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(135deg, rgba(255, 250, 248, .58), rgba(255, 255, 255, 0));
}

.ams-solution {
  grid-column: 1;
  grid-row: 2;
  background: linear-gradient(135deg, rgba(241, 248, 245, .66), rgba(255, 255, 255, 0));
}

.ams-problem__copy,
.ams-solution__copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.ams-problem__eyebrow,
.ams-solution__eyebrow,
.ams-enterprise__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}

.ams-problem__eyebrow {
  color: #8c5a54;
}

.ams-solution__eyebrow,
.ams-enterprise__eyebrow {
  color: #1d7468;
}

.ams-problem__eyebrow::before,
.ams-solution__eyebrow::before,
.ams-enterprise__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.ams-problem__title,
.ams-solution__title {
  margin: 0;
  font-family: var(--ams-font-display), serif;
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 800;
  line-height: 1.23;
  letter-spacing: -.025em;
  color: var(--ams-story-ink);
  text-wrap: balance;
}

.ams-problem__body,
.ams-solution__copy > p {
  max-width: 650px;
}

.ams-problem__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ams-problem__body p,
.ams-solution__copy > p {
  margin: 0;
  font-family: var(--ams-font-text), serif;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 2;
  color: var(--ams-story-muted);
  text-wrap: pretty;
}

.ams-attendance-story__stage-shell {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  min-height: 100%;
  padding-block: clamp(76px, 8vw, 116px);
}

.ams-attendance-story__stage {
  position: sticky;
  top: clamp(92px, 10svh, 126px);
  width: 100%;
  height: min(640px, calc(100svh - 142px));
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(5, 50, 43, .11);
  border-radius: 30px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 30px 80px rgba(5, 50, 43, .09);
}

.ams-attendance-story__caption {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 0 24px;
  border-bottom: 1px solid rgba(5, 50, 43, .08);
  background: #ffffff;
  color: rgba(5, 50, 43, .62);
  font-size: 12px;
  font-weight: 700;
}

.ams-attendance-story__caption strong {
  color: var(--ams-story-ink);
  font-size: 13px;
}

.ams-attendance-story__fallback {
  height: calc(100% - 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(135deg, #fcf8f6, #ffffff 48%, #f3f9f6);
}

.ams-story-fallback__side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(5, 50, 43, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
}

.ams-story-fallback__side > span {
  font-size: 12px;
  font-weight: 800;
  color: #8c5a54;
}

.ams-story-fallback__side--after > span {
  color: #1d7468;
}

.ams-story-fallback__side > strong {
  font-size: 17px;
  line-height: 1.55;
}

.ams-story-fallback__side ul,
.ams-story-fallback__side ol {
  margin: 0;
  padding: 0 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: rgba(5, 50, 43, .68);
  font-family: var(--ams-font-text), serif;
  font-size: 13px;
  line-height: 1.75;
}

.ams-story-fallback__arrow {
  align-self: center;
  color: #25897a;
  font-size: 24px;
}

.ams-attendance-story__motion {
  position: absolute;
  inset: 60px 0 0;
  display: block;
  overflow: hidden;
  background: linear-gradient(145deg, #fbf8f6 0%, #ffffff 48%, #f3f9f6 100%);
  opacity: 0;
  visibility: hidden;
}

.ams-attendance-story.is-motion-enhanced .ams-attendance-story__fallback {
  display: none;
}

.ams-attendance-story.is-motion-enhanced .ams-attendance-story__motion {
  visibility: visible;
}

.ams-story-chrome {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 46px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(5, 50, 43, .07);
  background: rgba(255, 255, 255, .9);
}

.ams-story-chrome__dots {
  display: flex;
  gap: 5px;
}

.ams-story-chrome__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b3cdcf;
}

.ams-story-chrome__dots i:nth-child(2) { background: #d7c8c5; }
.ams-story-chrome__dots i:nth-child(3) { background: #e9e2df; }

.ams-story-chrome__title {
  overflow: hidden;
  color: var(--ams-story-ink);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ams-story-chrome__state {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.ams-story-chrome__state--before {
  color: #8c5a54;
  background: #f5eae7;
}

.ams-story-chrome__state--after {
  position: absolute;
  inset-inline-end: 18px;
  color: #1d7468;
  background: #e7f1ed;
  opacity: 0;
}

.ams-chaos-layer,
.ams-workflow-board {
  position: absolute;
  inset: 46px 0 0;
}

.ams-chaos-layer {
  background:
    linear-gradient(rgba(5, 50, 43, .027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 50, 43, .027) 1px, transparent 1px);
  background-size: 38px 38px;
}

.ams-chaos-owner {
  position: absolute;
  z-index: 3;
  top: 42%;
  left: 50%;
  width: 188px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(5, 50, 43, .12);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(5, 50, 43, .11);
  transform: translate(-50%, -50%);
}

.ams-chaos-owner__avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #05322b;
  color: #ffffff;
  font-weight: 800;
}

.ams-chaos-owner > span:last-child,
.ams-chaos-token,
.ams-intake-gate > span:nth-child(2),
.ams-workflow-board__head > span:first-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ams-chaos-owner strong { font-size: 12px; }
.ams-chaos-owner small { color: rgba(5, 50, 43, .58); font-size: 9.5px; }

.ams-chaos-threads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ams-chaos-threads path {
  fill: none;
  stroke: rgba(140, 90, 84, .28);
  stroke-width: 1.25;
  stroke-dasharray: 4 7;
  vector-effect: non-scaling-stroke;
}

.ams-chaos-token {
  position: absolute;
  z-index: 4;
  width: clamp(142px, 20vw, 185px);
  padding: 11px 13px;
  border: 1px solid rgba(5, 50, 43, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 13px 30px rgba(5, 50, 43, .08);
  transform-origin: center;
}

.ams-attendance-story.is-motion-enhanced .ams-chaos-token {
  z-index: 30;
}

.ams-chaos-token > span {
  color: #9b625b;
  font-size: 9.5px;
  font-weight: 800;
}

.ams-chaos-token > strong {
  overflow: hidden;
  color: var(--ams-story-ink);
  font-size: 11.5px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ams-chaos-token > small {
  overflow: hidden;
  color: rgba(5, 50, 43, .54);
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ams-chaos-token--file { top: 10%; right: 4%; transform: rotate(3deg); }
.ams-chaos-token--reply { top: 13%; left: 4%; transform: rotate(-4deg); }
.ams-chaos-token--duplicate { top: 46%; right: 5%; transform: rotate(-2deg); }
.ams-chaos-token--missing { top: 49%; left: 4%; transform: rotate(4deg); }
.ams-chaos-token--late { bottom: 7%; right: 12%; transform: rotate(2deg); }
.ams-chaos-token--silent { bottom: 8%; left: 9%; transform: rotate(-3deg); }

.ams-chaos-question {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 8%;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 16px;
  border: 1px dashed rgba(140, 90, 84, .36);
  border-radius: 999px;
  background: #fff9f7;
  transform: translateX(-50%);
}

.ams-chaos-question span { color: rgba(5, 50, 43, .62); font-size: 9.5px; }
.ams-chaos-question strong { color: #8c5a54; font-size: 12px; }

.ams-intake-gate {
  position: absolute;
  z-index: 25;
  top: 50%;
  left: 50%;
  width: min(330px, calc(100% - 40px));
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(37, 137, 122, .24);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(5, 50, 43, .15);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.94);
}

.ams-intake-gate__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #05322b;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.ams-intake-gate strong { font-size: 13px; }
.ams-intake-gate small { color: rgba(5, 50, 43, .58); font-size: 10px; line-height: 1.45; }

.ams-intake-gate > i {
  position: absolute;
  right: 18px;
  bottom: 8px;
  left: 18px;
  height: 2px;
  border-radius: 999px;
  background: #25897a;
  transform: scaleX(0);
  transform-origin: right center;
}

.ams-workflow-board {
  z-index: 10;
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  align-content: start;
  gap: 12px;
  padding: 17px 20px 18px;
  background: #f7faf8;
  opacity: 0;
}

.ams-workflow-board__head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ams-workflow-board__head strong { font-size: 13px; }
.ams-workflow-board__head small { color: rgba(5, 50, 43, .5); font-size: 9.5px; }

.ams-workflow-board__ready {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e3f0eb;
  color: #1d7468;
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
}

.ams-workflow-board__audit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.ams-workflow-board__audit > span {
  min-height: 31px;
  display: flex;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(37, 137, 122, .14);
  border-radius: 9px;
  background: #ffffff;
  color: rgba(5, 50, 43, .68);
  font-size: 9px;
  font-weight: 700;
}

.ams-workflow-board__audit > span::before {
  content: '✓';
  margin-inline-end: 6px;
  color: #25897a;
  font-weight: 900;
}

.ams-workflow-board__rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid rgba(5, 50, 43, .08);
  border-radius: 13px;
  background: #ffffff;
  overflow: hidden;
}

.ams-workflow-board__rail li {
  min-width: 0;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 7px;
  border-inline-start: 1px solid rgba(5, 50, 43, .07);
}

.ams-workflow-board__rail li:first-child { border-inline-start: 0; }
.ams-workflow-board__rail span { color: #25897a; font-size: 8.5px; font-weight: 800; }
.ams-workflow-board__rail strong { font-size: 8.8px; line-height: 1.45; }

.ams-workflow-board__states,
.ams-workflow-board__report {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.ams-state {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 8px;
  padding: 10px 11px;
  border: 1px solid rgba(5, 50, 43, .08);
  border-radius: 12px;
  background: #ffffff;
}

.ams-state span { color: rgba(5, 50, 43, .62); font-size: 9.5px; }
.ams-state strong { font-size: 16px; }
.ams-state i {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(to left, #25897a var(--ams-state-fill), rgba(5, 50, 43, .07) var(--ams-state-fill));
}
.ams-state--no i { background: linear-gradient(to left, #b98a82 var(--ams-state-fill), rgba(5, 50, 43, .07) var(--ams-state-fill)); }
.ams-state--wait i { background: linear-gradient(to left, #c4a75e var(--ams-state-fill), rgba(5, 50, 43, .07) var(--ams-state-fill)); }

.ams-workflow-board__followup {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px dashed rgba(37, 137, 122, .24);
  border-radius: 10px;
  color: rgba(5, 50, 43, .64);
  font-size: 9px;
}

.ams-workflow-board__followup strong { color: #1d7468; font-size: 10px; }
.ams-workflow-board__followup i { color: #25897a; font-style: normal; }

.ams-workflow-board__report > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #05322b;
}

.ams-workflow-board__report small {
  overflow: hidden;
  color: rgba(255, 255, 255, .66);
  font-size: 8.7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ams-workflow-board__report strong {
  color: #ffffff;
  font-size: 16px;
}

/* ───────────────────────── Packages: three equal cards + compact business row */
.ams-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.ams-package-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 30px 27px;
  border: 1px solid rgba(5, 50, 43, .12);
  border-radius: 22px;
  background: #ffffff;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.ams-package-card:hover {
  border-color: rgba(5, 50, 43, .22);
  box-shadow: 0 22px 54px rgba(5, 50, 43, .08);
  transform: translateY(-5px);
}

.ams-package-card--featured {
  border: 1.5px solid #25897a;
  box-shadow: 0 26px 60px rgba(5, 50, 43, .1);
}

.ams-package-card__popular {
  position: absolute;
  top: -13px;
  right: 27px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #1d7468;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
}

.ams-package-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ams-package-card__head h2 {
  margin: 0;
  font-family: var(--ams-font-display), serif;
  font-size: 23px;
  font-weight: 800;
  color: #05322b;
}

.ams-package-card__tag {
  padding: 5px 11px;
  border: 1px solid rgba(5, 50, 43, .14);
  border-radius: 999px;
  color: rgba(5, 50, 43, .68);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.ams-package-card--featured .ams-package-card__tag {
  border-color: rgba(37, 137, 122, .36);
  color: #1d7468;
}

.ams-package-card__description {
  min-height: 80px;
  margin: 14px 0 0;
  font-family: var(--ams-font-text), serif;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(5, 50, 43, .68);
}

.ams-package-card__price {
  margin-top: 22px;
  padding: 21px 0;
  border-top: 1px solid rgba(5, 50, 43, .1);
  border-bottom: 1px solid rgba(5, 50, 43, .1);
}

.ams-package-card__price strong {
  display: block;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  color: #05322b;
}

.ams-package-card__price strong span {
  font-size: 16px;
  font-weight: 700;
  color: rgba(5, 50, 43, .68);
}

.ams-package-card__price > span {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(5, 50, 43, .68);
}

.ams-package-card__services {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 22px;
  flex: 1;
}

.ams-package-card__group h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: #05322b;
}

.ams-package-card__group--excluded h3 { color: rgba(5, 50, 43, .68); }

.ams-package-card__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ams-package-card__group li {
  position: relative;
  padding-inline-start: 24px;
  font-family: var(--ams-font-text), serif;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(5, 50, 43, .75);
}

.ams-package-card__group li::before {
  content: '✓';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  color: #1d7468;
  font-family: var(--ams-font-ui), sans-serif;
  font-weight: 800;
}

.ams-package-card__group--excluded li { color: rgba(5, 50, 43, .64); }
.ams-package-card__group--excluded li::before { content: '—'; color: #b8aeac; }

.ams-package-card__button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 12px 18px;
  border: 1px solid rgba(5, 50, 43, .24);
  border-radius: 999px;
  color: #05322b;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .3s ease, background .3s ease, color .3s ease, transform .3s ease;
}

.ams-package-card__button:hover {
  border-color: #05322b;
  background: #f4f7f4;
  transform: translateY(-2px);
}

.ams-package-card--featured .ams-package-card__button {
  border-color: #05322b;
  background: #05322b;
  color: #ffffff;
}

.ams-package-card--featured .ams-package-card__button:hover { background: #11564e; }

.ams-business-package {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(270px, .86fr) minmax(190px, auto);
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  margin-top: 22px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(5, 50, 43, .14);
  border-radius: 24px;
  background: linear-gradient(110deg, #f7faf8 0%, #ffffff 56%, #f4f7f5 100%);
  box-shadow: 0 20px 50px rgba(5, 50, 43, .055);
}

.ams-business-package__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.ams-business-package__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1d7468;
  font-size: 12px;
  font-weight: 800;
}

.ams-business-package__badge i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #05322b;
  color: #ffffff;
  font-style: normal;
}

.ams-business-package h2 {
  margin: 0;
  font-family: var(--ams-font-display), serif;
  font-size: clamp(24px, 2.35vw, 34px);
  line-height: 1.3;
  color: #05322b;
  text-wrap: balance;
}

.ams-business-package__copy p {
  margin: 0;
  font-family: var(--ams-font-text), serif;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(5, 50, 43, .68);
  text-wrap: pretty;
}

.ams-business-package__systems {
  list-style: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}

.ams-business-package__systems li {
  padding: 7px 10px;
  border: 1px solid rgba(37, 137, 122, .17);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #11564e;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
}

.ams-business-package__actions {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
}

.ams-business-package__actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.ams-business-package__primary {
  background: #05322b;
  color: #ffffff;
}

.ams-business-package__secondary {
  border: 1px solid rgba(5, 50, 43, .18);
  color: #05322b;
  background: #ffffff;
}

.ams-package-compare__wrap {
  overflow: visible;
  border: 1px solid rgba(5, 50, 43, .1);
  border-radius: 20px;
}

.ams-package-compare__table {
  width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
  border-collapse: collapse;
  background: #ffffff;
}

.ams-package-compare__table th,
.ams-package-compare__table td {
  padding: 14px;
  border-bottom: 1px solid rgba(5, 50, 43, .07);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
  color: rgba(5, 50, 43, .72);
  vertical-align: middle;
}

.ams-package-compare__table th:first-child,
.ams-package-compare__table td:first-child {
  width: 31%;
  padding-inline-start: 22px;
  text-align: right;
  font-weight: 700;
  color: #05322b;
}

.ams-package-compare__table th:nth-child(3),
.ams-package-compare__table td:nth-child(3) { background: rgba(37, 137, 122, .045); }
.ams-package-compare__table tbody tr:last-child td { border-bottom: 0; }
.ams-package-compare__yes { color: #1d7468; font-weight: 700; }
.ams-package-compare__no { color: #b8aeac; }

/* ───────────────────────── Solutions: interactive enterprise system */
.ams-enterprise {
  position: relative;
  direction: rtl;
  padding: clamp(82px, 10vw, 142px) 0;
  border-top: 1px solid rgba(5, 50, 43, .07);
  background:
    radial-gradient(circle at 8% 10%, rgba(179, 205, 207, .2), transparent 27%),
    linear-gradient(180deg, #ffffff 0%, #f8fbf9 54%, #ffffff 100%);
  color: #05322b;
  overflow: hidden;
}

.ams-enterprise__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.ams-enterprise__intro {
  max-width: 850px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}

.ams-enterprise__intro h2 {
  margin: 0;
  font-family: var(--ams-font-display), serif;
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: #05322b;
  text-wrap: balance;
}

.ams-enterprise__intro > p {
  max-width: 760px;
  margin: 0;
  font-family: var(--ams-font-text), serif;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.95;
  color: rgba(5, 50, 43, .68);
  text-wrap: pretty;
}

.ams-enterprise__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.ams-enterprise__actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid #05322b;
  border-radius: 999px;
  background: #05322b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.ams-enterprise__actions a:hover {
  background: #11564e;
  transform: translateY(-2px);
}

[data-enterprise-console] {
  min-width: 0;
}

[data-enterprise-console] > div:first-child {
  display: grid !important;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 50px) !important;
  align-items: stretch !important;
  padding-block: clamp(30px, 4vw, 48px) !important;
}

[data-enterprise-console] aside {
  min-width: 0;
  width: 100% !important;
}

[data-enterprise-tabs] {
  position: sticky;
  top: 110px;
}

[data-enterprise-tab] {
  width: 100%;
  min-width: 0;
}

[data-enterprise-tab]:hover {
  border-color: rgba(37, 137, 122, .48) !important;
  transform: translateX(-3px);
}

[data-enterprise-tab]:focus-visible {
  outline: 3px solid rgba(37, 137, 122, .28);
  outline-offset: 3px;
}

[data-enterprise-panel-stack] {
  min-width: 0;
  min-height: 370px;
}

.ams-enterprise__system {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
  padding: 4px 0;
  background: transparent;
}

.ams-enterprise__system[hidden] {
  display: none !important;
}

.ams-enterprise__system:focus-visible {
  outline: 2px solid rgba(37, 137, 122, .42);
  outline-offset: 10px;
  border-radius: 8px;
}

.ams-enterprise__system-title {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.ams-enterprise__system-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37, 137, 122, .24);
  border-radius: 13px;
  background: #eef5f2;
  color: #1d7468;
  font-size: 12px;
  font-weight: 800;
}

.ams-enterprise__system-title h3 {
  margin: 0;
  font-family: var(--ams-font-display), serif;
  font-size: clamp(26px, 3vw, 39px);
  line-height: 1.28;
  color: #05322b;
}

.ams-enterprise__system-en {
  display: block;
  margin-top: 7px;
  color: #1d7468;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .025em;
  direction: ltr;
  text-align: right;
  overflow-wrap: anywhere;
}

.ams-enterprise__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 46px);
}

.ams-enterprise__features li {
  position: relative;
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 10px 22px 10px 0;
  border-bottom: 1px solid rgba(5, 50, 43, .075);
  font-family: var(--ams-font-text), serif;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(5, 50, 43, .72);
}

.ams-enterprise__features li::before {
  content: '';
  position: absolute;
  right: 1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(37, 137, 122, .46);
  background: #b3cdcf;
  transform: translateY(-50%) rotate(45deg);
}

.ams-dashboard {
  direction: rtl;
  min-width: 0;
  margin-top: clamp(38px, 5vw, 64px);
  border: 1px solid rgba(5, 50, 43, .12);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 28px 74px rgba(5, 50, 43, .09);
  overflow: hidden;
}

.ams-dashboard__topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(5, 50, 43, .08);
  background: #ffffff;
}

.ams-dashboard__brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ams-dashboard__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #05322b;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.ams-dashboard__brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ams-dashboard__brand-text strong {
  overflow: hidden;
  color: #05322b;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ams-dashboard__brand-text span {
  overflow: hidden;
  color: rgba(5, 50, 43, .55);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ams-dashboard__controls {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.ams-dashboard__note,
.ams-dashboard__event {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(5, 50, 43, .1);
  border-radius: 11px;
  color: rgba(5, 50, 43, .68);
  background: #fbfcfb;
  font-size: 10.5px;
  font-weight: 700;
}

.ams-dashboard__note {
  color: #1d7468;
  background: #eef5f2;
}

.ams-dashboard__event select {
  min-width: 0;
}

.ams-dashboard__content {
  min-width: 0;
  padding: clamp(16px, 2.5vw, 28px);
  background: #f6f9f7;
}

.ams-dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ams-dashboard__metric {
  min-width: 0;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(5, 50, 43, .08);
  border-radius: 14px;
  background: #ffffff;
}

.ams-dashboard__metric span {
  color: rgba(5, 50, 43, .58);
  font-size: 10.5px;
  line-height: 1.45;
}

.ams-dashboard__metric strong {
  color: #05322b;
  font-size: 23px;
  line-height: 1;
}

.ams-dashboard__metric--accent {
  border-color: rgba(37, 137, 122, .2);
  background: #f0f6f3;
}

.ams-dashboard__metric--accent strong { color: #1d7468; }

.ams-dashboard__body {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, .62fr);
  gap: 16px;
  margin-top: 16px;
}

.ams-dashboard__panel {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(5, 50, 43, .08);
  border-radius: 17px;
  background: #ffffff;
}

.ams-dashboard__panel-head {
  min-height: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(5, 50, 43, .07);
}

.ams-dashboard__panel-head strong { color: #05322b; font-size: 12px; }
.ams-dashboard__panel-head span { color: #1d7468; font-size: 10.5px; font-weight: 700; }

.ams-dashboard__guest-head,
.ams-dashboard__guest {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) repeat(3, minmax(78px, .7fr));
  gap: 9px;
  align-items: center;
}

.ams-dashboard__guest-head {
  padding: 10px 0 8px;
  color: rgba(5, 50, 43, .68);
  font-size: 10px;
  font-weight: 700;
}

.ams-dashboard__guest {
  min-height: 49px;
  padding: 8px 0;
  border-top: 1px solid rgba(5, 50, 43, .06);
  color: rgba(5, 50, 43, .65);
  font-size: 10px;
}

.ams-dashboard__guest-name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #05322b;
  font-size: 11px;
  font-weight: 800;
}

.ams-dashboard__guest-name > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ams-dashboard__avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef3f1;
  color: #1d7468;
  font-size: 10px;
}

.ams-dashboard__status {
  width: fit-content;
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}

.ams-dashboard__status--yes { color: #1d7468; background: #e4f0eb; }
.ams-dashboard__status--wait { color: #886b25; background: #f6f0df; }
.ams-dashboard__status--no { color: #8c5a54; background: #f5eae7; }

.ams-dashboard__chart-wrap {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-block: 18px;
}

.ams-dashboard__donut {
  width: 128px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#25897a 0 68.4%, #b98a82 68.4% 85.6%, #d6bc78 85.6% 100%);
}

.ams-dashboard__donut::before {
  content: '';
  grid-area: 1 / 1;
  width: 82px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff;
}

.ams-dashboard__donut-center {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ams-dashboard__donut-center strong { color: #05322b; font-size: 18px; }
.ams-dashboard__donut-center span { color: rgba(5, 50, 43, .68); font-size: 10px; }

.ams-dashboard__legend {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ams-dashboard__legend > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  color: rgba(5, 50, 43, .65);
  font-size: 10.5px;
}

.ams-dashboard__legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25897a;
}

.ams-dashboard__legend > span:nth-child(2) i { background: #b98a82; }
.ams-dashboard__legend > span:nth-child(3) i { background: #d6bc78; }
.ams-dashboard__legend b { color: #05322b; }

.ams-dashboard__category {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(37, 137, 122, .15);
  border-radius: 999px;
  color: #11564e;
  background: #f5faf7;
  font-size: 10.5px;
  font-weight: 700;
}

[data-enterprise-updates] li {
  position: relative;
  padding-inline-start: 16px;
}

[data-enterprise-updates] li::before {
  content: '';
  position: absolute;
  top: .72em;
  inset-inline-start: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25897a;
}

@media (min-width: 1041px) {
  [data-enterprise-journey] li {
    position: relative;
  }

  [data-enterprise-journey] li:not(:last-child)::after {
    content: '←';
    position: absolute;
    z-index: 3;
    top: 50%;
    left: -14px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(37, 137, 122, .2);
    border-radius: 50%;
    background: #ffffff;
    color: #25897a;
    transform: translateY(-50%);
  }
}

/* ───────────────────────── Responsive containment */
@media (max-width: 1100px) {
  .ams-business-package {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr);
  }

  .ams-business-package__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .ams-attendance-story {
    display: block;
    padding-inline: 0;
  }

  .ams-problem,
  .ams-solution {
    min-height: 0;
    padding: 72px max(24px, calc((100vw - 760px) / 2));
  }

  .ams-attendance-story__stage-shell {
    min-height: 0;
    padding: 0 max(24px, calc((100vw - 820px) / 2));
  }

  .ams-attendance-story__stage {
    position: relative;
    top: auto;
    height: min(660px, calc(100svh - 104px));
    min-height: 570px;
  }

  [data-enterprise-console] > div:first-child {
    grid-template-columns: 1fr;
  }

  [data-enterprise-tabs] {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ams-enterprise__system {
    grid-template-columns: minmax(210px, .68fr) minmax(0, 1.32fr);
  }

  .ams-dashboard__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  #blog,
  #corporate { scroll-margin-top: 88px; }

  .ams-package-grid {
    width: min(100%, 720px);
    grid-template-columns: 1fr;
    margin: 0 auto;
  }

  .ams-package-card__description { min-height: 0; }

  .ams-business-package {
    width: min(100%, 720px);
    grid-template-columns: 1fr;
    margin: 20px auto 0;
  }

  .ams-business-package__actions {
    grid-column: auto;
  }

  .ams-enterprise__inner {
    width: min(100% - 36px, 1200px);
  }

  [data-enterprise-tabs] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ams-enterprise__system {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ams-dashboard__topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ams-dashboard__controls {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .ams-package-compare { display: none; }

  .ams-attendance-story__fallback {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .ams-story-fallback__arrow {
    transform: rotate(-90deg);
  }

  .ams-chaos-threads { display: none; }
  .ams-chaos-owner { top: 39%; }

  .ams-workflow-board {
    gap: 9px;
    padding: 13px 14px 14px;
  }

  .ams-workflow-board__rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ams-workflow-board__rail li:nth-child(4) { border-inline-start: 0; }

  .ams-dashboard__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ams-dashboard__guest-head {
    display: none;
  }

  .ams-dashboard__guest {
    grid-template-columns: minmax(0, 1fr) repeat(3, auto);
    gap: 7px;
    padding: 11px 0;
  }

  .ams-dashboard__chart-wrap {
    grid-template-columns: minmax(118px, auto) minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .ams-problem,
  .ams-solution {
    padding: 64px 20px;
  }

  .ams-problem__title,
  .ams-solution__title {
    font-size: clamp(32px, 9.4vw, 43px);
  }

  .ams-problem__body p,
  .ams-solution__copy > p {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .ams-attendance-story__stage-shell { padding: 0 16px; }

  .ams-attendance-story__stage {
    height: 660px;
    min-height: 0;
    border-radius: 23px;
  }

  .ams-attendance-story__caption {
    height: 52px;
    padding: 0 16px;
  }

  .ams-attendance-story__motion { inset-block-start: 52px; }

  .ams-story-chrome {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    padding: 0 11px;
  }

  .ams-story-chrome__dots i { width: 5px; height: 5px; }
  .ams-story-chrome__title { font-size: 11px; }
  .ams-story-chrome__state { padding: 4px 7px; font-size: 10px; }
  .ams-story-chrome__state--after { inset-inline-end: 11px; }

  .ams-chaos-owner {
    top: 42%;
    width: 158px;
    padding: 9px 10px;
  }

  .ams-chaos-owner__avatar { width: 29px; height: 29px; }

  .ams-chaos-token {
    width: 142px;
    padding: 9px 10px;
  }

  .ams-chaos-token > span { font-size: 10px; }
  .ams-chaos-token > strong { font-size: 11.5px; }
  .ams-chaos-token > small { font-size: 9.5px; }
  .ams-chaos-token--file { top: 8%; right: 3%; }
  .ams-chaos-token--reply { top: 12%; left: 3%; }
  .ams-chaos-token--duplicate { top: 53%; right: 3%; }
  .ams-chaos-token--missing { top: 55%; left: 3%; }
  .ams-chaos-token--late { display: none; }
  .ams-chaos-token--silent { bottom: 8%; left: 5%; }

  .ams-chaos-question {
    right: 4%;
    bottom: 8%;
    left: auto;
    min-width: 126px;
    padding: 8px 10px;
    transform: none;
  }

  .ams-workflow-board__head { min-height: 36px; }
  .ams-workflow-board__head strong { font-size: 11px; }
  .ams-workflow-board__ready { font-size: 9.5px; }

  .ams-workflow-board__audit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .ams-workflow-board__audit > span {
    min-height: 30px;
    padding: 5px 7px;
    font-size: 10px;
  }

  .ams-workflow-board__rail li {
    min-height: 48px;
    padding: 6px;
  }

  .ams-workflow-board__rail span { font-size: 9.5px; }
  .ams-workflow-board__rail strong { font-size: 10px; }

  .ams-workflow-board__states,
  .ams-workflow-board__report { gap: 5px; }

  .ams-state { padding: 8px; }
  .ams-state span { font-size: 10px; }
  .ams-state strong { font-size: 14px; }
  .ams-workflow-board__followup { gap: 5px; padding: 6px; font-size: 9.5px; }
  .ams-workflow-board__followup strong { font-size: 10px; }
  .ams-workflow-board__report > span { padding: 9px 8px; }
  .ams-workflow-board__report small { font-size: 9px; }
  .ams-workflow-board__report strong { font-size: 13px; }

  .ams-package-card { padding: 28px 22px; }
  .ams-package-card__head { align-items: flex-start; }
  .ams-package-card__tag { white-space: normal; text-align: center; }

  .ams-business-package { padding: 24px 20px; }
  .ams-business-package__actions { grid-template-columns: 1fr; }
  .ams-business-package__actions a { width: 100%; }

  .ams-enterprise {
    padding-block: 70px;
  }

  .ams-enterprise__inner {
    width: min(100% - 32px, 1200px);
  }

  .ams-enterprise__intro h2 {
    font-size: clamp(34px, 10.4vw, 47px);
  }

  .ams-enterprise__intro > p {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .ams-enterprise__actions,
  .ams-enterprise__actions a {
    width: 100%;
  }

  [data-enterprise-console] > div:first-child {
    gap: 24px !important;
    padding-block: 26px !important;
  }

  [data-enterprise-tabs] {
    grid-template-columns: 1fr;
  }

  [data-enterprise-tab] {
    min-height: 50px !important;
  }

  [data-enterprise-panel-stack] {
    min-height: 0;
  }

  .ams-enterprise__system-title {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
  }

  .ams-enterprise__system-number {
    width: 38px;
    height: 38px;
  }

  .ams-enterprise__system-title h3 {
    font-size: 27px;
  }

  .ams-enterprise__features {
    grid-template-columns: 1fr;
  }

  .ams-dashboard {
    margin-inline: -1px;
    border-radius: 22px;
  }

  .ams-dashboard__topbar,
  .ams-dashboard__content {
    padding: 14px;
  }

  .ams-dashboard__controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ams-dashboard__note,
  .ams-dashboard__event {
    width: 100%;
  }

  .ams-dashboard__event {
    justify-content: space-between;
  }

  .ams-dashboard__event select {
    max-width: 170px !important;
  }

  .ams-dashboard__metrics {
    gap: 7px;
  }

  .ams-dashboard__metric {
    min-height: 75px;
    padding: 11px;
  }

  .ams-dashboard__metric strong {
    font-size: 20px;
  }

  .ams-dashboard__panel {
    padding: 13px;
  }

  .ams-dashboard__guest {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 9px;
  }

  .ams-dashboard__guest > :nth-child(3),
  .ams-dashboard__guest > :nth-child(4) {
    grid-row: 2;
  }

  .ams-dashboard__chart-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .ams-dashboard__legend {
    width: min(100%, 240px);
  }

  [data-enterprise-journey] {
    display: grid !important;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ams-attendance-story *,
  .ams-enterprise *,
  .ams-package-card,
  .ams-business-package {
    animation: none !important;
    transition-duration: .001s !important;
  }

  .ams-attendance-story {
    display: block;
    padding-inline: 0;
  }

  .ams-problem,
  .ams-solution {
    min-height: 0;
    padding: 68px max(24px, calc((100vw - 920px) / 2));
  }

  .ams-attendance-story__stage-shell {
    min-height: 0;
    padding: 0 max(24px, calc((100vw - 920px) / 2));
  }

  .ams-attendance-story__stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
  }

  .ams-attendance-story__fallback { min-height: 420px; }
  .ams-attendance-story__motion { display: none !important; }
}

.ams-reduced-motion .ams-attendance-story {
  display: block;
  padding-inline: 0;
}

.ams-reduced-motion .ams-problem,
.ams-reduced-motion .ams-solution {
  min-height: 0;
  padding: 68px max(24px, calc((100vw - 920px) / 2));
}

.ams-reduced-motion .ams-attendance-story__stage-shell {
  min-height: 0;
  padding: 0 max(24px, calc((100vw - 920px) / 2));
}

.ams-reduced-motion .ams-attendance-story__stage {
  position: relative;
  top: auto;
  height: auto;
  min-height: 0;
}

.ams-reduced-motion .ams-attendance-story__fallback {
  min-height: 420px;
  display: grid !important;
}

.ams-reduced-motion .ams-attendance-story__motion { display: none !important; }
