.home-content {
  width: 100%;
}

.home-page,
.home-section {
  display: grid;
  gap: 18px;
}

.home-page {
  padding-bottom: 4px;
}

.home-hero {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 20%, rgba(111, 34, 101, 0.12), transparent 32%),
    linear-gradient(120deg, #fff 0%, #fbfdfb 100%);
}

.home-hero h1,
.home-section-heading h2,
.home-panel-heading h2 {
  margin: 0;
  color: var(--abt-text);
}

.home-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.home-hero-copy > p:last-child {
  margin: 0;
  color: var(--abt-muted);
  font-size: 14px;
}

.home-date {
  margin: 0 0 9px;
  color: var(--abt-purple-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-services-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  text-decoration: none;
  white-space: nowrap;
}

.home-services-cta .abt-icon {
  width: 17px;
  height: 17px;
}

.home-section-heading,
.home-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.home-section-heading h2,
.home-panel-heading h2 {
  font-size: 17px;
}

.home-section-heading .eyebrow,
.home-panel-heading .eyebrow {
  margin: 0 0 4px;
}

.home-panel-heading > a {
  color: var(--abt-purple-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.home-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-action {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-action:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 34, 101, 0.32);
  box-shadow: var(--shadow-card);
}

.home-action .abt-service-icon {
  width: 42px;
  height: 42px;
  margin: 0;
}

.home-action strong,
.home-action small {
  display: block;
}

.home-action strong {
  font-size: 13px;
}

.home-action small {
  margin-top: 5px;
  color: var(--abt-muted);
  font-size: 11px;
  line-height: 1.4;
}

.home-action-arrow {
  color: var(--abt-purple);
}

.home-action-arrow .abt-icon {
  width: 16px;
  height: 16px;
}

.home-workspace-grid,
.home-lower-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.home-lower-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
}

.home-panel {
  min-height: 250px;
  padding: 20px;
}

.home-pending-list,
.home-upcoming-list,
.home-activity-list,
.home-link-grid {
  display: grid;
  gap: 9px;
  margin-top: 15px;
}

.home-pending-row,
.home-activity-row,
.home-event-row {
  min-height: 58px;
  display: grid;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--abt-border);
  border-radius: 11px;
  color: inherit;
  background: var(--abt-page);
  text-decoration: none;
}

.home-pending-row,
.home-activity-row {
  grid-template-columns: 34px minmax(0, 1fr) auto;
}

.home-event-row {
  grid-template-columns: 46px minmax(0, 1fr);
}

.home-pending-row:hover,
.home-activity-row:hover,
.home-event-row:hover,
.home-useful-link:hover {
  border-color: rgba(111, 34, 101, 0.28);
  background: var(--abt-purple-soft);
}

.home-row-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--abt-purple-dark);
  background: var(--abt-purple-soft);
}

.home-row-icon .abt-icon {
  width: 17px;
  height: 17px;
}

.home-row-copy {
  min-width: 0;
}

.home-row-copy strong,
.home-row-copy small {
  display: block;
}

.home-row-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.home-row-copy small {
  margin-top: 3px;
  color: var(--abt-muted);
  font-size: 11px;
}

.home-pending-value {
  min-width: 32px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--abt-purple-dark);
  background: var(--abt-purple-soft);
  text-align: center;
  font-size: 11px;
  font-weight: 850;
}

.home-pending-row.is-unavailable .home-pending-value {
  color: var(--abt-muted);
  background: var(--abt-border);
}

.home-activity-row time {
  color: var(--abt-muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.home-event-date {
  width: 44px;
  min-height: 45px;
  display: grid;
  place-content: center;
  border-radius: 10px;
  color: var(--abt-purple);
  background: var(--abt-purple-soft);
  text-align: center;
}

.home-event-date strong,
.home-event-date small {
  display: block;
}

.home-event-date strong {
  font-size: 16px;
  line-height: 1;
}

.home-event-date small {
  margin-top: 3px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.home-useful-link {
  min-height: 76px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--abt-border);
  border-radius: 11px;
  color: var(--abt-text);
  text-decoration: none;
}

.home-useful-link > .abt-icon:first-child {
  color: var(--abt-purple);
}

.home-useful-link > .abt-icon:last-child {
  width: 14px;
  color: var(--abt-soft);
}

.home-useful-link span {
  font-size: 12px;
  font-weight: 750;
}

.home-compact-empty {
  min-height: 158px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: var(--abt-muted);
  text-align: center;
}

.home-compact-empty .abt-icon {
  width: 24px;
  height: 24px;
  color: var(--abt-soft);
}

.home-compact-empty p {
  margin: 0;
  font-size: 12px;
}

.home-loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--abt-purple);
  box-shadow: 0 0 0 6px var(--abt-purple-soft);
}

@media (max-width: 1180px) {
  .home-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-hero,
  .home-section-heading,
  .home-panel-heading {
    align-items: flex-start;
  }

  .home-hero {
    flex-direction: column;
    padding: 21px;
  }

  .home-services-cta {
    width: 100%;
    justify-content: center;
  }

  .home-workspace-grid,
  .home-lower-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .home-action-grid,
  .home-link-grid {
    grid-template-columns: 1fr;
  }

  .home-action {
    min-height: 96px;
  }

  .home-panel {
    min-height: 0;
    padding: 16px;
  }

  .home-activity-row time {
    display: none;
  }
}
