:host {
  display: inline-block;
  font-size: 0.875rem;
  font-family: var(--anj-font-family);
  font-weight: normal;
  line-height: 1.5;
  outline: none;
}
:host, :host::before, :host::after {
  box-sizing: border-box;
  outline: none;
}
:host:focus, :host:active, :host *:focus, :host *:active {
  outline: none;
}
:host[type] {
  -webkit-appearance: none;
}
:host[disabled] {
  pointer-events: none;
}
:host[disabled] ::slotted(svg) {
  color: var(--anj-text-muted);
  fill: var(--anj-text-muted);
}
:host[disabled] .anj-button {
  color: var(--anj-text-muted);
  cursor: default;
}
:host .anj-button {
  display: inline-flex;
  font-size: 0.875rem;
  font-family: var(--anj-font-family);
  font-weight: normal;
  line-height: 1.5;
  outline: none;
  align-items: center;
  box-sizing: border-box;
  border: 0;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  position: relative;
  text-align: center;
  user-select: none;
  vertical-align: middle;
}
:host .anj-button, :host .anj-button::before, :host .anj-button::after {
  box-sizing: border-box;
  outline: none;
}
:host .anj-button:focus, :host .anj-button:active, :host .anj-button *:focus, :host .anj-button *:active {
  outline: none;
}
:host .anj-button .anj-focus-overlay {
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity 0.2s ease;
}
:host a.anj-button:hover, :host a.anj-button:focus, :host a.anj-button:active {
  text-decoration: none;
}
:host[context=primary] .anj-button, :host[context=secondary] .anj-button, :host[context=text] .anj-button {
  border-radius: 0.25rem;
  height: 2.25rem;
  line-height: 2.25rem;
  padding: 0 1rem;
  text-transform: uppercase;
  white-space: nowrap;
}
:host[context=primary]:not([disabled]) ::slotted(svg) {
  fill: var(--anj-light);
}
:host[context=primary]:not([disabled]) .anj-button {
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.2);
  background-color: var(--anj-highlight);
  color: var(--anj-light);
  transition: box-shadow 0.2s ease;
}
:host[context=primary]:not([disabled]) .anj-button .anj-focus-overlay {
  background-color: var(--anj-highlight-overlay);
}
:host[context=primary]:not([disabled]) .anj-button:hover .anj-focus-overlay, :host[context=primary]:not([disabled]) .anj-button:focus .anj-focus-overlay {
  opacity: 0.16;
}
:host[context=primary]:not([disabled]) .anj-button:focus {
  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}
:host[context=primary]:not([disabled]) .anj-button:active {
  box-shadow: none;
}
:host[context=primary]:not([disabled])[active] .anj-button {
  box-shadow: none;
}
:host[context=primary]:not([disabled])[active] .anj-button .anj-focus-overlay {
  opacity: 0.16;
}
:host[context=primary][disabled] .anj-button {
  box-shadow: none;
  background-color: var(--anj-background);
}
:host[context=secondary]:not([disabled]) ::slotted(svg), :host[context=text]:not([disabled]) ::slotted(svg) {
  fill: var(--anj-highlight);
}
:host[context=secondary]:not([disabled]) .anj-button, :host[context=text]:not([disabled]) .anj-button {
  color: var(--anj-link);
}
:host[context=secondary]:not([disabled]) .anj-button .anj-focus-overlay, :host[context=text]:not([disabled]) .anj-button .anj-focus-overlay {
  background-color: var(--anj-highlight);
}
:host[context=secondary]:not([disabled]) .anj-button:hover .anj-focus-overlay, :host[context=secondary]:not([disabled]) .anj-button:focus .anj-focus-overlay, :host[context=secondary]:not([disabled]) .anj-button.active .anj-focus-overlay, :host[context=text]:not([disabled]) .anj-button:hover .anj-focus-overlay, :host[context=text]:not([disabled]) .anj-button:focus .anj-focus-overlay, :host[context=text]:not([disabled]) .anj-button.active .anj-focus-overlay {
  opacity: 0.24;
}
:host[context=secondary]:not([disabled]) .anj-button anj-ripple-effect, :host[context=text]:not([disabled]) .anj-button anj-ripple-effect {
  background-color: var(--anj-highlight);
}
:host[context=secondary]:not([disabled])[active] .anj-button .anj-focus-overlay, :host[context=text]:not([disabled])[active] .anj-button .anj-focus-overlay {
  opacity: 0.16;
}
:host[context=secondary]:not([disabled]) .anj-button {
  background-color: transparent;
  border: 1px solid var(--anj-highlight);
}
:host[context=secondary][disabled] .anj-button {
  background-color: var(--anj-background);
  border: 1px solid var(--anj-border-dark);
}
:host[context=text] .anj-button {
  background-color: transparent;
}
:host[context=text][disabled][active] .anj-button {
  background-color: var(--anj-background);
}
:host[context=free] ::slotted([slot=icon-only]), :host[context=icon] ::slotted([slot=icon-only]) {
  color: var(--anj-text-medium);
  fill: var(--anj-text-medium);
  margin: 0 auto;
  transition: color 0.2s ease, fill 0.2s ease;
}
:host[context=free] .anj-button, :host[context=icon] .anj-button {
  background-color: transparent;
  border-radius: 50%;
  height: 2.5rem;
  width: 2.5rem;
}
:host[context=free] .anj-button .anj-focus-overlay, :host[context=icon] .anj-button .anj-focus-overlay {
  border-radius: 50%;
}
:host[context=free] anj-ripple-effect, :host[context=icon] anj-ripple-effect {
  background-color: var(--anj-highlight);
}
:host[context=free][active] ::slotted([slot=icon-only]), :host[context=icon][active] ::slotted([slot=icon-only]) {
  color: var(--anj-text);
  fill: var(--anj-text);
}
:host[context=free][active] .anj-button .anj-focus-overlay, :host[context=icon][active] .anj-button .anj-focus-overlay {
  opacity: 0.18;
}
:host[context=free][disabled] ::slotted([slot=icon-only]), :host[context=icon][disabled] ::slotted([slot=icon-only]) {
  color: var(--anj-text-muted);
  fill: var(--anj-text-muted);
}
:host[context=icon]:focus-within ::slotted([slot=icon-only]) {
  color: var(--anj-text-medium);
  fill: var(--anj-text-medium);
}
:host[context=icon]:hover ::slotted([slot=icon-only]), :host[context=icon]:active ::slotted([slot=icon-only]) {
  color: var(--anj-text);
  fill: var(--anj-text);
}
:host[context=icon] .anj-button .anj-focus-overlay {
  background-color: var(--anj-highlight);
}
:host[context=icon] .anj-button:hover .anj-focus-overlay {
  opacity: 0.08;
}
:host[context=icon] .anj-button:focus .anj-focus-overlay {
  opacity: 0.12;
}
:host[context=free]:hover ::slotted([slot=icon-only]), :host[context=free]:focus-within ::slotted([slot=icon-only]) {
  color: var(--anj-text);
  fill: var(--anj-text);
}
:host[context=free]:active ::slotted([slot=icon-only]) {
  color: var(--anj-text-medium);
  fill: var(--anj-text-medium);
}

::slotted([slot=icon-only]) {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

::slotted([slot=start]) {
  margin-left: -0.25rem;
  margin-right: 0.5rem;
}

::slotted([slot=end]) {
  margin-left: 0.5rem;
  margin-right: -0.25rem;
}

:host-context(anj-calendar)[context=icon] {
  height: 36px;
  width: 36px;
}