.fiscal-premise-row {
  grid-template-columns: 54px minmax(240px, 1fr) auto;
  align-items: start;
}

.fiscal-premise-info > strong {
  font-size: 15px;
}

.fiscal-premise-info .premise-address {
  margin-top: 5px;
  color: #4f6175;
  font-size: 9px;
}

.fiscal-device-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.fiscal-device-list span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid #dce6e3;
  border-radius: 999px;
  background: #f5f8f7;
  color: #627185;
  font-size: 9px;
  font-weight: 700;
}

.fiscal-device-list span.active {
  border-color: #c9e9de;
  background: #eaf8f3;
  color: #08775a;
}

.fiscal-premise-row > form,
.fiscal-premise-row .premise-safety {
  grid-column: 2 / -1;
  margin-top: 8px;
}

.premise-safety {
  color: #a86f18;
  font-size: 9px;
  font-weight: 700;
}

.fiscal-device-list form { display: inline-flex; margin: 0 0 0 5px; }
.fiscal-device-list button {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #9a4b55;
  font: 700 13px/1 'DM Sans';
  cursor: pointer;
}
.fiscal-device-list button:hover { background: #ffe8eb; color: #c52e41; }

@media (max-width: 760px) {
  .fiscal-premise-row { grid-template-columns: 46px 1fr; }
  .fiscal-premise-row > .user-state { grid-column: 2; justify-self: start; }
  .fiscal-premise-row > form,
  .fiscal-premise-row .premise-safety { grid-column: 1 / -1; }
}
