#page-smart-montage .montage-poster-button { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: #101116; color: #beb9c7; cursor: pointer; }
#page-smart-montage .montage-poster-button img { width: 100%; height: 100%; object-fit: cover; }
#page-smart-montage .montage-poster-button img[hidden] { display: none; }
#page-smart-montage .montage-poster-button .montage-poster-label { position: absolute; inset: auto 0 0; padding: 18px 4px 8px; background: linear-gradient(transparent, #000b); color: #fff; font-size: 11px; text-align: center; }
#page-smart-montage .montage-poster-button.has-poster > svg { display: none; }
#page-smart-montage .montage-poster-button:focus-visible { outline: 2px solid #c1a3dc; outline-offset: -3px; }
#page-smart-montage .montage-job-actions { align-items: center; gap: 8px; }
#page-smart-montage .montage-job-actions .montage-action-icon {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  flex: 0 0 36px;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid #393731;
  /* Override the app-wide button radius only for these circular controls. */
  border-radius: 50% !important;
  background: #111214;
  color: #dad6ce;
  box-shadow: none;
  line-height: 0;
  text-decoration: none;
}
#page-smart-montage .montage-action-icon svg {
  display: block;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  color: inherit;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: none;
}
#page-smart-montage :is(button, a).montage-action-icon {
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
#page-smart-montage :is(button, a).montage-action-icon:hover {
  background: #1c1b17;
  border-color: #b79a51;
  color: #e7c56b;
}
#page-smart-montage :is(button, a).montage-action-icon:focus-visible {
  outline: 2px solid #e7c56b;
  outline-offset: 3px;
}
#page-smart-montage :is(button, a).montage-action-icon:active { background: #252219; }
#page-smart-montage [data-montage-delete].montage-action-icon:hover,
#page-smart-montage .montage-job-actions .montage-status-icon.is-failed {
  border-color: #985b50;
  color: #e2a092;
}
@media (pointer: coarse) {
  #page-smart-montage .montage-job-actions .montage-action-icon {
    flex-basis: 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #page-smart-montage :is(button, a).montage-action-icon { transition: none; }
}

#page-smart-montage #montage-kind-control .montage-recommended-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 2px 6px;
  border: 1px solid #695326;
  border-radius: 5px;
  background: #292215;
  color: #efd17f;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
#page-smart-montage #montage-kind-control button.active .montage-recommended-badge {
  border-color: #705719;
  background: #302713;
  color: #ffe4a0;
}
