/* Al Saab — architectural signature actions. No fonts or libraries required. */
.as-action {
  --as-ink: #2d382e;
  --as-inner: #f6f5f0;
  box-sizing: border-box;
  display: inline-flex;
  direction: rtl;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 5px 2px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--as-ink);
  text-decoration: none;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.as-action *,
.as-action *::before,
.as-action *::after {
  box-sizing: border-box;
}
.as-action:focus-visible {
  outline: 2px solid #678f81;
  outline-offset: 6px;
}
.as-action:hover .as-action__label {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.as-action__copy {
  position: relative;
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  text-align: right;
}
.as-action__label {
  display: block;
  font-size: 17px;
  white-space: nowrap;
}
.as-action__hint {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.72;
  white-space: nowrap;
}
.as-action__rule {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.33;
  transform-origin: right;
  animation: as-rule-in 0.66s cubic-bezier(0.22, 0.65, 0.3, 1) 0.35s both;
  animation-iteration-count: 1;
}
.as-action__icon {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: visible;
}
.as-action--add {
  gap: 6px;
}
.as-action--add .as-action__copy {
  padding-bottom: 7px;
}
.as-action--add .as-action__label {
  font-size: 15px;
}
.as-action--browse {
  --as-ink: #efe7d8;
  --as-inner: #1b2b21;
  gap: 16px;
}
.as-action--browse .as-action__icon {
  width: 60px;
  height: 72px;
}
.as-action--browse .as-action__label {
  font-size: 23px;
}
.as-action--browse .as-action__hint {
  font-size: 11px;
}

.as-trace {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: as-draw 0.82s cubic-bezier(0.22, 0.65, 0.3, 1) var(--as-delay, 0.1s) both;
  animation-iteration-count: 1;
}
.as-fill {
  animation: as-appear 0.48s ease-out var(--as-delay, 0.25s) both;
  animation-iteration-count: 1;
}
.as-arrow {
  transform-box: fill-box;
  transform-origin: center;
  animation: as-arrow-in 0.58s cubic-bezier(0.22, 0.65, 0.3, 1) 0.5s both;
  animation-iteration-count: 1;
}
.as-plus {
  transform-box: fill-box;
  transform-origin: center;
  animation: as-plus-in 0.42s cubic-bezier(0.22, 0.65, 0.3, 1) 0.56s both;
  animation-iteration-count: 1;
}
@keyframes as-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes as-appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes as-arrow-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes as-plus-in {
  from {
    opacity: 0;
    transform: scale(0.76) rotate(-16deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes as-rule-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .as-trace,
  .as-fill,
  .as-arrow,
  .as-plus,
  .as-action__rule {
    animation: none !important;
  }
}

/* Placement in the existing marketplace; company pages do not load this file. */
.market-nav > .as-action--add {
  flex-shrink: 0;
}
.hero-title > .as-action--browse {
  margin-top: 20px;
}
.as-action--settled .as-trace,
.as-action--settled .as-fill,
.as-action--settled .as-arrow,
.as-action--settled .as-plus,
.as-action--settled .as-action__rule {
  animation: none;
}
@media (max-width: 760px) {
  .market-nav > .as-action--add {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    gap: 5px;
  }
  .as-action--add .as-action__label {
    font-size: 13px;
  }
  .as-action--add .as-action__icon {
    width: 42px;
    height: 42px;
  }
  .hero-title > .as-action--browse {
    margin-top: 16px;
    gap: 12px;
  }
  .as-action--browse .as-action__label {
    font-size: 19px;
  }
  .as-action--browse .as-action__icon {
    width: 48px;
    height: 58px;
  }
}
